parser for xml-data?
rbourret at dvs1.informatik.tu-darmstadt.de
Fri May 22 16:14:21 BST 1998
Paul Prescod wrote:
> Charles Frankston wrote:
> > The ns, prefix, and src parameters to a namespace PI look a lot like
> > attributes (although they are not in a formal sense). Since attributes in
> > XML do not have to be in a particular order, it would certainly be
> > surprising for people to discover that attributes in a namespace have to be
> > a particular order. You're suggesting that the syntax be made harder to use
> > in order to make the productions easier to author. I think this is a bad
> > tradeoff.
> Note that the XML declaration has a required order of pseudo-attribute
> occurrence. It would be best if the XML-family of language were
>  XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'
Chris has a point, but my intention was to make the production easier to read
(benefits the user), not write (benefits the writer). I've been wading through
a lot of specs recently and I tend to appreciate anything that simplifies them.
Maybe I'll change my tune when I'm further along the learning curve, but right
now, the added flexibility on an instruction I won't use much (even if all my
XML documents use namespaces) isn't worth the added complexity.
-- Ron Bourret
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;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev