Brian J. Sayatovic wrote:

FWIW, a related problem someone had (found via GOogle) directed me to the Xerces FAQ (http://xml.apache.org/xerces-j/faq-common.html#faq-5):


Q: I used to be able to use DOS filenames with the parser and now they don't work. Why not? A: DOS filenames are not legal URIs as required by the XML 1.0 specification. Therefore, it was an error for the parser to accept DOS filenames. This bug is now fixed. DOS filenames can be converted to legal URIs, however. For example, the DOS filename "c:\xerces\data\personal.xml" would become "file:///c:/xerces/data/personal.xml", which is a legal URI.

In this example, better would be to code "file:///c|/xerces/data/personal.xml".

See http://www.cs.tut.fi/~jkorpela/fileurl.html.

The browsers (for example IE and Mozilla) accept either way, but - if I recall well - Java requires the 
"|" instead of the ":".

Vincenzo


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



Reply via email to