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