[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] JD and Java Extension
Hi All First of all, sorry if this has been sent more than once. I am using the JD xsl Parser to parse my xsl documents. The primary reason that we are using JD is so that we can chain transformations efficiently and with little fuss. However we also have a set of Java Extensions that we wrote to add functionality to our stylesheets. When we were parsing through xalan then "xalan://JavaExtension" worked fine. However, we can not get any of our extensions to work through the jd parser. When we try to define the name space for our extensions, an error message is displayed: jd.xml.xslt.XsltException: no extension function 'xalan://JavaExtension:setContent' defined at jd.xml.xslt.XsltContext.getExtensionFunction(Unknown Source) at jd.xml.xslt.extension.ExtensionFunctionCall.toXObject(Unknown Source) at jd.xml.xpath.expr.Expression.toStringValue(Unknown Source) at jd.xml.xslt.template.ValueOf.instantiate(Unknown Source) at jd.xml.xslt.template.TemplateRule.applyTemplate(Unknown Source) at jd.xml.xslt.Stylesheet.transform(Unknown Source) at jd.xml.xslt.AbstractStylesheet.transform(Unknown Source) etc. We have tried putting our own classes in different folders, changing namespaces such as removing the "xalan" part etc but to no avail. Can anyone tell us how to correctly call Home-made Java Extensions from the JD parser? Thanks a lot Spencer Bruce XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|