Error while setting parameter using -p option in xalan

Discussion in 'XML' started by dodo_ind, Feb 10, 2009.

  1. dodo_ind

    dodo_ind

    Joined:
    Feb 10, 2009
    Messages:
    1
    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.
    dodo_ind, Feb 10, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. satish mn via JavaKB.com
    Replies:
    0
    Views:
    406
    satish mn via JavaKB.com
    Nov 25, 2004
  2. Bekkali Hicham

    ERROR when using xalan

    Bekkali Hicham, Jun 24, 2003, in forum: XML
    Replies:
    1
    Views:
    2,296
    Derek Harmon
    Jun 25, 2003
  3. Hyunchan Kim
    Replies:
    1
    Views:
    708
    Martin Honnen
    Dec 18, 2003
  4. cvissy
    Replies:
    0
    Views:
    600
    cvissy
    Nov 16, 2004
  5. soren625
    Replies:
    10
    Views:
    228
    Kevin Collins
    Dec 28, 2005
Loading...

Share This Page