981: add function isUnique()

Please add the function isUnique(). At the moment we leave this undefined and the XPath missing where we have a uniqueness test on Atomic Types. This function would allow us to fill in the missing XPath. The definition of the function is: declare function fun:isUnique($arg as xs:anyAtomicType*) as xs:boolean (: Returns whether the list of … Continued

979: invalid examples for new shared rules

Please add at least one invalid example for the new shared rules: shared-18 shared-19 shared-20 shared-21 shared-22 shared-23 shared-24 shared-25 shared-26 shared-27 shared-27 Currently these rules have no examples.

976: shared-17uses “eq” instead of “=”

The rule today is: XPath Description: Context: Document (complex type) [exists(trade)] Every $account in trade/tradeSide/*/account satisfies $account/@href eq party/account/@id The correct rule is: XPath Description: Context: Document (complex type) [exists(trade)] Every $account in trade/tradeSide/*/account satisfies $account/@href = party/account/@id

975: shared-16 uses “eq” instead of “=”

The rule today is: Context: Document (complex type) [exists(trade)] every $party in trade/tradeSide/*/party satisfies $party/@href eq party/@id The correct rule is: Context: Document (complex type) [exists(trade)] every $party in trade/tradeSide/*/party satisfies $party/@href = party/@id

974: shared-15 refers to non-existent element

The XPath Description for shared-15 is: Context: Offset (complex type) [exists(dayType)] iff((period eq “D”), (offset/periodMultiplier ne 0)) There is no element //element(*, Offset)/offset Probably, the correct rule is: Context: Offset (complex type) [exists(dayType)] iff((period eq “D”), (periodMultiplier ne 0))

973: shared-14 should use “=” instead of “eq”

shared-14 has been recently changed and is now incorrect. The current rule is: Every $calculationAgentPartyReference in //calculationAgentPartyReference satisfies $calculationAgentPartyReference/@href eq party/@id The correct rule is: every $calculationAgentPartyReference in //calculationAgentPartyReference satisfies $calculationAgentPartyReference/@href = party/@id This is related to issues #971 and #972.