Lists Home |
Date Index |
- From: firstname.lastname@example.org (Ron Bourret)
- To: email@example.com
- Date: Fri, 22 May 1998 11:05:41 +0200
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:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)