xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] nu.xom.IllegalNameException with some specific sort of XML documents
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: Ondřej Černoš <cernoso AT gmail.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] nu.xom.IllegalNameException with some specific sort of XML documents
- Date: Sat, 26 Apr 2008 06:29:36 -0700
Ondřej Černoš wrote:
Hello all,
I use XOM in Spring-WS as the DOM of choice. I run into an exception
mentioned in the subject. The offending XML looks like this:
AbstractXomPayloadEndpoint. is trying to create the Document object
from the payload part of the document - with PAYLOAD_ROOT as the root
element of the Document.
The problem with the XML document is the redefinition of the namespace
in the payload root subelements. That is the thing that triggers the
exception.
Is it XOM bug or spring's incorrect XOM usage?
I'm not sure but I suspect the latter. Any chance you could provide a complete, self-contained sample that reproduces the bug so I could look into this?
Based on the stack trace it looks like the error may involve code that converts DOM to XOM, since they handle namespaces quite differently.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
-
[XOM-interest] nu.xom.IllegalNameException with some specific sort of XML documents,
Ondřej Černoš, 04/11/2008
- Re: [XOM-interest] nu.xom.IllegalNameException with some specific sort of XML documents, Elliotte Harold, 04/26/2008
-
Re: [XOM-interest] nu.xom.IllegalNameException with some specific sort of XML documents,
Elliotte Harold, 04/26/2008
- Re: [XOM-interest] nu.xom.IllegalNameException with some specific sort of XML documents, Ondřej Černoš, 04/26/2008
- Re: [XOM-interest] nu.xom.IllegalNameException with some specific sort of XML documents, Elliotte Harold, 04/26/2008
Archive powered by MHonArc 2.6.24.