This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Since the key function returns nodes in document order, and the input file contains <words> ... <word>thOU</word> <word>Thou</word> <word>thou</word> ... </words> the expected result should be <assert-xml><![CDATA[<out>thOU Thou thou</out>]]></assert-xml> and not <assert-xml><![CDATA[<out>thOU thou Thou</out>]]></assert-xml>
Sorry, I don't follow your reasoning. The source document I'm looking at (collations-01.xml) reads <words> <word>thoughts</word> <word>THOUGH</word> <word>thOU</word> <word>ThoughtFul</word> <word>THOUGHTFULNESS</word> <word>tHoRoUgH</word> <word>touGH</word> <word>tROUGH</word> <word>THE</word> <word>thou</word> <word>THOUGHT</word> <word>though</word> <word>Thou</word> <word>THOROUGH</word> </words> which has the three words in the expected order.
I agree with Michael here, I'm seeing the same order. Closing this bug as invalid, please reopen if you disagree.
Confirmed - closing.