Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Could not find function: empty

From: Justin Johansson <pro_code_removeunderscores@---.---.-->
To: 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)
> 


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent