systemId with leading backslash not handled correctly on windows ----------------------------------------------------------------
Key: XERCESC-1616 URL: http://issues.apache.org/jira/browse/XERCESC-1616 Project: Xerces-C++ Type: Bug Components: Utilities Versions: 2.6.0, 2.7.0 Environment: windows xp Reporter: Josh Boorstein Priority: Minor When trying to parse relative path that begins with a backslash (\) and the current directory is not a drive root (e.g. c:\) error is generated. XercesDOMParser *parser = new XercesDOMParser(); parser->parse(relativePath); gives error: Fatal Error at file , line 0, char 0: An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=<currentDirectory>/<relativePath> I think this could be fixed by updating LocalFileInputSource::LocalFileInputSource(const XMLCh* const filePath, MemoryManager* const manager) to use XMLPlatformUtils::getFullPath instead of the current code. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]