Lists Home |
Date Index |
> -----Original Message-----
> From: Michael Kay [mailto:firstname.lastname@example.org]
> Sent: Monday, April 11, 2005 04:34
> To: 'Alessandro Triglia'
> Cc: email@example.com
> Subject: RE: [xml-dev] Re: Non-infoset
> > The reason I am referring to the writer is because a reader,
> > in some cases, cannot make any assumptions on the
> > significance of the non-infoset features of a given document,
> > and therefore it has to treat everything as significant.
> That seems very odd. You're saying the reader has to treat
> the order of
> attributes as significant just because it might be?
Some (intermediate) readers of an XML document must keep the integrity of the byte stream, even though the byte stream contains details beyond the intended information content of the document.
For example, in certain cases, the only transformation possible in a relay step is GZIP.
The writer makes choices, but a reader cannot always tell which of those choices (if any) convey some semantics in the intentions of the writer and which do not. In other words, an XML document may contain more information than the writer considers significant, but a given reader may not be able to separate the non-significant part from the significant part.
> Michael Kay