[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Error...

Subject: Re: Error...
From: Cheun N Chong <cnc99r@xxxxxxxxxxxxxxx>
Date: Wed, 24 May 2000 22:23:35 +0100 (BST)
misquoted literal... expected single quote
HI Jeni and all

	Sorry it is me again... The e-mail that Jeni sent me, with all the
codes (very kind of her) which is working well not only with SAXON and
also with LotusXSL. However I have a possible off-topic question about the
XSLT processor. When I run the following script on the prompt, it is
working:

~~> java -classpath
.:/home/cnc99r/xml/XML4J_3_0_1/xerces.jar:/home/cnc99r/xml/lotusxsl_1_0_0/lotusxsl.jar:/home/cnc99r/xml/lotusxsl_1_0_0/xalan.jar
org.apache.xalan.xslt.Process -in stuffs.xml -xsl stuffs.xsl -param expire
"'10 May 2000'" -out out.xml

	However I have tried to create a script file which is like
follows (called it xmlxsl):

java -classpath
.:/home/cnc99r/xml/XML4J_3_0_1/xerces.jar:/home/cnc99r/xml/lotusxsl_1_0_0/lotusxsl.jar:/home/cnc99r/xml/lotusxsl_1_0_0/xalan.jar
org.apache.xalan.xslt.Process $*

	And run it on the prompt:

~~> xmlxsl -in stuffs.xml -xsl stuffs.xsl -param expire "'10 May
2000'" -out out1.xml

	And the following errors happened:

Invalid option: May
Invalid option: 2000'
========= Parsing file:/home/cnc99r/Project/XML/stuff/stuffs.xsl
==========
Parse of file:/home/cnc99r/Project/XML/stuff/stuffs.xsl took 3132
milliseconds
========= Parsing stuffs.xml ==========
Parse of stuffs.xml took 253 milliseconds
=============================
Transforming...
XSL Error: pattern = ''10'
misquoted literal... expected single quote!, style tree
node: org.apache.xalan.xslt.StylesheetRoot@83b3c7da
Xalan: was not successful.
XSLProcessor: done

	I wish some of you could possibly help me (perhaps give me some
idea) of scripting... Thousand thanks and wish this is not an off-topic
question.

Best regards,
Cheun Ngen CHONG



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.