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

ProgrammaticDOMTest fails with constructed XSL DOM

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable



------- Additional Comments From [EMAIL PROTECTED]  2003-09-12 19:28 -------
It appears that the problem (in SmoketestOuttakes.java) lies on line 763:
After building the element that will serve as the root of the stylesheet, we
attempt to add the namespace declaration as an attribute.

xslBuiltElem.setAttributeNS(nsNamespace, "xmlns:xsl", xslNamespace);

The DocumentBuilder is already set to be namespace aware, so I don't think we
need to explicitly declare the namespace. Commenting out this line fixes the
testcase. Also not that when we create the stylesheet from a Document or
DocumentFragment using the helper method appendIdentityDOMXSL, we do not
explicitly set the namespace.

Reply via email to