PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2930 *** shadow/2930 Tue Jul 31 11:04:37 2001 --- shadow/2930.tmp.14367 Tue Jul 31 11:04:37 2001 *************** *** 0 **** --- 1,30 ---- + +============================================================================+ + | Namespaces not supported in XSLTAttributeDef.processQNAMES | + +----------------------------------------------------------------------------+ + | Bug #: 2930 Product: XalanJ2 | + | Status: NEW Version: 2.2.x | + | Resolution: Platform: All | + | Severity: Normal OS/Version: All | + | Priority: Other Component: org.apache.xalan.proces | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + In method org.apache.xalan.processor.XSLTAttributeDef.processQNAMES + instead of + qnames.addElement(new QName(tokenizer.nextToken())); + should be + qnames.addElement(new QName(tokenizer.nextToken(), handler)); + as it is in org.apache.xalan.processor.XSLTAttributeDef.processQNAME. + Otherwise it produces list of QName objects without namespaces and with local + names like this <namespace-prefix>:<element-name>. + + I think this problem exists in previous versions of Xalan as well. + + We found this error when we tried to use QName list with non-empty namespaces + in "cdata-section-elements" attribute of "output" element. (See + javax.xml.transform.OutputKeys#CDATA_SECTION_ELEMENTS for details)
