Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Could not find function: empty [Thread Next] Re: Could not find function: emptyTo: NULL Date: 7/5/2007 10:47:00 PM Abdelhalim, For someone to be able to answer your question you should prune your stylesheet down as much as possible to isolate the problem. Then you should post the XSL code to the newsgroup so that people can examine the problem. You should be able to get the XSL code down to under 20 lines; anything more and people will be less inclined to offer comments. Cheers Justin Johansson Abdelhalim wrote: > Hello, > > I'm using xalan 2.6, and trying to invoke a transformation using XSL > file that contains the function "empty", but I'm getting the below > exception, I think the empty function is a valid XPath function, and > XMLSpy">XMLSpy can translate docuements using this XSL file without any > problems. > > Is it a bug in xalan? I tried 2.7 but I got the same exception. > > Any idea what's happening? > > > javax.xml.transform.TransformerException: Could not find function: > empty > at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:602) > at > org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java: > 1449) > at org.apache.xpath.compiler.XPathParser.PrimaryExpr(XPathParser.java: > 1388) > at org.apache.xpath.compiler.XPathParser.FilterExpr(XPathParser.java: > 1287) > at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java: > 1220) > at org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java: > 1178) > at org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java: > 1084) > at > org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java: > 1005) > at > org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java: > 947) > at > org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java: > 872) > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
