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 Elizabeth Walkup <ew...@gs.washington.edu> on 2002/09/23 23:51:36 UTC
OSX and Linux handling path names differently
It looks to me like the OSX and Linux ports of Xerces-C
are handling relative file names differently. Here's an
example of what I mean.
I have the following files:
~/foo/DOMCount
~/foo/test1.xml
~/bar/test2.xml
where DOMCount is the sample program given in the
distribution and test1.xml and test2.xml are xml files.
Here are two ways to attempt to invoke DOMCount:
Case 1 (works on Linux, Barfs on OSX)
cd ~/bar
../foo/DOMCount test2.xml
Case 2 (works on OSX, Barfs on Linux)
cd ~/bar
../foo/DOMCount test1.xml
I would expect the behavior of Case 1 for both Linux and
OSX. I have verified that other programs (e.g. simple
Perl scripts) behave as I expect.
So, my question is, is this a bug or a feature?
Many thanks,
-- Elizabeth
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org