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 2002/04/17 10:42:01 UTC

DO NOT REPLY [Bug 8192] New: - parse(File p0) does not detect file passed to it

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

parse(File p0) does not detect file passed to it

           Summary: parse(File p0) does not detect file passed to it
           Product: Xerces2-J
           Version: 2.0.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: DOM
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: viraj@lk.opro.net


I am using xerces.jar (2.0.1). When I use 

      DocumentBuilder  DocBlder= DocBuildFac.newDocumentBuilder();
      doc=DocBlder.parse(configXml);
where configXml is a file. It gives an error saying that specified file is not 
found.  

The parse(configXml) statement is looking for the file in directory where the 
java class is running. It does not take the path I have given through the File 
parameter.

Viraj

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