[XML-DEV Mailing List Archive Home]
[Reply To This Message]
Re: Attribute Order
In a message dated 07/12/01 21:06:09 GMT Standard Time, Mike.Champion@S... writes:
> If there are attribute sequence *requirements* then I don't think the
document is XML,
> although it may be similar in all other respects. By definition, in XML,
> is not important.
That's a bit strong ... the data is XML if it's syntactically well-formed.
The problem is simply that application is not going to interoperate cleanly
with other XML applications if it takes advantage of syntactic structures
that aren't guaranteed to be preserved by an XML parser or the InfoSet. In
other words, the application is fragile, but it's not illegal. You're not
breaking the rules of XML by treating attribute order as significant, you're
just relying on the behavior of some tool rather than the behavior specified
in the XML contract.
I was right and I was wrong. :)
If attribute order is specified it may be "XML" if it is Canonical XML.
We agree, I think, that the practical implication is that attribute ordering other than in the very specific setting of Canonical XML is inadvisable.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please