This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
First bullet just below the table in section 6.4 reads: "If the pattern has the form of a DocumentTest, then if it includes no ElementTest the priority is −0.5. If if does include an ElementTest, then the priority is the same as the priority of that ElementTestXP, computed according to the table above." 1. typo - "If if" 2. this bullet should mention SchemaElementTest as well. "If the pattern has the form of a DocumentTest, then if it includes no ElementTest and no SchemaElementTest the priority is −0.5. If it does include an ElementTest or a SchemaElementTest, then the priority is the same as the priority of that ElementTest or SchemaElementTest, computed according to the table above."
I've fixed the typo. You're right about SchemaElementTest but I'll wait till the WG has looked at it.
The change has been made.