[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: RE: XMLBeans error!!!
From: "Radu Preotiuc-Pietro" <radu.preotiuc-pietro () oracle ! com>
Date: 2008-08-13 19:07:43
Message-ID: 20080813120743343.00000003700 () RADUP02
[Download RAW message or body]
Reaz,
=
This error simply means that the XML document you're receiving is not well-=
formed (the & character needs to be escaped as &). Nothing to do except=
fix the document.
=
Radu
________________________________
From: Ahmed, Reaz [mailto:Reaz.Ahmed@tdsecurities.com] =
Sent: Wednesday, August 13, 2008 8:17 AM
To: 'dev@xmlbeans.apache.org'
Subject: RE: XMLBeans error!!!
=
=
Guys, =
=
Please help me with the following error, I am having this issue in product=
ion. =
=
If the xml messages has some "&" on the message, while using XMLBeans you=
get the following error:
=
org.apache.xmlbeans.XmlException: error: Unexpected character encountered =
(lex state 3): ' '
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.jav=
a:3486)
at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:712)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.j=
ava:696)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.j=
ava:683)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(Sche=
maTypeLoaderBase.java:208)
at noNamespace.STPMessagesDocument$Factory.parse(STPMessagesDocume=
nt.java:119)
at com.tdsecurities.fxfunding.app.ttdealer.TtOrderReconManager.col=
lectStpMessages(TtOrderReconManager.java:261)
at com.tdsecurities.fxfunding.app.ttdealer.TtOrderReconManager.run=
(TtOrderReconManager.java:99)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.xml.sax.SAXParseException: Unexpected character encountered=
(lex state 3): ' '
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(P=
iccolo.java:1038)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java=
:723)
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.jav=
a:3454) =
=
=
According to the apache website this problem is solved, but I can't figu=
re out what the solution was, could you please help. I have a production is=
sue on this.
=
Many Thanks.
=
Reaz. =
TD-Securties
+1 416-983-0166
reaz.ahmed@tdsecurities.com
=
********************
NOTICE OF CONFIDENTIALITY
This communication including any information transmitted with it is =
intended only for the use of the addressees and is confidential. =
If you are not an intended recipient or responsible for delivering =
the message to an intended recipient, any review, disclosure, =
conversion to hard copy, dissemination, reproduction or other use =
of any part of this communication is strictly prohibited, as is the =
taking or omitting of any action in reliance upon this communication. =
If you receive this communication in error or without authorization =
please notify us immediately by return e-mail or otherwise and =
permanently delete the entire communication from any computer, =
disk drive, or other storage medium.
=
If the above disclaimer is not properly readable, it can be found at =
www.td.com/legal
=
AVERTISSEMENT DE CONFIDENTIALITE =
Ce courriel, ainsi que tout renseignement ci-inclus, destin=E9 uniquement =
=
aux destinataires susmentionn=E9s, est confidentiel. Si vous =
n'=EAtes pas le destinataire pr=E9vu ou un agent responsable de la =
livraison de ce courriel, tout examen, divulgation, copie, impression, =
reproduction, distribution, ou autre utilisation d'une partie de ce =
courriel est strictement interdit de m=EAme que toute intervention ou =
abstraction =E0 cet =E9gard. Si vous avez re=E7u ce message par erreur ou=
=
sans autorisation, veuillez en aviser imm=E9diatement l'exp=E9diteur par =
retour de courriel ou par un autre moyen et supprimer imm=E9diatement =
cette communication enti=E8re de tout syst=E8me =E9lectronique.
=
Si l'avis de non-responsabilit=E9 ci-dessus n'est pas lisible, vous =
pouvez le consulter =E0 www.td.com/francais/legale
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=140110519-13082008><FONT face=Arial
color=#0000ff size=2>Reaz,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=140110519-13082008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=140110519-13082008><FONT face=Arial
color=#0000ff size=2>This error simply means that the XML document you're
receiving is not well-formed (the & character needs to be escaped as
&amp;). Nothing to do except fix the document.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=140110519-13082008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=140110519-13082008><FONT face=Arial
color=#0000ff size=2>Radu</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; \
MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ahmed, Reaz
[mailto:Reaz.Ahmed@tdsecurities.com] <BR><B>Sent:</B> Wednesday, August 13,
2008 8:17 AM<BR><B>To:</B> 'dev@xmlbeans.apache.org'<BR><B>Subject:</B> RE:
XMLBeans error!!!<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=069495214-13082008>Guys, </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=069495214-13082008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=069495214-13082008>Please help me with the following error, I am having
this issue in production. </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=+0><SPAN
class=069495214-13082008></SPAN></FONT><SPAN class=221524814-13082008><FONT
face=Arial><FONT color=#0000ff size=2><SPAN
class=069495214-13082008></SPAN></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=221524814-13082008><FONT size=+0><FONT
face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=069495214-13082008> I</SPAN>f the xml messages has some "&" on
the message, while using XMLBeans you get the
following error:</FONT></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=221524814-13082008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=221524814-13082008><FONT face=Arial><FONT size=2><FONT
color=#ff0000>org.apache.xmlbeans.XmlException: error: Unexpected character
encountered (lex state 3): ' '<BR>
at
org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3486)<BR> \
at
org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:712)<BR> \
at
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:696)<BR> \
at
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:683)<BR> \
at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:208)<BR> \
at
noNamespace.STPMessagesDocument$Factory.parse(STPMessagesDocument.java:119)<BR> \
at
com.tdsecurities.fxfunding.app.ttdealer.TtOrderReconManager.collectStpMessages(TtOrderReconManager.java:261)<BR> \
at
com.tdsecurities.fxfunding.app.ttdealer.TtOrderReconManager.run(TtOrderReconManager.java:99)<BR> \
at java.lang.Thread.run(Thread.java:595)<BR>Caused by:
org.xml.sax.SAXParseException: Unexpected character encountered (lex state 3):
' '<BR> at
org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038)<BR> \
at
org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:723)<BR> \
at
org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3454)</FONT><FONT
color=#0000ff><SPAN
class=069495214-13082008> </SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=221524814-13082008><FONT face=Arial><FONT size=2><FONT
color=#0000ff><SPAN
class=069495214-13082008></SPAN></FONT><BR> </DIV></FONT></FONT></SPAN>
<DIV><SPAN class=221524814-13082008><FONT face=Arial color=#0000ff
size=2>According to the apache website <SPAN
class=069495214-13082008> this problem is solved, but </SPAN>I
can't figure out what the solution was, could you please help. I have a
production issue on this.</FONT></SPAN></DIV>
<DIV><SPAN class=221524814-13082008><BR><FONT face=Arial><FONT size=2><FONT
color=#0000ff><SPAN class=069495214-13082008> Many
</SPAN>Thanks.</FONT></FONT></FONT></SPAN></DIV><SPAN
class=221524814-13082008>
<DIV><BR><FONT face=Arial><FONT color=#0000ff><FONT size=2>Reaz.<SPAN
class=069495214-13082008> </SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=069495214-13082008>TD-Securties</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=069495214-13082008>+1 416-983-0166</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=069495214-13082008><A
href="mailto:reaz.ahmed@tdsecurities.com">reaz.ahmed@tdsecurities.com</A></SPAN></FONT></FONT></FONT></DIV></SPAN><PRE>
********************
NOTICE OF CONFIDENTIALITY
This communication including any information transmitted with it is
intended only for the use of the addressees and is confidential.
If you are not an intended recipient or responsible for delivering
the message to an intended recipient, any review, disclosure,
conversion to hard copy, dissemination, reproduction or other use
of any part of this communication is strictly prohibited, as is the
taking or omitting of any action in reliance upon this communication.
If you receive this communication in error or without authorization
please notify us immediately by return e-mail or otherwise and
permanently delete the entire communication from any computer,
disk drive, or other storage medium.
If the above disclaimer is not properly readable, it can be found at
www.td.com/legal
AVERTISSEMENT DE CONFIDENTIALITE
Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement
aux destinataires susmentionnés, est confidentiel. Si vous
n'êtes pas le destinataire prévu ou un agent responsable de la
livraison de ce courriel, tout examen, divulgation, copie, impression,
reproduction, distribution, ou autre utilisation d'une partie de ce
courriel est strictement interdit de même que toute intervention ou
abstraction à cet égard. Si vous avez reçu ce message par erreur ou
sans autorisation, veuillez en aviser immédiatement l'expéditeur par
retour de courriel ou par un autre moyen et supprimer immédiatement
cette communication entière de tout système électronique.
Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous
pouvez le consulter à www.td.com/francais/legale</PRE></BLOCKQUOTE></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic