You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Rick Bullotta <Ri...@lighthammer.com> on 2001/02/05 20:26:28 UTC

RE: [Xalan-J 2 BUG]: file:/ url handling on win32

How 'bout file:///c:/xml/name.xsl

- Rick

> -----Original Message-----
> From: Sam Steingold [mailto:sds@gnu.org]
> Sent: Tuesday, February 06, 2001 00:10
> To: xalan-dev@xml.apache.org
> Subject: [Xalan-J 2 BUG]: file:/ url handling on win32
> 
> 
> Specifying a file:/ url in the -xsl arg to
> org.apache.xalan.xslt.Process.main() works on UNIX but not in win32.
> on unix, "file:///usr/local/xml/name.xsl" is fine, but on win32
> "file:/c/xml/name.xsl"
> "file:/c|/xml/name.xsl"
> "file://c|/xml/name.xsl"
> "file:/c:/xml/name.xsl"
> "file:///c|/xml/name.xsl"
> &c - neither works!!!
> 
> please help!
> 
> -- 
> Sam Steingold (http://www.podval.org/~sds)
> Bus error -- driver executed.
> 
> 

Re: [Xalan-J 2 BUG]: file:/ url handling on win32

Posted by Sam Steingold <sd...@gnu.org>.
> * In message <NB...@lighthammer.com>
> * On the subject of "RE: [Xalan-J 2 BUG]: file:/ url handling on win32"
> * Sent on Mon, 5 Feb 2001 19:26:28 -0000
> * Honorable "Rick Bullotta" <Ri...@lighthammer.com> writes:
>
> How 'bout file:///c:/xml/name.xsl

still no go:

javax.xml.transform.TransformerConfigurationException: File "file:///c:/doc/xml/docbook-xsl/html/docbook.xsl" not found.
	at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:815)
	at org.apache.xalan.xslt.Process.main(Process.java:458)

BUT: "file://c:/xml/name.xsl" appears to be treated differently:

javax.xml.transform.TransformerConfigurationException: z
	at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:804)
	at org.apache.xalan.xslt.Process.main(Process.java:458)
---------
javax.xml.transform.TransformerException: z
	at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:801)
	at org.apache.xalan.xslt.Process.main(Process.java:458)

any suggestions?

-- 
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on <http://www.memri.org/>
What garlic is to food, insanity is to art.


Re: [Xalan-J 2 BUG]: file:/ url handling on win32

Posted by Sam Steingold <sd...@gnu.org>.
> * In message <NB...@lighthammer.com>
> * On the subject of "RE: [Xalan-J 2 BUG]: file:/ url handling on win32"
> * Sent on Mon, 5 Feb 2001 19:26:28 -0000
> * Honorable "Rick Bullotta" <Ri...@lighthammer.com> writes:
>
> How 'bout file:///c:/xml/name.xsl

javax.xml.transform.TransformerConfigurationException: File "file:///c:/doc/xml/docbook-xsl/html/docbook.xsl" not found.