You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by ji...@philips.com on 2000/04/19 18:48:18 UTC

Help on Xalan c++

When I ran TestXSLT -IN sample01.xml -XSL sample01.xsl on NT, I got the 
following error message, please tell me how to fix this problem.

E:\xml-xalan>TestXSLT -IN sample01.xml -XSL sample01.xsl
========= Parsing sample01.xsl ==========

Fatal Error at (file , line 0, char 0): An exception occured! 
Type:MalformedURLException, Message:The URL used an unsupported protocol
XSL Warning: Error parsing sample01.xsl
XSL Warning: processStylesheet not successful!

SAXException Message is : An exception occured! Type:MalformedURLException, 
Message:The URL used an unsupported protocol

I am pretty sure the xml source and stylesheet are correct because they are ok to 
Xalan for Java.

Thanks in advance,

Jingkun

--------------------------------------------------------------------------------------------------------------------------------
Jingkun Hu                                                                                                   
Member Research Staff                                                      Email: Jingkun.Hu@philips.com
Philips Research Laboratories                                         Phone: 914-945-6358
Philips North America Corp                                                Fax: 914-945-6141
345 Scarborough Road
Briarcliff Manor, NY 10510

RE: Help on Xalan c++

Posted by Linda Derezinski <li...@interfacecontrol.com>.
I haven't tried using testxslt in a while, but I think you need full URLs
like
TestXSLT -IN file:///f:\mydir\sample01.xml  -XSL
file:///f:\myotherdir\sample01.xs -out f:\myoutdir\output

I added the out switch so you can see the it doesn't want the file:/// part.


Linda Derezinski
Interface & Control Systems

 -----Original Message-----
From: 	jingkun.hu@philips.com [mailto:jingkun.hu@philips.com]
Sent:	Wednesday, April 19, 2000 12:48 PM
To:	xalan-dev@xml.apache.org
Subject:	Help on Xalan c++


When I ran TestXSLT -IN sample01.xml -XSL sample01.xsl on NT, I got the
following error message, please tell me how to fix this problem.

E:\xml-xalan>TestXSLT -IN sample01.xml -XSL sample01.xsl
========= Parsing sample01.xsl ==========

Fatal Error at (file , line 0, char 0): An exception occured!
Type:MalformedURLException, Message:The URL used an unsupported protocol
XSL Warning: Error parsing sample01.xsl
XSL Warning: processStylesheet not successful!

SAXException Message is : An exception occured! Type:MalformedURLException,
Message:The URL used an unsupported protocol

I am pretty sure the xml source and stylesheet are correct because they are
ok to
Xalan for Java.

Thanks in advance,

Jingkun

----------------------------------------------------------------------------
----------------------------------------------------
Jingkun Hu
Member Research Staff
Email: Jingkun.Hu@philips.com
Philips Research Laboratories                                         Phone:
914-945-6358
Philips North America Corp
Fax: 914-945-6141
345 Scarborough Road
Briarcliff Manor, NY 10510