[XOM-interest] nu.xom.IllegalNameException with some specific sort of XML documents

Ondřej Černoš cernoso at gmail.com
Sat Apr 26 10:10:13 EDT 2008


Hi,

the class is from the spring-ws project, it is not part of the core
spring, see http://www.springframework.org/spring-ws . I will create a
small demonstration project for the spring-ws guys to reproduce the
bug, so I will add you to the cc.

Regards,
ondrej c.

On 4/26/08, Elliotte Harold <elharo at metalab.unc.edu> wrote:
> Ondřej Černoš wrote:
>
> > And the stacktrace like this:
> >
> > nu.xom.IllegalNameException: Attribute objects are not used to
> > represent  namespace declarations
> >         at nu.xom.Attribute._setNamespace(Attribute.java:489)
> >         at nu.xom.Attribute.<init>(Attribute.java:168)
> >         at nu.xom.Attribute.<init>(Attribute.java:122)
> >         at
> nu.xom.converters.DOMConverter.makeElement(DOMConverter.java:388)
> >         at nu.xom.converters.DOMConverter.convert(DOMConverter.java:349)
> >         at
> org.springframework.ws.server.endpoint.AbstractXomPayloadEndpoint.handleDomSource(AbstractXomPayloadEndpoint.java:97)
>
> Where is this class coming from? I downloaded the Spring framework to
> see if it was doing anything too strange, but the entire
> org.springframework.ws package was not present so far as I could tell.
>
> --
> 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