[ 
http://issues.apache.org/jira/browse/XERCESC-1557?page=comments#action_12364284 
] 

David Bertoni commented on XERCESC-1557:
----------------------------------------

As I said in my previous comment, it's not a legal URL, because a legal URL 
cannot have a space character in it.  Browsers have been notoriously forgiving 
about that sort of thing, but Xerces-C is not.

If you're really referring to a local file, it's better to use a 
LocalFileInputSource instance.

On the other hand, it would be interesting to know if the URL-support code in 
Xerces-C can actually handle an encoded URL.  I'm not sure it's been tested.

> SAXParser parseFirst(char*,XMLPScanToken&) can not handle spaces in the 
> path/filename
> -------------------------------------------------------------------------------------
>
>          Key: XERCESC-1557
>          URL: http://issues.apache.org/jira/browse/XERCESC-1557
>      Project: Xerces-C++
>         Type: Bug
>   Components: SAX/SAX2
>     Versions: 2.7.0
>  Environment: Windows 2000, Visual Studio 2003 .NET
>     Reporter: Adam Lewis

>
> When calling parseFirst with a path or filename that contains spaces it is 
> incorrectly parsed and throws an exception when it can't find the file. 

-- 
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]

Reply via email to