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

XMLParsePathToFSSpec fails due to file not found





------- Additional Comments From [EMAIL PROTECTED]  2003-07-31 17:40 -------
James,

I see.  I was just using XMLParsePathToFSSpec as a method to get an XMLCh* path 
to pass to my LocalFileFormatTarget.  Since I did not need to create the file 
in advance on Windows, I assumed I didn't need to on Macintosh.  My original 
code looked like:

#ifdef _MAC
        psxPath = XMLParsePathToFSSpec(fssPath);
#else // _WINDOWS
        psxPath = XMLString::transcode(szPath);
#endif

I have since worked around this problem by checking if the file exists and 
using XMLCreateFullPathFromFSSpec.  For future reference, I think it would be 
useful to comment what guarantees (such as file must exist) are relevant to 
those platform utilities, but it sounds like my design is in error, not Xerces 
code.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to