Space in namespace localName causes org.w3c.dom.DOMException: 
INVALID_CHARACTER_ERR
-----------------------------------------------------------------------------------

                 Key: CXF-2349
                 URL: https://issues.apache.org/jira/browse/CXF-2349
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.2.2
            Reporter: Zack


On line 97 of the Soap12FaultOutInterceptor, an attempt is made to write an 
attribute using the following code:

writer.writeAttribute("xml", "http://www.w3.org/XML/1998/namespace";, "lang ", 
getLangCode());

The 3rd parameter has a trailing space and fails with the following exception:

org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML 
character is specified.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to