You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2009/11/22 19:47:39 UTC

[jira] Updated: (XERCESJ-1394) Node.lookupNamespaceURI() sometimes returns an empty string instead of null.

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

Michael Glavassevich updated XERCESJ-1394:
------------------------------------------

    Fix Version/s: 2.10.0

> Node.lookupNamespaceURI() sometimes returns an empty string instead of null.
> ----------------------------------------------------------------------------
>
>                 Key: XERCESJ-1394
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1394
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: DOM (Level 3 Core)
>    Affects Versions: 2.9.1
>            Reporter: Michael Glavassevich
>            Assignee: Michael Glavassevich
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: NamespaceLookupTest.java
>
>
> When a namespace has been undeclared Xerces is returning "" from lookupNamespaceURI() instead of null.  The DOM Level 3 spec [1][2] requires that null be returned if the given prefix is not bound.
> [1] http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#Node3-lookupNamespaceURI
> [2] http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/namespaces-algorithms.html#lookupNamespaceURIAlgo

-- 
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org