Actually, more testing shows that the protocol must also be specified in the XercesDOMWrapperParsedSource system id.

Kelly Graus wrote:
Hi Dave,

I did some more testing, and it looks like the root of the problem might be the fact that the XML and XSL files are on a network drive.

In our XSLT documents, we have several statements like this:
<xsl:when test="document( concat( $realPath, $contextPath, 'index.xml' ) )/procedure"> where realPath and contextPath are parameters that are passed in to the XalanTransformer.

It looks like realPath needs to have a protocol specified if it points to a network drive (ie, "file://///networkDrive\directory\) for Xalan to correctly find the files. Without the protocol, I get several MalformedURLExceptions.

Is this how it is supposed to work, or is it a bug?

Thanks for the help!

Kelly

Reply via email to