Stylesheet to call "function-available " on string value dies with "Unknown e 2005-11-03 - By Henry Zongaro
Hi, David.
"Karr, David" <david.karr@(protected)> wrote on 2005-11-02 07:36:06 PM: > I wrote a small stylesheet that just calls "function-available" on > values parsed from an XML file. I tested it in Stylus Studio, using > both Xalan-j 2.5.2 and Saxon 8.4. I then ran it from the command line > using JDK 1.4.2 (which uses Xalan-j 2.4.1. This time I get a "Unknown > error in Xpath" exception, with the following stack trace (truncated):
I tried your sample stylesheet, and I get the same "Unknown error in XPath" message using the interpretive processor for all releases of Xalan-J from 2.4.0 through to 2.7.0, which is the most recent. I'm not sure why you wouldn't have seen the error in Stylus Studio using Xalan-J 2.5.2.
I'm not sure off-hand what triggers the problem or whether it's possible to work around it. Could I ask you to open bug report in Jira for this problem?
Thanks,
Henry ------------------------------------------------------------------ Henry Zongaro Xalan development IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044 mailto:zongaro@(protected)
|
|