cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zack (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-2349) Space in namespace localName causes org.w3c.dom.DOMException: INVALID_CHARACTER_ERR
Date Tue, 21 Jul 2009 21:11:14 GMT

     [ https://issues.apache.org/jira/browse/CXF-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zack updated CXF-2349:
----------------------

    Description: 
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.

I was able to copy this class into my source code and remove the space, which solved the issue

  was:
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.


> 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.
> I was able to copy this class into my source code and remove the space, which solved
the issue

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


Mime
View raw message