xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] XOM refusing to parse (invalid?) xml
- From: Adam Constabaris <adamc AT unc.edu>
- To: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] XOM refusing to parse (invalid?) xml
- Date: Fri, 07 Nov 2008 10:21:54 -0500
If you are pasting your XML into the email *** exactly *** as it is in the source document, the offending characters are the newlines inside the quotes.
cheers,
AC
Jean Pierre Malrieu wrote:
Hi,
XOM seems not to like the following xml, whereas xmlBeams, or Oxygen parses and validates it happily.
Is there something I can do to process this xml with XOM?
TIA
JPM
<message:MessageGroup xmlns="http://www.SDMX.org/resources/SDMXML/schemas/v2_0/generic "
xmlns:message="http://www.SDMX.org/resources/SDMXML/schemas/v2_0/message "
xsi:schemaLocation="http://www.SDMX.org/resources/SDMXML/schemas/v2_0/generic http://www.sdmx.org/docs/2_0/SDMXGenericData.xsd http://www.SDMX.org/resources/SDMXML/schemas/v2_0/message http://www.sdmx.org/docs/2_0/SDMXMessage.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header xmlns="http://www.SDMX.org/resources/SDMXML/schemas/v2_0/message ">
<ID>none</ID>
<Test>false</Test>
<Truncated>false</Truncated>
<Prepared>2008-11-06T13:15:39</Prepared>
<Sender id="OECD">
<Name xml:lang="en">Organisation for Economic Co- operation and Development</Name>
<Name xml:lang="fr">Organisation de coop�ration et de d�veloppement �conomiques</Name>
</Sender>
</Header>
<DataSet>
<KeyFamilyRef>CSP6</KeyFamilyRef>
<Series>
<SeriesKey>
<Value concept="COU" value="AUS"/>
<Value concept="SUB" value="EVOPOP_T1"/>
</SeriesKey>
<Attributes>
<Value concept="TIME_FORMAT" value="P1Y"/>
</Attributes>
<Obs>
<Time>1990</Time>
<ObsValue value="1.706500000000000e+004"/>
</Obs>
</Series>
</DataSet>
</message:MessageGroup>
-
[XOM-interest] XOM refusing to parse (invalid?) xml,
Jean Pierre Malrieu, 11/06/2008
-
Re: [XOM-interest] XOM refusing to parse (invalid?) xml,
Michael Kay, 11/06/2008
-
Re: [XOM-interest] XOM refusing to parse (invalid?) xml,
Elliotte Harold, 11/07/2008
-
Re: [XOM-interest] XOM refusing to parse (invalid?) xml,
Jean Pierre Malrieu, 11/07/2008
- Re: [XOM-interest] XOM refusing to parse (invalid?) xml, Jean Pierre Malrieu, 11/08/2008
-
Re: [XOM-interest] XOM refusing to parse (invalid?) xml,
Jean Pierre Malrieu, 11/07/2008
-
Re: [XOM-interest] XOM refusing to parse (invalid?) xml,
Elliotte Harold, 11/07/2008
- Re: [XOM-interest] XOM refusing to parse (invalid?) xml, Adam Constabaris, 11/07/2008
-
Re: [XOM-interest] XOM refusing to parse (invalid?) xml,
Michael Kay, 11/06/2008
Archive powered by MHonArc 2.6.24.