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 ji...@apache.org on 2004/04/23 20:05:54 UTC

[jira] Closed: (XERCESJ-914) DOMLocator.relatedNode returning null instead of problem node

Message:

   The following issue has been closed.

   Resolver: Michael Glavassevich
       Date: Fri, 23 Apr 2004 11:05 AM

Closed as per state in Bugzilla.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESJ-914

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESJ-914
    Summary: DOMLocator.relatedNode returning null instead of problem node
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: Xerces2-J
 Components: 
             DOM
   Versions:
             2.6.2

   Assignee: Michael Glavassevich
   Reporter: Naela Nissar

    Created: Wed, 10 Mar 2004 10:08 PM
    Updated: Fri, 23 Apr 2004 11:05 AM
Environment: Operating System: Other
Platform: Other

Description:
DOM L3 Core states that the relatedNode method of DOMLocator interface 
returns 'The node this locator is pointing to, or null if no node is 
available.' We send null to reportDOMError for the value of the error location 
(relatedNode param), in cases where we run into a DOM L1 node or an invalid 
character in a node name, and it appears that we could send the problem node 
(though there may be reasons for currently sending null that I'm unaware of).  
Failing DOM test cases (documentnormalizedocument05 and 13, infoset06, 
wellformed01) expect the problem node to be returned rather than null.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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