Error while setting parameter using -p option in xalan

Joined
Feb 10, 2009
Messages
1
Reaction score
0
Hi
When I try to set a parameter using "-p" option, xalan gives following error:

[root@test1 bin]# ./Xalan -p version "1.1.1.1" /home/SAMPLE.xml /home/test.xsl
XPathParserException: Extra illegal token.
expression = '1.1.1.1' Remaining tokens are: ( '.1.1') (, line -1, column -1)


I get error only when I try to set expression that contains more than 1 dot. I don't get error for the following command:

[root@test1 bin]# ./Xalan -p version "1.1" /home/SAMPLE.xml /home/test.xsl
XPathParserException: Extra illegal token.
expression = '1.1.1.1' Remaining tokens are: ( '.1.1') (, line -1, column -1)

Is this a data type issue? I don't face any problem when I use OXYGEN editor. It sets the parameter without any problem.

Any solution for this?
I use xalan version 1.10.0 and xerces version is 2.8.0 on FEDORA machine.

Thanks in advance

Regards
Anoop.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top