I'm using it wrong.  The XML wouldn't open in Babelpad.  Once I edited
the XML with Babelpad, XMLBeans was able to parse it fine.  Sorry for
the false alarm.

mike

On 5/29/07, Mike Perham <[EMAIL PROTECTED]> wrote:
We are using XMLBeans 2.1.0 and find that XML with Unicode surrogate
pairs fails to parse.  So I pulled in 2.2.0 instead and find the same
behavior.  Is this an XMLBeans issue or am I using it wrong?

org.apache.xmlbeans.impl.piccolo.io.IllegalCharException: Illegal XML
character: 0xd840
        at 
org.apache.xmlbeans.impl.piccolo.xml.UTF8XMLDecoder.decode(UTF8XMLDecoder.java:168)
        at 
org.apache.xmlbeans.impl.piccolo.xml.XMLStreamReader$FastStreamDecoder.read(XMLStreamRead
er.java:762)
        at 
org.apache.xmlbeans.impl.piccolo.xml.XMLStreamReader.read(XMLStreamReader.java:162)
        at 
org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yy_refill(PiccoloLexer.java:3474)
        at 
org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yylex(PiccoloLexer.java:3958)
        at 
org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yyparse(Piccolo.java:1400)
        at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:714)
        at 
org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3435)
        at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1270)
        at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)
        at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)

mike


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

Reply via email to