At 17.33 14/02/2002 -0800, you wrote:
>Hello
>   Is there a way I can specify the  encoding for the xerces pareser. What
>happens if the
>XML document being parsed does not contain the starting <?xml version ... >
>tag which normally specifies the
>encoding ?

In this case Xerces will try to guess the encoding following the algorithm 
at http://www.w3.org/TR/REC-xml#sec-guessing
If you know what the encoding is, you can use InputSource::setEncoding to 
force it.

Alberto

-------------------------------
Alberto Massari
eXcelon Corp.
http://www.StylusStudio.com


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

Reply via email to