[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question abot DTDDECL and SGMLDECL



On Apr 19, Daniel Leidert (daniel.leidert.spam@gmx.net) wrote:
 > Am Mittwoch, den 18.04.2007, 21:37 -0400 schrieb Neil Roeth:
 > > On Apr 18, Daniel Leidert (daniel.leidert.spam@gmx.net) wrote:
 > >  > Hi,
 > >  > 
 > >  > I hope, a few people are still reading this list :) My question: What
 > >  > goes wrong? The docbook-xml SGML catalogs contain a DTDDECL entry
 > >  > 
 > >  > DTDDECL "-//OASIS//DTD DocBook XML V4.5//EN"
 > >  >         "/usr/share/xml/declaration/xml.dcl"
 > >  > 
 > >  > If I do a
 > >  > 
 > >  > onsgmls -E1 -wxml -wall -gues test-4.5.xml
 > >  > 
 > >  > with a simple DB 4.5 XML file, it fails. If I add a SGMLDECL entry:
 > >  > 
 > >  > SGMLDECL "/usr/share/xml/declaration/xml.dcl"
 > >  > 
 > >  > it succeeds. Why does it fail in the first case? The PUBIDs are the same
 > >  > in the DTDDECL and the testfile DOCTYPE. If there is some documentation
 > >  > out there, that can explain my question, please don't hesitate to point
 > >  > me to it.
 > >  > 
 > >  > Regards, Daniel
 > > 
 > > Simply because the debian version was built with the config option
 > > --disable-dtddecl.  That was done for performance reasons, enabling DTDDECLs
 > > makes opensp and openjade take literally ten to twenty times as long as with
 > > it turned off.  See bugs 138924 and 208042.
 > 
 > Thanks for the info. Would it make sense to mention this somewhere in
 > the onsgmls man-page? Under BUGS or in a section LIMITATIONS (following
 > the man-page how to)? This could also be a reasonable solution for
 > http://bugs.debian.org/345478.
 > 
 > Regards, Daniel

Yes, it would. Thanks for the suggestion.

-- 
Neil Roeth



Reply to: