Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-158

java.lang.IllegalArgumentException: This is not an attribute, it is a namespace: xmlns:xs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 M3
    • Fix Version/s: 1.0
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Java 1.4.2
      Weblogic 8.1.3

      Description

      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.

        Activity

        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Fixed.

        Show
        arjen.poutsma Arjen Poutsma added a comment - Fixed.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing issues for 1.0.0

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing issues for 1.0.0

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            jpeterson Jeff Peterson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: