Help!

Question abot DTDDECL and SGMLDECL

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> SGML RSS
Next:  Joining the Python Packaging Team  
Author Message
Daniel Leidert
External


Since: Feb 12, 2005
Posts: 279



PostPosted: Thu Apr 19, 2007 1:52 am    Post subject: Question abot DTDDECL and SGMLDECL
Archived from groups: linux>debian>maint>sgml (more info?)

Hi,

I hope, a few people are still reading this list Smile 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


--
To UNSUBSCRIBE, email to debian-sgml-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Neil Roeth
External


Since: Nov 11, 2004
Posts: 47



PostPosted: Thu Apr 19, 2007 4:00 am    Post subject: Question abot DTDDECL and SGMLDECL [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Apr 18, Daniel Leidert (daniel.leidert.spam@gmx.net) wrote:
> Hi,
>
> I hope, a few people are still reading this list Smile 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.

--
Neil Roeth


--
To UNSUBSCRIBE, email to debian-sgml-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Daniel Leidert
External


Since: Feb 12, 2005
Posts: 279



PostPosted: Thu Apr 19, 2007 12:50 pm    Post subject: Re: Question abot DTDDECL and SGMLDECL [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 Smile 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


--
To UNSUBSCRIBE, email to debian-sgml-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Neil Roeth
External


Since: Nov 11, 2004
Posts: 47



PostPosted: Fri Apr 20, 2007 2:30 pm    Post subject: Re: Question abot DTDDECL and SGMLDECL [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 Smile 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


--
To UNSUBSCRIBE, email to debian-sgml-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> SGML All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum