[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-c-users
Subject:    Small problems in http://xml.apache.org/xalan-c/ commandline.html
From:       "Jeroen N. Witmond" <jnw () xs4all ! nl>
Date:       2005-05-08 10:16:41
Message-ID: 23478.194.109.230.85.1115547401.squirrel () 194 ! 109 ! 230 ! 85
[Download RAW message or body]

On webpage http://xml.apache.org/xalan-c/commandline.html the command line
options for Xalan are documented. I see the following small problems
there:

- The options -t and -u are showns as taking two values, name and expr.
However, the output of `Xalan -?` shows these options without those
values.

- Perhaps a note should be added on commandline.html that, at least under
*nix, care should be taken about the shell's mangling of the options. If a
literal value is to be passed to Xalan in a -p option, it must be
surrounded by a double set of quotes, as in

Xalan -p param1 "'boo'" foo.xml foo.xsl

Note that on http://xml.apache.org/xalan-c/usagepatterns.html#params
(where this example is taken from) there is only one set of quotes
surrounding boo. Experiments have shown that, contrary to what is stated
on usagepatterns.html, the double set of quotes is always necessary, at
least under *nix. The outer quotes are stripped by the shell, leaving the
inner quotes for Xalan.

Regards.

Jeroen.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic