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=1336 *** shadow/1336 Sun May 20 17:25:13 2001 --- shadow/1336.tmp.2055 Fri Jul 27 12:52:59 2001 *************** *** 1,19 **** ! Bug#: 1336 ! Product: XalanJ2 ! Version: 2.0.1 ! Platform: All ! OS/Version: Other ! Status: NEW ! Resolution: ! Severity: Major ! Priority: High ! Component: Xalan ! AssignedTo: [EMAIL PROTECTED] ! ReportedBy: [EMAIL PROTECTED] ! URL: ! Cc: ! Summary: Count of attributes in nested elements is broken. ! Given the following stylesheet and XML source, Xalan fails to report all the attribute nodes when elements are nested. With the given XML, xalan's off by 2. It fails to count <foo>'s attributes. If you make the <foo> element a child of --- 1,19 ---- ! +============================================================================+ ! | Count of attributes in nested elements is broken. | ! +----------------------------------------------------------------------------+ ! | Bug #: 1336 Product: XalanJ2 | ! | Status: RESOLVED Version: 2.0.1 | ! | Resolution: FIXED Platform: All | ! | Severity: Major OS/Version: Other | ! | Priority: High Component: Xalan | ! +----------------------------------------------------------------------------+ ! | Assigned To: [EMAIL PROTECTED] | ! | Reported By: [EMAIL PROTECTED] | ! | CC list: Cc: | ! +----------------------------------------------------------------------------+ ! | URL: | ! +============================================================================+ ! | DESCRIPTION | Given the following stylesheet and XML source, Xalan fails to report all the attribute nodes when elements are nested. With the given XML, xalan's off by 2. It fails to count <foo>'s attributes. If you make the <foo> element a child of *************** *** 52,54 **** --- 52,67 ---- ------- Additional Comments From [EMAIL PROTECTED] 2001-05-19 18:23 ------- Categorizing bugs related primarily to stylesheet elements, etc. + + ------- Additional Comments From [EMAIL PROTECTED] 2001-07-27 12:52 ------- + Checked in a fix for this (//node() was counting the root node). My results + are now: + + <?xml version="1.0" encoding="utf-8"?> + : + <summary><total>11 all nodes except "root" and + attributes, + 5 elements, + 6 text nodes, + 6 attributes. + </total></summary>
