|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: multiple encoding specs (Re: IE5.0 does not conform to RFC2376)
Gavin Thomas Nicol wrote: > > > >An alternative method for achieving the same result is to use a filter > > >(this can be done in Apache and in Jigsaw) which automatically emits the > > >correct charset parameter based on reading the encoding declaration in > > >the XML instance. > > > > I think this is the approach that, ultimately, we all are > > hoping will be deployed. > > I'm not keen on this approach, but it would be a step in the right > direction. I have some servlets for doing this, and for also handling > the *.mim type. Can you post some URIs? Are you willing to share them? I would trust your servlets to be doing the right thing. > I still dislike the encoding information in the PI.... (it isn't, in theory, a PI although it looks exactly like one) I am of quite the opposite point of view - I think that it finally gives authors the ability to correctly label their documents. Furthermore, instead of the rather weak HTML equivalent, it is normative. Great. > as you noted > there are 3 levels at which mistakes can be made, The same is true of any label. The encoding declaration in the XML declaration at least always travels with the document, which is always handy for ensuring metadata doesn't get lost. > and the PI means > that you might have to "fix" the document in the face of transcoding. But if you are transcoding, you have to fix it anyway - so? Similarly if you were to do any other manipulation of the document that altered some declaration, such as collecting often-used strings and replacing them with external entity references - you would have to change the standalone pseudo-attribute if it said "yes", to "no". -- Chris xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|
|||||||||

Cart








