You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Alain Van Vyve <Al...@atosorigin.com> on 2004/11/10 12:02:20 UTC
Reference to undefined entity: eacute
I got the following exception when parsing this file (1100077201802.xml)
<?xml version="1.0"?>
<INTERFACEOUT
TRANSAC-FEEDBACK = "OK"
TOTAL-BOOKING = "30.00"
xmlns = "30.00">
<OFFERS>
<OFFER
OFFER-LABEL = "Offre spéciale remplacement sans prix"/>
</OFFERS>
</INTERFACEOUT>
Exception : com.bea.xml.XmlException:
c:\etosB2B\out\1100077201802.xml:15: error: Reference to undefined
entity: eacute
com.bea.xml.XmlException: c:\etosB2B\out\1100077201802.xml:15: error:
Reference to undefined entity: eacute
at com.bea.xbean.store.Root.loadXml(Root.java:719)
at com.bea.xbean.store.Root.parseSax(Root.java:837)
at com.bea.xbean.store.Root.loadXml(Root.java:761)
at
com.bea.xbean.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:286)
at
com.bea.xbean.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:224)
at
org.eTos.bresa.outebresa.INTERFACEOUTDocument$Factory.parse(Unknown Source)
at
model.Billet.TosBillet.serviceEBRESASimulation(TosBillet.java:394)
at
controller.B2B.B2BEndStep3BilletAction.execute(B2BEndStep3BilletAction.java:111)
Java source code (line 394):
java.io.File checkFile = new java.io.File ("1100077201802.xml");
try {
org.eTos.bresa.outebresa.INTERFACEOUTDocument intOutDoc =
org.eTos.bresa.outebresa.INTERFACEOUTDocument.Factory.parse(checkFile);
Any help welcome
Thank's in advance
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
Re: Reference to undefined entity: eacute
Posted by Jean-Christophe Pazzaglia <Je...@eurecom.fr>.
*
*&aunomdelaloi; is the reference to the entity aunomdelaloi
*
Well-formedness constraint: Parsed Entity*
An entity reference /MUST NOT/ contain the name of an unparsed entity
<http://www.w3.org/TR/REC-xml/#dt-unparsed>. Unparsed entities may be
referred to only in attribute values
<http://www.w3.org/TR/REC-xml/#dt-attrval> declared to be of type
*ENTITY* or *ENTITIES*.
Please refer to http://www.w3.org/TR/REC-xml/#sec-entity-decl
this has nothing to do with xmlbeans ....
Thanks
jc
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org