xsl-list
[Top] [All Lists]

Re: [xsl] how do I say it for xalan, namespace probs

2007-06-17 08:25:21
Jochen Schroer wrote:

If I try it with xalan 2.7.0 (xalan-j on windows-xp) I get the following error: SystemId Unknown; Line #14; Column #99; A location step was expected following the '/' or '//' token. SystemId Unknown; Line #14; Column #99; A relative location path was expected following the '/' or '//' token. SystemId Unknown; Line #14; Column #99; Extra illegal tokens: '3of9-data', ':', 'char2bar', '/', 'entry', '[', '@', 'char', '=', 'substring', '(', '$', 'string', ',', '1', ',', '1', ')', ']', '/', 'text', '(', ')'

The problematical line ist the "....document('')//my:char2bar/entry[(_at_)char=substring($string, 1, 1)]/text()..." construct but I'm not so familiar with XSLT and I have no idea what I can do that xalan accept this codesnippet.

I think you have hit a bug in Xalan. I don't see any problem with that XPath expression and other XSLT 1.0 processors like Saxon 6.5 or MSXML run the stylesheet without problems.

--

        Martin Honnen
        http://JavaScript.FAQTs.com/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--