[
Lists Home |
Date Index |
Thread Index
]
Michael Kay wrote:
> Of course it doesn't. The biggest single failing in the XML spec, sadly
> unremedied in subsequent versions, is that it doesn't define the information
> content of an XML document. Without that "lossless" cannot be defined, and
> it can't be defined, then it can't be achieved.
Certainly it could be achieved. You could define a 1-1 mapping from the
binary format to the actual bytes or characters of an XML document. This
would preserve a lot of things most people don't care about like
attribute order, numeric character references, and white space in the
prolog, but it would preserve everything that anyone cares about.
--
Elliotte Rusty Harold elharo@metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
|