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=14804>. 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=14804 Current working directory is not corrrect for executables launched from the shell Summary: Current working directory is not corrrect for executables launched from the shell Product: Xerces-C++ Version: 2.1.0 Platform: Macintosh OS/Version: MacOS X Status: NEW Severity: Normal Priority: Other Component: Utilities AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The current working directory under MacOS X is obtained using the File Manager API which returns the location of the excutable, not the current working directory. Therefore the following doesn't work (the xml file to parse isn't found): $ bin/DOMCount samples/data/personal.xml only the following works: $ ./DOMCount ../samples/data/personal.xml Shouldn't the XMLParsePathToFSRef method use getcwd() instead to determine the current working directory? This would work as expected for applications launched from a shell. This might break application lanched from the finder however since I think getcwd returns '/' in this case. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
