You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Anli Shundi (Updated) (JIRA)" <ji...@apache.org> on 2011/11/22 16:48:40 UTC

[jira] [Updated] (SANTUARIO-289) CLONE - Canonicalizer can't handle dynamical created DOM correctly (also attributes!)

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

Anli Shundi updated SANTUARIO-289:
----------------------------------

    Description: The fix for SANTUARIO-263 doesn't work for namespaced attributes.  See attached failing test.  Note that it's legal in DOM 3 to declare an attribute in a namespace and without a prefix.  Serialization has to figure out the prefix or make up one.  (was: The current code expect, that each XML namespace is also stored as attribute - this is not true for elements created by createElementNS.

For an example, see patch, which processes the same XML two times - one time loaded from a file and one time dynamically created.)
    
> CLONE - Canonicalizer can't handle dynamical created DOM correctly (also attributes!)
> -------------------------------------------------------------------------------------
>
>                 Key: SANTUARIO-289
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-289
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.4
>            Reporter: Anli Shundi
>            Assignee: Colm O hEigeartaigh
>             Fix For: Java 1.4.5, Java 1.5
>
>
> The fix for SANTUARIO-263 doesn't work for namespaced attributes.  See attached failing test.  Note that it's legal in DOM 3 to declare an attribute in a namespace and without a prefix.  Serialization has to figure out the prefix or make up one.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira