DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13106>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13106 Abbreviated syntax for Java extensions no longer works [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] ------- Additional Comments From [EMAIL PROTECTED] 2002-10-04 14:38 ------- The problem is because you use the extension function in a match pattern <xsl:template match="removed-packages[name[validator:IsPackageAllowed ($validator,text())]]">. The XPath expression in a match pattern is currently not visited and the extension namespace is not added to the extension table. I also noticed that you used variables in match patterns. This actually violates the XSLT specification. From section 5.3 of the XSLT 1.0 spec: It is an error for the value of the match attribute to contain a VariableReference. Michael Kay's book XSLT Programmer's Reference has a good explanation of why using variables in match patterns can introduce circular definitions. Xalan does not strictly follow this rule at the moment. It will only flag an error if the circular definition exists, otherwise it allows a variable to be used in a mattern pattern. After my fixes, your stylesheet will work. But there is no guarantee that it will still work in the future, in case we want to follow the rule more strictly.
