"Nathan Beyer" <[EMAIL PROTECTED]> wrote on 02/03/2006 07:05:44 PM:
> Are you actually changing the encoding of the document, or just changing the > value of the encoding attribute? If the document is ISO-8859-1 encoded and > has characters outside of the US-ASCII range, then you'd actually have to > convert the entire document encoding, not just changed the attribute value. > > Does this happen with every XML document that you do this to, even a really > simple one? > > One way to determine the version of Xerces is to open up the JAR and look at > the manifest.mf. I believe there's a class you can execute to get the info > too, but I'm not familiar with it, at least not off the top of my head. The class is org.apache.xerces.impl.Version [1]. If you run it, it will report which version of Xerces you're using. > -Nathan [1] http://xerces.apache.org/xerces2-j/faq-general.html#faq-1 Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
