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=5498>.
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=5498

The attr's namespace URI for xsl:stylesheet is not checked properly





------- Additional Comments From [EMAIL PROTECTED]  2001-12-18 16:57 -------
In my haste I put the empty string check in the wrong place.  It should be:

if (null != attrUri && ("".equals(attrUri) || attrUri.equals
(Constants.S_XSLNAMESPACEURL)))

However this did not ultimately solve my problem, I get a null pointer 
exception at line 647 in XSLTElementDef.

The REAL problem is that I failed to set the 
DocumentBuilderFactory.setNamespaceAware() when parsing the XSL file.  This 
causes major problems in the xalan processor.

I would like to recommend that TemplateFactory.netTemplates() check the Node 
source and do the following:

1. The owner document supports DOM Level 2
2. The document implementation to insure it is "namespace aware"

Reply via email to