xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Luca Passani <passani AT eunet.no>
- To: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: [XOM-interest] entity in attribute value
- Date: Mon, 12 Jan 2009 12:34:51 +0100
Hi, I just figured that XML is touchy about using entities in attribute value even for super-simple XML files with no DTD:
<capability name="entity_euro" value="€"/>
Caused by: org.xml.sax.SAXParseException: The entity "euro" was referenced, but
not declared.
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1189)
at nu.xom.Builder.build(Builder.java:1127)
is there a standard way to escape entities in XML?
who said that XML was simple? it is horrendously gotcha-ridden....
Thanks
Luca
-
[XOM-interest] entity in attribute value,
Luca Passani, 01/12/2009
-
Re: [XOM-interest] entity in attribute value,
Elliotte Harold, 01/12/2009
-
Re: [XOM-interest] entity in attribute value,
Luca Passani, 01/12/2009
-
Re: [XOM-interest] entity in attribute value,
Elliotte Harold, 01/12/2009
-
Re: [XOM-interest] entity in attribute value,
Luca Passani, 01/12/2009
-
Re: [XOM-interest] entity in attribute value,
Andreas Prieß, 01/12/2009
- Re: [XOM-interest] entity in attribute value, Luca Passani, 01/12/2009
-
Re: [XOM-interest] entity in attribute value,
Tatu Saloranta, 01/12/2009
- Re: [XOM-interest] entity in attribute value, Luca Passani, 01/12/2009
-
Re: [XOM-interest] entity in attribute value,
Michael Kay, 01/13/2009
- Re: [XOM-interest] entity in attribute value, Luca Passani, 01/13/2009
-
Re: [XOM-interest] entity in attribute value,
Andreas Prieß, 01/12/2009
-
Re: [XOM-interest] entity in attribute value,
Luca Passani, 01/12/2009
-
Re: [XOM-interest] entity in attribute value,
Elliotte Harold, 01/12/2009
-
Re: [XOM-interest] entity in attribute value,
Luca Passani, 01/12/2009
-
Re: [XOM-interest] entity in attribute value,
Elliotte Harold, 01/12/2009
Archive powered by MHonArc 2.6.24.