Leading Backslash in System Identifier
Added by Anonymous over 17 years ago
Legacy ID: #4290460 Legacy Poster: Marko (mhedler)
Hello, in the doctype declaration of my XML-Document the Systen Identifier starts with a leading backslash plus directory-name. The backslash ist supposed to stand for the "root" directory, but Saxon treats the leading backslash to be a relative path. Any suggestions? Thanks in advance Marko
Replies (1)
RE: Leading Backslash in System Identifier - Added by Anonymous over 17 years ago
Legacy ID: #4291287 Legacy Poster: Michael Kay (mhkay)
System identifiers are URIs, and URIs never contain a backslash. You are getting them confused with Windows filenames, I think. Try a forwards slash instead. This is nothing to do with Saxon by the way: the doctype and DTD resolution is done by the XML parser. So if you need further help from here you'll need to explain what XML parser you are using - it varies between Java and .NET and between different Java versions. Michael Kay http://www.saxonica.com/
Please register to reply