You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2004/01/25 19:11:53 UTC

DO NOT REPLY [Bug 26419] New: - Path Problems when running samples migth lead to some confusion.

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

Path Problems when running samples migth lead to some confusion.

           Summary: Path Problems when running samples migth lead to some
                    confusion.
           Product: Xerces-C++
           Version: 2.3.0
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Samples/Tests
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: pecus@netvisao.pt


I've noticed that using:

./DOMPrint ~/tfc/xmltest/heuristics.xml

has no problems, but if u're somewhere else on your path and try do do something like:

../../DOMPrint heuristic.xml 

(without the path of the file to be processed) we get the following error:

Fatal Error at file "", line 0, column 0
   Message: An exception occurred! Type:RuntimeException, Message:The primary document entity 
could not be opened. Id=/Users/pedro/school/tfc/xerces-c-src_2_3_0/bin/heuristics.xml

because somehow the DOMPrint will not be able to get the right path of the argument file, it will 
expect it to be where the binary is. This problems ocours for every sample bin on the package.

It's stupid i know, but i've recompiled several times, because the error wasn't obvious.... and I 
tought it was a configuration problem (export's/setenv's, whatever!).

Thanks,
Pedro

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