Hi, we're currently validating XSLTs submitted by our users by using
the org.apache.xalan.processor.TransformerFactoryImpl to create new
Templates objects with TransformerFactory.newTemplates(Source). The
problem is that when we actually apply these XSLT stylesheets we pass
transformer parameters that our XSLT writers can use.
We're running into problems because we can't figure out how to
validate the XSLTs while passing these parameters in. I keep getting
errors saying that the validation failed because: Could not find
variable with the name of system-interface (the name of one of our
parameters).
Any ideas?
Thanks,
Bradley