This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: Recursive Reference in XML DTD ??
- To: docbook-apps at lists dot oasis-open dot org
- Subject: RE: DOCBOOK-APPS: Recursive Reference in XML DTD ??
- From: Stuart Farnan <stuart at neoworks dot com>
- Date: Tue, 26 Sep 2000 17:04:05 +0100
I have written some more extensive code to get a little bit more info on the
error, and it now tells me the following:
Line: 66
URI: file:///usr/local/share/xml/docbook/4.1.2/docbookx.dtd
Message: Recursive reference "%dbnotn;". (Reference path:
(top-level)-%dbhier;-%dbnotn;-%dbnotn;)
I cannot see it defined anywhere else. If this is a new comment, then I
imagine the bug is in the Xerces parser (or surely everyone with a
validating parser would be noticing this!?), if anyone has any clues please
let me know.
Thanks again,
Stuart
-----Original Message-----
From: Juan R. Migoya [mailto:jmigoya@ingeteam.es]
Sent: 26 September 2000 16:12
To: Stuart Farnan
Cc: docbook-apps@lists.oasis-open.org
Subject: Re: DOCBOOK-APPS: Recursive Reference in XML DTD ??
I'm not sure but you should check the dbhier module: does it
redefine dbnotn?
I have'n the files, sorry.
Regards,
Juan R. Migoya
Stuart Farnan wrote:
>
> Hi,
>
> I am having a problem which I describe in detail below, after seeing the
> traffic over the last day or so I guess this question is more appropriate
on
> this mailing list than on the xerces-j list. Any help anyone could give
me
> would be greatly appreciated.
>
> I am using:
>
> JDK for Linux (build 1.3.0beta_refresh-b09)
> xerces-j v1.2.0
>
> The XML file that is causing problems is listed below. It references the
> public DocBook DTD, which I have not listed here, but is accessible in the
> location shown below. The java code I am running is shown below also.
>
> The class shown compiles fine. I run it with the command:
>
> $ java SAXWriter ../xml/simplefruitbowl.xml
>
> The out put I get is as follows:
>
> $ java SAXWriter ../xml/simplefruitbowl.xml
> Parsing file: ../xml/simplefruitbowl.xml ...
> Parse error: Recursive reference "%dbnotn;". (Reference path:
> (top-level)-%dbhier;-%dbnotn;-%dbnotn;)
> Done
>
> I took a look at the DTD, and the files it includes, and I cant work out
why
> it thinks there is a recursive reference? Is this a bug with the parser?
> Or am I using it incorrectly?
>
> Thanks in advance.
>
>[snip]
>
************************************************************************
Juan R. Migoya
Ingelectric-Team, S.A.
Area de Aparatos y Equipos
Tel. 94 403 98 30
Fax. 94 403 96 80