xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Nils_Kilden-Pedersen AT Countrywide.Com
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] XInclude exception
- Date: Mon, 22 Sep 2003 10:14:06 -0700
I have this XML:
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="some.xml"/>
</root>
Is this incorrect use of XInclude?
XOM throws this exception:
Exception in thread "main" nu.xom.NamespaceException: Attribute objects
are not
used to represent namespace declarations
at nu.xom.Attribute.setNamespace(Attribute.java:407)
at nu.xom.Attribute.<init>(Attribute.java:150)
at nu.xom.Attribute.<init>(Attribute.java:116)
at nu.xom.converters.DOMConverter.convert(DOMConverter.java:186)
at nu.xom.converters.DOMConverter.translate(DOMConverter.java:91)
at test.Test.main(Test.java:40)
Thanks,
Nils
-
[XOM-interest] XInclude exception,
Nils_Kilden-Pedersen, 09/22/2003
- Re: [XOM-interest] XInclude exception, Nils_Kilden-Pedersen, 09/22/2003
- <Possible follow-up(s)>
- Re: [XOM-interest] XInclude exception, Elliotte Rusty Harold, 09/22/2003
- Re: [XOM-interest] XInclude exception, Elliotte Rusty Harold, 09/22/2003
Archive powered by MHonArc 2.6.24.