Lists Home |
Date Index |
- From: Chris Lilley <firstname.lastname@example.org>
- To: email@example.com
- Date: Mon, 19 Apr 1999 21:32:05 +0200
Gavin Thomas Nicol wrote:
> > But if you are transcoding, you have to fix it anyway - so?
> Right, but
> a) You have to fix it by parsing a peice of arbitrary syntax, which
> proxies etc. will most likely not do, for performance reasons.
Now in a different message you were saying that cacheing the results of
parsing the encoding declaration was not worth it because the effore
required to re-parse it each time was minimal. So I donm't see how you
can now have it be a performance hit.
> b) The XML declaration is part of the *document* as specified by
> the XML 1.0 recommendation, changing the XML declaration changes
> the *document*, which is a Bad Thing(tm).
Well in theory yes, but in practice the advantages seem to me to
outweigh the disadvantages.
If someone cares enough about an XML document that they think a changed
encoding declaration has destroyed its value (eg, a digitally signed
transaction encoded in XML) then they don't want any dumb - or even
smart - proxies merrily changing from UTF-8 to 8859-2 or whatever
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/ and on CD-ROM/ISBN 981-02-3594-1
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)