Hi All,
I'm just trying to switch to Xalan from MSXSL (brr...) and I seem to have run
into a bug - which actually might be a feature, so I'm asking for confirmation.
Situation:
I'm trying to input a string parameter to my stylesheet, which is actually a
Windows absolute path: "C:\Directory\SubDirectory". Now, if I input it thus:
xalan.exe -p "C:\Directory\SubDirectory" myxml.xml myxsl.xslt
Xalan complains about: "Prefix must resolve to a namespace: C." I've done some
debugging and it looks like the path string is fed into
StylesheetExecutionContextDefault::pushVariable (...), which in turn tries to
process it as some XSL expression. I'm wondering whether this is intentional? I
cannot imagine a situation where someone might need to process his input
stylesheet parameter strings (although I admit this might be my fault... :-)).
I can work around this problem by surrounding my pramater strings with
additional quotes like thus:
xalan.exe -p "\"C:\Directory\SubDirectory\"" myxml.xml myxsl.xslt
but I'd be more happy with the original (as this seems to be a bug to me).
Could someone shed some light on the situation?
Thanks in advance:
Andras Babos.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]