Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
2.3.0
-
None
-
None
-
Operating System: MacOS X
Platform: Macintosh
-
26419
Description
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