Parser differences

Rick Jelliffe ricko at allette.com.au
Mon Jun 8 10:05:06 BST 1998


> From:   John E. Simpson

> I've been struck by some notable differences among parsers. They
> all pretty
> much do "core XML" the same way (or at least to the same effect), but
> differ in the ways they handle (even accept/reject) some of the fringe
> portions of the spec, such as notations. These differences will probably
> blur over time; still....

It would be really great if someone can make up a list of these kind of
differences. Then OASIS/XML WG/XML-DEV etc can try to work out a consensus.

In my experience, newcomers have a great resistance to the central
XML/SGML/MIME idea: that the identification of the notation ("type" in MIME
terms") is just as important as having an element structure.

The same this is actually also true of PIs and entities. People coming from
HTML or PDF tend to reject them due to unfamilitiarity. I think this
attribute can be seen in the XSchema development. When something is slackly
defined, it works against portability and openness. And since people will
need the functionality, they will try to reinvent it using their own
mechanism.

In fact, treating notation attributes properly is the key to strong lexical
typing of element values: so the database people should be screaming for
this, if they have sense. Tim Bray has made an excellent list of data
content notations used by database products (dates, etc). And Martin Bryan
has made a list of all the data content notations used in ISO standards (ISO
8601 date, ISO "C", lots of graphics notations) which are perhaps more
appropriate for external non-XML entities.


Rick Jelliffe

==========================================================
The XML & SGML Cookbook, by Rick Jelliffe
Charles F. Goldfarb Series on Open Information Management
656 pages + CD-ROM, Prentice Hall 1998, ISBN 0-13-614223-0
http://www.sil.org/sgml/jelliffeXMLAnn.html
http://www.phptr.com/  > Book Search > "Jelliffe"
http://www.amazon.com/exec/obidos/ASIN/0136142230/002-4102466-3352420


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