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 (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/29 19:46:22 UTC

[jira] [Resolved] (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 resolved SANTUARIO-289.
-----------------------------------

    Resolution: Won't Fix

The easy workaround or proposed solution would be for the DOM to be normalized.  document.normalizeDocument()  
                
> 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
>         Attachments: Canonicalizer20010315ExclusiveTest.java.patch
>
>
> 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