-
Bug
-
Resolution: Fixed
-
P2
-
6u20
-
b09
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2207327 | 7 | Joe Wang | P2 | Closed | Fixed | b112 |
JDK-2208814 | 6u27 | Mala Bankal | P2 | Closed | Fixed | b01 |
JDK-2208665 | 6u26-rev | Mala Bankal | P2 | Resolved | Fixed | b21 |
JDK-2208643 | 6u25-rev | Mala Bankal | P2 | Resolved | Fixed | b21 |
JDK-2204274 | 6u24-rev | Mala Bankal | P2 | Resolved | Fixed | b22 |
JDK-2192094 | 1.4.0 | Joe Wang | P2 | Closed | Fixed | 1.4 |
count(.|key('props', d/e)[1])
The problem is observed from JDK 5 update 12 onwards, including 6th and 7th trains.
More detailed explanation:
Xalan 2.6 contained in the Sun JDK 1.5 u12 and newer has issues with evaluating grouping nodes according the Muenchian Method, where nodes are stored in a key data structure for the group key, and later a group start is checked by checking for the first node retrieved for a key.
The nodes are compared using a set union, where the size of the set should be 1 when the nodes are identical, and different to 1 when the nodes are different.
The issue with Xalan 2.6 as part of the JDK is, that it does not evaluate the expression "count(.|key('props', subexpr)[1])" correctly. It always returns "1". If the argument expression of count() is stored in a variable first, and the variable is used as argument for count(), then everything works fine.
- backported by
-
JDK-2204274 XSL : Xalan transformer fails to process semicolumn symbol in a count() function correctly
-
- Resolved
-
-
JDK-2208643 XSL : Xalan transformer fails to process semicolumn symbol in a count() function correctly
-
- Resolved
-
-
JDK-2208665 XSL : Xalan transformer fails to process semicolumn symbol in a count() function correctly
-
- Resolved
-
-
JDK-2192094 XSL : Xalan transformer fails to process semicolumn symbol in a count() function correctly
-
- Closed
-
-
JDK-2207327 XSL : Xalan transformer fails to process semicolumn symbol in a count() function correctly
-
- Closed
-
-
JDK-2208814 XSL : Xalan transformer fails to process semicolumn symbol in a count() function correctly
-
- Closed
-
- relates to
-
JDK-6559347 Request to include Xalan (XSLTC) version 2.7.0 in the next release of Java
-
- Closed
-