Re: [OT] Re: External-graphic
"G. Ken Holman" wrote:
The registry of URI schemes is maintained by IANA - see <http://www.iana.org/assignments/uri-schemes.html>.
The relevant entry is: file Host-specific file names [RFC1738]
The relevant section of RFC1738 <http://www.rfc-editor.org/rfc/rfc1738.txt> is section 3.10.
A file URL takes the form:
file://<host>/<path> [...] As a special case, <host> can be the string "localhost" or the empty string; this is interpreted as `the machine from which the URL is being interpreted'.
The form "file:/x..." where 'x' is any character other than '/' is not a syntactically correct URL according to RFC1738.
Those who are using Java (and thus any of the many XSL tools implemented in Java) will find that the "file:///<path>" form which is correct according to RFC1738 will be 'normalised' to the syntactically incorrect "file:/<path>" by some operations. Fortunately, this form is not defined to mean something else by the RFC, and seems to be handled consistently.
The form with an explicitly specified <host> is best avoided. The effect seems to depend of which application is doing what as well as which OS is providing the files being referred to.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format