[XOM-interest] nu.xom.IllegalNameException with some specific sort of XML documents
Elliotte Harold
elharo at metalab.unc.edu
Sat Apr 26 10:14:37 EDT 2008
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 have not been able to reproduce this. There was a bug in very early
betas of XOM that might have triggered this behavior. However that
hasn't been true since before 1.0.
--
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/
More information about the XOM-interest
mailing list