[XOM-interest] XOM refusing to parse (invalid?) xml
Michael Kay
mike at saxonica.com
Thu Nov 6 17:47:15 EST 2008
Go on, give us a clue - tell us what the error message is.
XOM is stricter than most XML tools about insisting that namespace URIs are
valid URIs, so it might be that.
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: xom-interest-bounces at lists.ibiblio.org
> [mailto:xom-interest-bounces at lists.ibiblio.org] On Behalf Of
> Jean Pierre Malrieu
> Sent: 06 November 2008 21:04
> To: xom-interest at lists.ibiblio.org
> Subject: [XOM-interest] XOM refusing to parse (invalid?) xml
>
> 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/schem
> as/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 mailing list
> XOM-interest at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest
More information about the XOM-interest
mailing list