You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Zack (JIRA)" <ji...@apache.org> on 2009/07/21 23:09:14 UTC

[jira] Created: (CXF-2349) Space in namespace localName causes org.w3c.dom.DOMException: INVALID_CHARACTER_ERR

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.


[jira] Updated: (CXF-2349) Space in namespace localName causes org.w3c.dom.DOMException: INVALID_CHARACTER_ERR

Posted by "Zack (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Resolved: (CXF-2349) Space in namespace localName causes org.w3c.dom.DOMException: INVALID_CHARACTER_ERR

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2349.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.3
                   2.1.6
                   2.0.12
         Assignee: Daniel Kulp

> 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
>            Assignee: Daniel Kulp
>             Fix For: 2.0.12, 2.1.6, 2.2.3
>
>
> 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.