Re: Bug#65862: sp: nsgmls gives warning message for *any* XML document
On Sun, Feb 04, 2001 at 04:56:37PM -0500, Adam Di Carlo wrote:
> > > Annoying. I wonder -- I think it may be a bug in the xml.dcl file.
> > > Have you tried it with opensp ?
> >
> > No, I haven't.
>
> Same results.
>
> Under these conditions you will get the error:
>
> > nsgmls -wxml -wall -gues /usr/lib/sgml/declaration/xml.dcl qaml-faq.xml
> nsgmls:/usr/lib/sgml/declaration/xml.dcl:1:W: SGML declaration was not implied
> > onsgmls -wxml -wall -gues /usr/lib/sgml/declaration/xml.dcl qaml-faq.xml
> onsgmls:/usr/lib/sgml/declaration/xml.dcl:1:W: SGML declaration was not implied
>
> This is actually legitimate. Not using an implicit declaration is
> actually an error in XML! Go figure.
Yeesh.
> You have two alternatives:
>
> 1) Run nsgmls or onsgmls without -wxml
>
> > nsgmls -wall -gues /usr/lib/sgml/declaration/xml.dcl qaml-faq.xml
> > onsgmls -wall -gues /usr/lib/sgml/declaration/xml.dcl qaml-faq.xml
Ah. Pretend it's SGML.
> 2) Run onsgmls given a DTD that has the proper DTDDECL defined in the
> SGML catalog:
>
> > onsgmls -wxml -wall -gues qaml-faq.xml
OK. opensp wasn't in potato, if I recall.
> Sorry. That's the way the standard works. This is not an OpenSP or
> SP bug.
I was trying to follow the instructions in the potato version.
Following the instructions in the woody version is much more
successful, so I'm gonna close this bug report.
> I think it's kinda dodgy that psgml mode doesn't do the right thing,
> however. On the validation step, I think, psgml should probably just
> not use -wxml (-wall is ok though). Someone wanna file a psgml bug on
> that?
Do you want to? Otherwise I will.
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see http://people.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/
Reply to: