← Prev in month ← Prev in thread
Next in thread → Next in month →

RE: [docbook] Customized Simplified DocBook 1.1: DTD parser error: XMLconditional section not closed

From
Daniel Leidert <>
Date
2007-04-25T19:27:38+00:00
ID
1177529243.7414.37.camel@localhost
Thread
RE: [docbook] Customized Simplified DocBook 1.1: DTD parser error: XMLconditional section not closed
Am Mittwoch, den 25.04.2007, 20:44 +0200 schrieb Mauritz Jeanson:
> > -----Original Message-----
> > From: Bob Stayton 
> > 
> > Perhaps this is version related?  I don't get the error with 
> > xmllint in
> > 2.6.27 (20627CVS2877).
> 
> 
> I use the same version of xmllint. It turns out that I had a catalog entry
> which mapped the public id for DocBook 4.3 (which is referenced in
> sdocbook-custom.dtd) to the system id of DocBook 4.4. After having fixed
> that, the error disappeared.
> 
> But then again, shouldn't it work anyway? What could it be in the DocBook
> 4.4 DTD that makes xmllint choke in this case?

Nice work. Yes, that seems to be the problem. I was able to track it
down to some changes in the DTD. As you know, we (Debian) patch(ed) the
DTD to fix some bugs, which were also fixed in the official DB XML 4.4
release. That's probably the reason, why you see the error too and why
onsgmls does not complain. When I replace the patched version with the
original one, the error disappears. Attached are the important
differences, that were also applied to DTD in 4.4. So these changes seem
to be the reason for the error.

Regards, Daniel
← Prev in month ← Prev in thread
Next in thread → Next in month →