Re: xalan 1.1 document() fails on url?
Subject: Re: xalan 1.1 document() fails on url?|
From: "Christopher R. Maden" <crism@xxxxxxxxxx>
Date: Mon, 10 Jul 2000 19:05:27 -0700
At 21:55 10-07-2000 -0400, Bruce Robertson wrote:
or anything like it generates:
http://www.heml.org; Line 5; Column 48
XSL Warning: Can not load requested doc: http://www.heml.org
whereas a file runs through tickety-boo.
Is the file at that URL in fact a well-formed XML document? If not, I'd
expect the XSLT processor to choke and die on it.
Besides the well-formedness of the resource you think you're getting, there
are also issues with URL precision. For example, the O'Reilly URL in my
signature actually returns a 301 Moved Permanently message with no
body. If that resource were in XML and I wanted to refer to it from some
tools (such as a Web validation service), I'd need to use
<URL:http://www.oreilly.com/people/staff/crism/> instead. I don't know if
Xalan will follow a 3xx response to the referenced resource.
Christopher R. Maden, Senior XML Analyst, Lexica LLC
222 Kearny St., Ste. 202, San Francisco, CA 94108-4510
+1.415.901.3631 tel./+1.401.477.3619 fax
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list