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

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


At 18:13 1999 03 03 +0100, Stefan Mintert wrote:
>
 > 
 > http://www.w3.org/XML/1998/06/xmlspec-report-19980910.htm
 > 
>
> > > 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:

DTD:
  http://www.w3.org/XML/1998/06/xmlspec-19990205.dtd
Documentation:
  http://www.w3.org/XML/1998/06/xmlspec-report-19990205.htm

paul
    


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




More information about the Xml-dev mailing list