Hi David,

The encoding you want is "UTF-16".

Hope that helps,
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone:  416-448-3519, T/L 778-3519
E-mail:  [EMAIL PROTECTED]



David Sedlock - STEP <[EMAIL PROTECTED]>@e31.esmtp.ibm.com on 07/20/2001 01:52:14
AM

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:
Subject:  Re: xml4j_1_1_14 -> xerces-1_4_1


[EMAIL PROTECTED] wrote:
>
> Hi David,
>
> > It doesn't support it in the simple sense that if I specify UTF-16 as
> >the encoding, the parser throws an exception:
>
> > SLDBGenComp/SAXParser exception:
> >src/de/step/SLMADB/SLDBGenComp/xml/def0000.xml:-28: The encoding
> >"UTF-16" is not supported.
>
> Well it supports UTF-16 on my machine.  :-)  Do you want to send the
> relevant xml file?  Are you sure you've got the right version of xerces
on
> your classpath?

Yes please. I am sure about the classpath. What encoding should I
specify in the DTD for UTF-16?

> > Maybe I have to upgrade to non-deprecated classes. This actually looks
> >pretty complicated. Is there a document with hints about how to do
> >this?
>
> The documentation in the HandlerBase file that lives inside the
org.xml.sax
> package in the Xerces source distribution states that this class has been
> replaced by the org.xml.sax.helpers.DefaultHandler interface.  Which docs
> were confusing you?  At any rate, my advice would be to stick to SAX2
> interfaces.

I'll try to do this.

Thanks,
David

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to