[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)

  • From: Chris Lilley <chris@w...>
  • To: Gavin Thomas Nicol <gtn@e...>
  • Date: Sat, 10 Apr 1999 20:57:57 +0200

servlets ie5.0


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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.