You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2010/02/17 18:13:27 UTC

[jira] Updated: (XERCESC-1913) Change to importNode to copy prefixes breaks when xmlns="" is present

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

Boris Kolpackov updated XERCESC-1913:
-------------------------------------

    Fix Version/s: 3.2.0
                   3.1.1

> Change to importNode to copy prefixes breaks when xmlns="" is present
> ---------------------------------------------------------------------
>
>                 Key: XERCESC-1913
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1913
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: DOM
>    Affects Versions: 3.1.0
>         Environment: Affects all platforms
>            Reporter: Scott Cantor
>             Fix For: 3.1.1, 3.2.0
>
>
> A change to importNode was made to copy over prefixes of nodes with non-empty namespaces, using setPrefix. This causes setPrefix to throw a DOMException if called on the default namespace declaration node (xmlns="") because it checks for that explicitly.
> The revised fix should check for that case in one of the two spots, probably in setPrefix by ignoring the issue when the prefix supplied is NULL.
> Mailing list thread here:
> http://marc.info/?t=126620794700001&r=1&w=2

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


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org