Skip to content

java.lang.IllegalArgumentException: This is not an attribute, it is a namespace: xmlns:xs [SWS-158] #312

Closed
@gregturn

Description

@gregturn

Jeff Peterson opened SWS-158 and commented

java.lang.IllegalArgumentException: This is not an attribute, it is a namespace:xmlns:xs
at weblogic.xml.xmlnode.XMLNode.addAttribute(XMLNode.java:488)
at weblogic.webservice.core.soap.SOAPElementImpl.addAttribute(SOAPElementImpl.java:169)
at org.springframework.ws.soap.saaj.support.SaajContentHandler.startElement(SaajContentHandler.java:86)
at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
at org.apache.xml.serializer.TreeWalker.startNode(TreeWalker.java:357)
at org.apache.xml.serializer.TreeWalker.traverse(TreeWalker.java:143)
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:389)

The exception above occurred when transforming the xml below:

<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">XYZ</AttributeValue>

Please see the patch for the fix.


Affects: 1.0 M3

Attachments:

Referenced from: commits bc72fe5

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions