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 bu...@apache.org on 2003/10/13 14:08:38 UTC

DO NOT REPLY [Bug 23768] New: - standard-uri-conformant feature sets base URI to current working directory

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=23768>.
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=23768

standard-uri-conformant feature sets base URI to current working directory 

           Summary: standard-uri-conformant feature sets base URI to current
                    working directory
           Product: Xerces2-J
           Version: 2.5.0
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: elharo@metalab.unc.edu


When the feature  http://apache.org/xml/features/standard-uri-conformant is set
to true, there's an unexpected side effect. Using an InputSource that reads
directly from a reader or an input stream (e.g. a StringReader) with no systemID
set, the base URI of the parsed document is set to the current working
directory. That is,  locator.getSystemId() returns the current working directory
rather than null.

I think this behavior is incorrect and should be fixed. But if it isn't and this
result was intended, then it should be documented in the documentation for the
http://apache.org/xml/features/standard-uri-conformant feature.

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