You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Someshwar Toleti <st...@gmail.com> on 2006/06/07 03:20:55 UTC
error: Unexpected character encountered (lex state 4): 'a'
Hi,
I am trying to parse the xml doc using the XMLBeans. It gives the
folling error trace. Anybody can help me in this. Thanks in advance.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
TRACK TRACE
------------
com.bea.xml.XmlException: d:\processing\20030AB__004294AMD.caml:121: error:
Unexpected character encountered (lex state 4): 'a'
at com.bea.xbean.store.Root$SaxLoader.load(Root.java:776)
at com.bea.xbean.store.Root.loadXml(Root.java:1050)
at com.bea.xbean.store.Root.loadXml(Root.java:1036)
at com.bea.xbean.schema.SchemaTypeLoaderBase.parse
(SchemaTypeLoaderBase.java:322)
at com.bea.xbean.schema.SchemaTypeLoaderBase.parse
(SchemaTypeLoaderBase.java:233)
at
gov.ca.lc.legalservices.schemas.caml.MeasureDocDocument$Factory.parse(Unknown
Source)
at PostmortemXml.<init>(PostmortemXml.java:81)
at XMLOperations.<init>(XMLOperations.java:15)
at Helper.<init>(Helper.java:16)
at startProgram.ProcessFiles(startProgram.java:85)
at startProgram.RecursiveThroughDirs(startProgram.java:43)
at startProgram.main(startProgram.java:23)
Caused by: org.xml.sax.SAXParseException: Unexpected character encountered
(lex state 4): 'a'
at com.bluecast.xml.Piccolo.reportFatalError(Piccolo.java:1003)
at com.bluecast.xml.Piccolo.parse(Piccolo.java:705)
at com.bea.xbean.store.Root$SaxLoader.load(Root.java:749)
... 11 more
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
Re: error: Unexpected character encountered (lex state 4): 'a'
Posted by enu <en...@gmail.com>.
Someshwar Toleti <st...@...> writes:
>
> Hi,
> I am trying to parse the xml doc using the XMLBeans. It gives the
> folling error trace. Anybody can help me in this. Thanks in advance.
>
>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> TRACK TRACE
> ------------
>
> com.bea.xml.XmlException: d:\processing\20030AB__004294AMD.caml:121: error:
> Unexpected character encountered (lex state 4): 'a'
>
Hi
Even I am getting same error but i get error: Unexpected character encountered
(lex state 3) when i try to send data containing & sign and (lex state 9) if
it has < sign. if i send data with &(html form of & sign), it works fine.
Can you pls help em in resolving this error?
Regards
Enu
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org