This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The XProc specification states in 7.1.28 p:wrap: "Whenever two or more sequentially adjacent documents have the same “group adjacent” value, they are wrapped together in a single wrapper element." The specification does not define what it means by group-adjacent. It probably means deep-equal under the codepoint collation and the (implementation defined) default timezone.
You're correct. At this point, we think our best bet is to confess and make it implementation defined in V1. We'll nail this down in V2. FWIW, I compare the string values of the expression. Proposed erratum: add a new penultimate paragraph to 7.1.28: The meaning of "same" in the context of group-adjacent values is implementation-defined in XProc V1.0.
Thanks for the hint.