DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26069>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26069

Inconsistent behaviour from getBaseURI

           Summary: Inconsistent behaviour from getBaseURI
           Product: Xerces2-J
           Version: 2.6.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The getBaseURI method behaves inconsistently depending on whether it is called
on a Document or an Element. When called on Document, the method simply returns
the String value it has stored for the Document URI, without performing any
checks on it. When called on an Element, however, all of the exit points from
the method return something along the lines of "new URI(result).toString()",
with a null return if this statement throws a MalformedURIException. It would
seem more helpful for these two implementations to exhibit consistent behaviour. 

This behaviour was observed on a checkout from CVS on 12 Jan 2004.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to