Guys,Here is the frequency distribution of the queries in XQTS that are impacted by unimplemented functions.
Clearly the / and // functions are on top. But after that is a whole gold mine to get a whole bunch of tests to pass! Vinayak
1573 {urn:org.apache.vxquery.operators-ext}child
698 {urn:org.apache.vxquery.operators-ext}descendant-or-self
314 {http://www.w3.org/2005/xpath-functions}string
242 {http://www.w3.org/2005/xpath-functions}round
227 {http://www.w3.org/2005/xpath-functions}avg
212 {http://www.w3.org/2005/xpath-functions}sum
204 {http://www.w3.org/2005/xpath-functions}current-time
198 {http://www.w3.org/2005/xpath-functions}abs
186 {urn:org.apache.vxquery.operators-ext}sort-distinct-nodes-asc-or-atomics
180 {http://www.w3.org/2005/xpath-functions}deep-equal
179 {http://www.w3.org/2005/xpath-functions}max
176 {http://www.w3.org/2005/xpath-functions}min
171 {urn:org.apache.vxquery.operators-ext}general-eq
170 {http://www.w3.org/2005/xpath-functions}QName
145 {http://www.w3.org/2005/xpath-functions}count
143 {urn:org.apache.vxquery.operators-ext}idiv
125 {urn:org.apache.vxquery.operators-ext}mod
112 {urn:org.apache.vxquery.operators}to
107 {http://www.w3.org/2005/xpath-functions}matches
98 {http://www.w3.org/2005/xpath-functions}round-half-to-even
94 {urn:org.apache.vxquery.operators-ext}general-ne
94 {urn:org.apache.vxquery.operators-ext}document-constructor
93 {http://www.w3.org/2005/xpath-functions}distinct-values
89 {http://www.w3.org/2005/xpath-functions}subsequence
82 {http://www.w3.org/2005/xpath-functions}replace
82 {http://www.w3.org/2005/xpath-functions}number
79 {urn:org.apache.vxquery.operators-ext}general-lt
71 {urn:org.apache.vxquery.operators-ext}general-gt
66 {urn:org.apache.vxquery.operators-ext}attribute
63 {http://www.w3.org/2005/xpath-functions}remove
63 {http://www.w3.org/2005/xpath-functions}floor
62 {http://www.w3.org/2005/xpath-functions}ceiling
60 {urn:org.apache.vxquery.operators-ext}general-le
60 {urn:org.apache.vxquery.operators-ext}general-ge
60 {http://www.w3.org/2005/xpath-functions}string-to-codepoints
55 {http://www.w3.org/2005/xpath-functions}root
54 {http://www.w3.org/2005/xpath-functions}exactly-one
53 {http://www.w3.org/2005/xpath-functions}codepoints-to-string
52 {http://www.w3.org/2005/xpath-functions}current-date
50 {http://www.w3.org/2005/xpath-functions}adjust-dateTime-to-timezone
49 {http://www.w3.org/2005/xpath-functions}tokenize
49 {http://www.w3.org/2005/xpath-functions}error
48 {http://www.w3.org/2005/xpath-functions}zero-or-one
48 {http://www.w3.org/2005/xpath-functions}one-or-more
48 {http://www.w3.org/2005/xpath-functions}dateTime
45 {http://www.w3.org/2005/xpath-functions}in-scope-prefixes
44 {http://www.w3.org/2005/xpath-functions}index-of
43 {http://www.w3.org/2005/xpath-functions}adjust-time-to-timezone
42 {http://www.w3.org/2005/xpath-functions}translate
42 {http://www.w3.org/2005/xpath-functions}normalize-space
39 {http://www.w3.org/2005/xpath-functions}iri-to-uri
39 {http://www.w3.org/2005/xpath-functions}insert-before
39 {http://www.w3.org/2005/xpath-functions}adjust-date-to-timezone
36 {http://www.w3.org/2005/xpath-functions}static-base-uri
36 {http://www.w3.org/2005/xpath-functions}normalize-unicode
35 {http://www.w3.org/2005/xpath-functions}minutes-from-duration
35 {http://www.w3.org/2005/xpath-functions}base-uri
34 {http://www.w3.org/2005/xpath-functions}years-from-duration
34 {http://www.w3.org/2005/xpath-functions}seconds-from-duration
34 {http://www.w3.org/2005/xpath-functions}resolve-uri
34 {http://www.w3.org/2005/xpath-functions}namespace-uri
34 {http://www.w3.org/2005/xpath-functions}hours-from-duration
34 {http://www.w3.org/2005/xpath-functions}days-from-duration
33 {http://www.w3.org/2005/xpath-functions}node-name
33 {http://www.w3.org/2005/xpath-functions}months-from-duration
32 {http://www.w3.org/2005/xpath-functions}escape-html-uri
31 {urn:org.apache.vxquery.operators-ext}self
31 {http://www.w3.org/2005/xpath-functions}document-uri
30 {http://www.w3.org/2005/xpath-functions}timezone-from-time
30 {http://www.w3.org/2005/xpath-functions}hours-from-time
29 {urn:org.apache.vxquery.operators}is-same-node
28 {http://www.w3.org/2005/xpath-functions}timezone-from-dateTime
28 {http://www.w3.org/2005/xpath-functions}month-from-date
28 {http://www.w3.org/2005/xpath-functions}encode-for-uri
27 {http://www.w3.org/2005/xpath-functions}year-from-date
27 {http://www.w3.org/2005/xpath-functions}unordered
27 {http://www.w3.org/2005/xpath-functions}timezone-from-date
27 {http://www.w3.org/2005/xpath-functions}minutes-from-dateTime
27 {http://www.w3.org/2005/xpath-functions}local-name
27 {http://www.w3.org/2005/xpath-functions}hours-from-dateTime
27 {http://www.w3.org/2005/xpath-functions}current-dateTime
26 {http://www.w3.org/2005/xpath-functions}year-from-dateTime
26 {http://www.w3.org/2005/xpath-functions}seconds-from-dateTime
25 {http://www.w3.org/2005/xpath-functions}seconds-from-time
25 {http://www.w3.org/2005/xpath-functions}resolve-QName
25 {http://www.w3.org/2005/xpath-functions}month-from-dateTime
25 {http://www.w3.org/2005/xpath-functions}minutes-from-time
25 {http://www.w3.org/2005/xpath-functions}day-from-dateTime
25 {http://www.w3.org/2005/xpath-functions}day-from-date
24 {http://www.w3.org/2005/xquery-local-functions}myFunc
24 {http://www.w3.org/2005/xpath-functions}implicit-timezone
24 {http://example.org}noContextFunction
23 {urn:org.apache.vxquery.operators-ext}validate-strict
23 {http://www.w3.org/2005/xpath-functions}namespace-uri-for-prefix
22 {urn:org.apache.vxquery.operators-ext}if-then-else
22 {http://www.w3.org/2005/xquery-local-functions}myFunction
21 {http://www.w3.org/2005/xpath-functions}nilled
20 {http://www.w3.org/2005/xpath-functions}prefix-from-QName
17 {urn:org.apache.vxquery.operators-ext}parent
17 {http://www.w3.org/2005/xpath-functions}trace
15 {urn:org.apache.vxquery.operators-ext}descendant
15 {http://www.w3.org/2005/xquery-local-functions}foo
14 {http://www.w3.org/2005/xpath-functions}name
14 {http://www.w3.org/2005/xpath-functions}collection
12 {urn:org.apache.vxquery.operators-ext}sort-distinct-nodes-asc
12 {urn:org.apache.vxquery.operators-ext}ancestor
12 {http://www.w3.org/2005/xpath-functions}namespace-uri-from-QName
9 {urn:org.apache.vxquery.operators}node-before
9 {urn:org.apache.vxquery.operators}node-after
9 {http://www.w3.org/2005/xquery-local-functions}func
9 {http://www.w3.org/2005/xpath-functions}id
8 {urn:org.apache.vxquery.operators-ext}ancestor-or-self
8 {http://www.w3.org/2005/xpath-functions}lang
8 {http://www.w3.org/2005/xpath-functions}doc-available
8 {http://www.example.com/}yearMonthDuration
7 {http://www.w3.org/2005/xpath-functions}local-name-from-QName
7 {http://www.w3.org/2005/xpath-functions}default-collation
7 {http://www.example.com/}is-a-number
6 {urn:org.apache.vxquery.operators}union
6 {http://www.w3.org/2005/xquery-local-functions}function
6 {http://www.example.com/}total-hours-from-duration
6 {http://www.example.com/}scheme-from-uri
6 {http://www.example.com/}replace-first
6 {http://www.example.com/}is-absolute-uri
6 {http://www.example.com/}index-of-match-first
6 {http://www.example.com/}dayTimeDuration
6 {http://www.example.com/}contains-word
6 {http://www.example.com/}between-inclusive
6 {http://www.example.com/}between-exclusive
5 {urn:org.apache.vxquery.operators-ext}validate-lax
5 {http://www.w3.org/2005/xquery-local-functions}aFunction
5 {http://www.example.com/}value-union
5 {http://www.example.com/}value-intersect
5 {http://www.example.com/}value-except
5 {http://www.example.com/}total-seconds-from-duration
5 {http://www.example.com/}total-minutes-from-duration
5 {http://www.example.com/}total-days-from-duration
5 {http://www.example.com/}sequence-type
5 {http://www.example.com/}replace-beginning
5 {http://www.example.com/}remove-elements-not-contents
5 {http://www.example.com/}remove-elements-deep
5 {http://www.example.com/}remove-attributes
5 {http://www.example.com/}insert-string
5 {http://www.example.com/}dynamic-path
5 {http://www.example.com/}atomic-type
4 {urn:org.apache.vxquery.operators-ext}following-sibling
4 {http://www.w3.org/2005/xpath-functions}idref
4 {http://www.example.com/}yyyymmdd-to-date
4 {http://www.example.com/}yyyyddmm-to-date
4 {http://www.example.com/}word-count
4 {http://www.example.com/}trim
4 {http://www.example.com/}total-years-from-duration
4 {http://www.example.com/}total-months-from-duration
4 {http://www.example.com/}timezone-from-duration
4 {http://www.example.com/}substring-before-match
4 {http://www.example.com/}substring-before-last-match
4 {http://www.example.com/}substring-before-last
4 {http://www.example.com/}substring-after-match
4 {http://www.example.com/}substring-after-last-match
4 {http://www.example.com/}substring-after-last
4 {http://www.example.com/}right-trim
4 {http://www.example.com/}remove-elements
4 {http://www.example.com/}remove-attributes-deep
4 {http://www.example.com/}pad-string-to-length
4 {http://www.example.com/}pad-integer-to-length
4 {http://www.example.com/}number-of-matches
4 {http://www.example.com/}non-distinct-values
4 {http://www.example.com/}month-name-en
4 {http://www.example.com/}month-abbrev-en
4 {http://www.example.com/}mmddyyyy-to-date
4 {http://www.example.com/}left-trim
4 {http://www.example.com/}last-day-of-year
4 {http://www.example.com/}last-day-of-month
4 {http://www.example.com/}is-value-in-sequence
4 {http://www.example.com/}is-leap-year
4 {http://www.example.com/}index-of-string-last
4 {http://www.example.com/}index-of-string-first
4 {http://www.example.com/}index-of-string
4 {http://www.example.com/}id-untyped
4 {http://www.example.com/}get-matches-and-non-matches
4 {http://www.example.com/}get-matches
4 {http://www.example.com/}first-day-of-year
4 {http://www.example.com/}first-day-of-month
4 {http://www.example.com/}duration-from-timezone
4 {http://www.example.com/}ddmmyyyy-to-date
4 {http://www.example.com/}days-in-month
4 {http://www.example.com/}day-of-week
4 {http://www.example.com/}day-in-year
4 {http://www.example.com/}capitalize-first
4 {http://www.example.com/}are-distinct-values
4 {http://www.example.com/}add-months
3 {urn:org.apache.vxquery.operators-ext}preceding-sibling
3 {urn:org.apache.vxquery.operators-ext}following
3 {http://www.w3.org/2005/xquery-local-functions}numbers
3 {http://www.w3.org/2005/xquery-local-functions}func1
3 {http://www.w3.org/2005/xquery-local-functions}_
3 {http://www.example.com/}wrap-values-in-elements
3 {http://www.example.com/}words-to-camel-case
3 {http://www.example.com/}time
3 {http://www.example.com/}substring-before-if-contains
3 {http://www.example.com/}substring-after-if-contains
3 {http://www.example.com/}reverse-string
3 {http://www.example.com/}repeat-string
3 {http://www.example.com/}previous-day
3 {http://www.example.com/}ordinal-number-en
3 {http://www.example.com/}next-day
3 {http://www.example.com/}max-line-length
3 {http://www.example.com/}lines
3 {http://www.example.com/}line-count
3 {http://www.example.com/}fragment-from-uri
3 {http://www.example.com/}exclusive-or
3 {http://www.example.com/}escape-for-regex
3 {http://www.example.com/}day-of-week-name-en
3 {http://www.example.com/}day-of-week-abbrev-en
3 {http://www.example.com/}dateTime
3 {http://www.example.com/}date
3 {http://www.example.com/}contains-case-insensitive
3 {http://www.example.com/}contains-any-of
3 {http://www.example.com/}chars
3 {http://www.example.com/}change-element-ns-deep
3 {http://www.example.com/}change-element-ns
3 {http://www.example.com/}change-element-names-deep
3 {http://www.example.com/}camel-case-to-words
3 {http://www.example.com/}all-whitespace
2 {urn:org.apache.vxquery.operators-ext}unordered
2 {urn:org.apache.vxquery.operators-ext}preceding
2 {urn:org.apache.vxquery.operators-ext}ordered
2 {http://www.w3.org/2005/xquery-local-functions}udf1
2 {http://www.w3.org/2005/xquery-local-functions}sumOf1toN
2 {http://www.w3.org/2005/xquery-local-functions}myName
2 {http://www.w3.org/2005/xquery-local-functions}invoke_mysum
2 {http://www.w3.org/2005/xquery-local-functions}functionB
2 {http://www.w3.org/2005/xquery-local-functions}fn1
2 {http://www.w3.org/2005/xquery-local-functions}even
2 {http://www.w3.org/2005/xpath-functions}contains
2 {http://www.example.com/}sort-case-insensitive
2 {http://www.example.com/}sort-as-numeric
2 {http://www.example.com/}sort
2 {http://www.example.com/}max-depth
2 {http://www.example.com/}leaf-elements
2 {http://www.example.com/}is-node-among-descendants-deep-equal
2 {http://www.example.com/}is-node-among-descendants
2 {http://www.example.com/}distinct-element-paths
2 {http://www.example.com/}distinct-element-names
2 {http://www.example.com/}depth-of-node
2 {http://www.example.com/test2}udf1
2 {"http://example.org"}udf1
2 {"http://example.org"}invoke_mysum
2 {"http://example.org"}fn1
2 {"http://example.org"}even
1 {http://www.w3.org/TestModules/test1}ok
1 {http://www.w3.org/2005/xquery-local-functions}testSingleNodeIdentity
1 {http://www.w3.org/2005/xquery-local-functions}t
1 {http://www.w3.org/2005/xquery-local-functions}report
1 {http://www.w3.org/2005/xquery-local-functions}proxy
1 {http://www.w3.org/2005/xquery-local-functions}prnt
1 {http://www.w3.org/2005/xquery-local-functions}partners
1 {http://www.w3.org/2005/xquery-local-functions}myFunction3
1 {http://www.w3.org/2005/xquery-local-functions}multiplySequence
1 {http://www.w3.org/2005/xquery-local-functions}moo
1 {http://www.w3.org/2005/xquery-local-functions}levenshtein
1 {http://www.w3.org/2005/xquery-local-functions}foo2
1 {http://www.w3.org/2005/xquery-local-functions}distinct-nodes-stable
1 {http://www.w3.org/2005/xquery-local-functions}compare
1 {http://www.w3.org/2005/xquery-local-functions}bid_summary
1 {http://www.w3.org/2005/xquery-local-functions}addNamespace
1 {http://www.example.com/}sequence-deep-equal
1 {http://www.example.com/}replace-multi
1 {http://www.example.com/}node-kind
1 {http://www.example.com/}namespaces-in-use
1 {http://www.example.com/}min-string
1 {http://www.example.com/}max-string
1 {http://www.example.com/}format-as-title-en
1 {http://www.example.com/}distinct-attribute-names
1 {http://www..oracle.com/xquery/test}price
1 {http://example.org}value-union
1 {http://example.org}value-intersect
1 {http://example.org}value-except
1 {http://example.org}string-pad
1 {http://example.org}if-empty
1 {http://example.org}if-absent
1 {http://example.org}distinct-nodes-stable
1 {http://example.com/Knight'sTour}main
1 {"http://www.example.com/"}unordered
1 {"http://www..oracle.com/xquery/test"}foo
1 {"http://example.org"}prnt
1 {"http://example.org"}price
1 {"http://example.org"}foo2
1 {"http://example.org"}foo
1 {"http://example.com"}_
1 {""}foo
