Id=//../../../configuration.xml
Note the extra "/"'s in front of the string that I passed in.
Thanks for your help.
Steve
-Original Message-
From: James Berry [mailto:[EMAIL PROTECTED]
Sent: Wed 3/16/05 10:07 AM
To: xerces-c-dev@xml.apache.org
Cc: Smith, Steven J (PNNL
a( true );
>>>>>> mParser->setCreateCommentNodes( false ); // No comment nodes
>>>>>> mParser->setIncludeIgnorableWhitespace( false ); // No text nodes
>>>>>>
>>>>>> mErrHandler.reset( (xercesc::ErrorHandler*)
ld not be opened.
Id=//../../../configuration.xml
Note the extra "/"'s in front of the string that I passed in.
Thanks for your help.
Steve
-Original Message-----
From: James Berry [mailto:[EMAIL PROTECTED]
Sent: Wed 3/16/05 10:07 AM
To: xerces-c-dev@xml.apache.org
Cc: Smith, Stev
Title: Re: Relative paths in C++ on Macintosh OS
X
It turns out that getcwd() consistently returns "/"
everywhere in the program.
However, C++ file output functions are also writing consistently
using relative paths, so its using something else to get the working
directory. I
ECTED]
Sent: Wed 3/16/05 10:07 AM
To: xerces-c-dev@xml.apache.org
Cc: Smith, Steven J (PNNL/JGCRI)
Subject: Re: Relative paths in C++ on Macintosh OS X
Steve,
I don't know of a problem in this area. I've used relative paths
successfully. But your setup may be somewhat different.
Can you provi
ration.xml in the root directory. If its
>>not there
>>then I get an exception message of
>>
>>The primary document entity could not be opened.
>> Id=//../../../configuration.xml
>>
>>Note the extra "/"'s in front of the string that I pas
erces-c-dev@xml.apache.org
Cc: Smith, Steven J (PNNL/JGCRI)
Subject: Re: Relative paths in C++ on Macintosh OS X
Steve,
I don't know of a problem in this area. I've used relative paths
successfully. But your setup may be somewhat different.
Can you provide more information about the contex
at I passed in.
Thanks for your help.
Steve
-Original Message-
From: James Berry [mailto:[EMAIL PROTECTED]
Sent: Wed 3/16/05 10:07 AM
To: xerces-c-dev@xml.apache.org
Cc: Smith, Steven J (PNNL/JGCRI)
Subject: Re: Relative paths in C++ on Macintosh OS X
Steve,
I don't know
Steve,
I don't know of a problem in this area. I've used relative paths
successfully. But your setup may be somewhat different.
Can you provide more information about the context in which you're
seeing this issue? Build environment? Compiler? What API you're passing
the relative path to? Can y
I'm having difficulty getting the Xerces-C++ parser to use relative
paths on Mac OS X. Using absolute paths works fine.
But when I try to pass the parser a path such as
../../../configuration.xml
I get an error:
The primary document entity could not be opened.
Id=//../../../configuration
10 matches
Mail list logo