rec.xml

Peter Murray-Rust peter at ursus.demon.co.uk
Fri Feb 20 10:28:49 GMT 1998


Here is something bit me unexpectedly, and I'd be interested in comments on
it. I *think* I know the answer. I'll leave it to you to think about before
you rush for your parsers to check.

Using SAX (alone) to parse the XML version of the XML recommendation
(rec.xml), is it  possible to create a well-formed version? The first time
I tried this the result surprised me.

	P.

BTW there may be problems parsing rec.xml as the official version contains
a (single) character #160 ( ). This has actually been 'commented out'
but parsers such as AElfred don't accept it and throw an error. DavidM
assures me that this is the correct thing to do - I take this on trust. So,
if you wish to use AElfred on this you'll have to find the #160 (it appears
as a aacute; on my editor - yours may vary and even show a 'space'). This
has nothing to do with the little amusement above...

BTW I have asked if there is a file spec.dtd, and no doubt this will be
announced here if/when.


Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

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