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 2005/07/12 10:30:30 UTC

[jira] Created: (XERCESC-1456) special handling of 'xml' namespace-prefix

special handling of 'xml' namespace-prefix
------------------------------------------

         Key: XERCESC-1456
         URL: http://issues.apache.org/jira/browse/XERCESC-1456
     Project: Xerces-C++
        Type: Bug
  Components: DOM  
    Versions: 2.6.0    
 Environment: all
    Reporter: Boris Kolpackov
 Attachments: DOMNodeImpl.cpp.patch

According to the spec 'xml' namespace-prefix is special and does not need "xmlns:xml=..." mapping. It therefore would make sense to make lookupNamespacePrefix and lookupNamespaceURI functions aware of this special rule. The patch is attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (XERCESC-1456) special handling of 'xml' namespace-prefix

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1456?page=all ]

Boris Kolpackov updated XERCESC-1456:
-------------------------------------

    Attachment: DOMNodeImpl.cpp.patch

> special handling of 'xml' namespace-prefix
> ------------------------------------------
>
>          Key: XERCESC-1456
>          URL: http://issues.apache.org/jira/browse/XERCESC-1456
>      Project: Xerces-C++
>         Type: Bug
>   Components: DOM
>     Versions: 2.6.0
>  Environment: all
>     Reporter: Boris Kolpackov
>  Attachments: DOMNodeImpl.cpp.patch
>
> According to the spec 'xml' namespace-prefix is special and does not need "xmlns:xml=..." mapping. It therefore would make sense to make lookupNamespacePrefix and lookupNamespaceURI functions aware of this special rule. The patch is attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Resolved: (XERCESC-1456) special handling of 'xml' namespace-prefix

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1456?page=all ]
     
Alberto Massari resolved XERCESC-1456:
--------------------------------------

    Resolution: Won't Fix

Hi Boris,
unfortunately the DOM specs mandate the algorithm to be used for lookupPrefix and lookupNamespaceURI, and they don't have the special case for predefined namespace mapping (xml, xmlns), so I am inclined not to extend it.


> special handling of 'xml' namespace-prefix
> ------------------------------------------
>
>          Key: XERCESC-1456
>          URL: http://issues.apache.org/jira/browse/XERCESC-1456
>      Project: Xerces-C++
>         Type: Bug
>   Components: DOM
>     Versions: 2.6.0
>  Environment: all
>     Reporter: Boris Kolpackov
>  Attachments: DOMNodeImpl.cpp.patch
>
> According to the spec 'xml' namespace-prefix is special and does not need "xmlns:xml=..." mapping. It therefore would make sense to make lookupNamespacePrefix and lookupNamespaceURI functions aware of this special rule. The patch is attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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