[
Lists Home |
Date Index |
Thread Index
]
> -----Original Message-----
> From: David Brownell [mailto:david-b@pacbell.net]
> Sent: Friday, December 07, 2001 4:23 PM
> To: Champion, Mike; xml-dev@lists.xml.org
> Subject: Re: [xml-dev] Attribute Order
>
> And instead, they're writing a parser for this strange
> dialect of XML? Why not use "real XML" rather than
> such an application-specific dialect?
>
> Or are they instead writing code to depend on a
> behavior of some particular XML parser that's
> likely not to be shared by other parsers?
Right, it's a bad idea; I'm just making the pedantic point that the data
used by the application is real, conformant XML. The XML spec only talks
about data, not what applications do with it.
Or rather the XML spec defines a contact that a processor promises an
application to adhere to. If the application goes beyond what is promised in
the contract and exploits features that the processor gives away "for free"
(e.g., guaranteeing some particular attribute order) that's perfectly
"legal" ... although dangerous, and the application designer is probably
being short-sighted, and setting him/herself up for being locked in to some
XML implementation.
|