parsing spec.dtd & XML spec with nsgmls Re: W3C spec.dtd

Paul Grosso pgrosso at
Wed Mar 3 18:30:15 GMT 1999

At 18:13 1999 03 03 +0100, Stefan Mintert wrote:
> > > Now I try to parse the XML spec (REC-xml-19980210.xml) and the spec.dtd
> > > (copied from the above URL) with nsgmls.
> > 
> > As the documentation for XMLspec warns, the current version of the
> > DTD is *not* the one used with the XML Recommendation, which used
> > a much older version.  So don't do that.
>ooops, sorry; but that doesn't explain the parsing errors concerning the DTD:
>spec.dtd:60:17:W: named character reference
>spec.dtd:60:19:E: "X2014" is not a function name

1.  nsgmls is not an XML parser.  those errors are probably because it's
    not recognizing — (the hex version) as a numeric character
    reference.  You might try converting X2014 to a decimal number
    and seeing what happens.  Or, use an XML parser.

2.  The URL quoted above is old.  The latest are:



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list