XForms Test Suite

7. XPath Expressions in XForms

Test Case Description Link To Spec Normative For XForms Basic Normative For XForms Full
7.2.a evaluation context for the outermost binding elements 7.2 true true
7.2.b evaluation context for the non-outermost binding elements 7.2 true true
7.2.c context node always resides within the context model 7.2 true true
7.2.d context node for the computed expression is the node currently being processed 7.2 true true
7.2.e context size and position 7.2 true true
7.2.f namespace declarations in scope for the attribute are applied to the expression 7.2 true true
7.4.6.a binding examples 7.4.6 true true
7.5.a error in modal item property causes an xforms-compute-exception 7.5 true true
7.5.b error not in modal item property causes an xforms-binding-exception 7.5 true true
7.6.1.a boolean-from-string() function 7.6.1 true true
7.6.2.a is-card-number() function 7.6.2 true true
7.7.1.a avg() function 7.7.1 true true
7.7.1.b avg() function negative test 7.7.1 true true
7.7.2.a min() function 7.7.2 true true
7.7.2.b min() function negative test 7.7.2 true true
7.7.3.a max() function 7.7.3 true true
7.7.3.b max() function negative test 7.7.3 true true
7.7.4.a count-non-empty() function 7.7.4 true true
7.7.5.a index() function 7.7.5 true true
7.7.5.b index() function negative test 7.7.5 true true
7.7.6.a power() function 7.7.6 true true
7.7.7.a random() function 7.7.7 true true
7.7.8.a compare() function 7.7.8 true true
7.8.1.a if() function 7.8.1 true true
7.8.2.a property() function with version property 7.8.2 true true
7.8.2.b property() function with conformance-level property 7.8.2 true true
7.8.2.c property() function with invalid NCNAME property 7.8.2 true true
7.8.2.d property() function with invalid QNamebutnotNCNAME property 7.8.2 true true
7.8.3.a digest() function using sha1, md5, and sha256 7.8.3 true true
7.8.3.b digest() function using sha384 and sha512 7.8.3 false false
7.8.3.c digest() function negative test with invalid NCNAME property 7.8.3 true true
7.8.3.d digest() function negative test with a QNameButNotNCNAME 7.8.3 true true
7.8.3.e digest() function with invalid encoding method 7.8.3 true true
7.8.3.f digest() function default encoding base64 7.8.3 true true
7.8.4.a hmac() function using sha1, md5, and sha256 7.8.4 true true
7.8.4.b hmac() function using sha384 and sha512 7.8.4 true true
7.8.4.c hmac() function with invalid NCNAME property 7.8.4 true true
7.8.4.d hmac() function with invalid QNameButNotNCNAME 7.8.4 true true
7.8.4.e hmac() function with invalid encoding method 7.8.4 true true
7.8.4.f hmac() function using default encoding base64 7.8.4 true true
7.9.1.a local-date() function 7.9.1 true true
7.9.2.a local-dateTime() function 7.9.2 true true
7.9.3.a now() function 7.9.3 true true
7.9.4.a days-from-date() function 7.9.4 true true
7.9.4.b days-from-date() function ignores hours, minutes, and seconds components 7.9.4 true true
7.9.4.c days-from-date() function negative test 7.9.4 true true
7.9.5.a days-to-date() function 7.9.5 true true
7.9.6.a seconds-from-dateTime() function 7.9.6 true true
7.9.7.a seconds-to-dateTime() function 7.9.7 true true
7.9.8.a adjust-dateTime-to-timezone() function 7.9.8 true true
7.9.9.a seconds() function 7.9.9 true true
7.9.10.a months() function 7.9.10 true true
7.10.1.a instance() function 7.10.1 true true
7.10.2.a current() function example 1 7.10.2 true true
7.10.2.b current() function example 2 7.10.2 true true
7.10.3.a id() function 7.10.3 true true
7.10.3.b id() function with xml:id 7.10.3 true true
7.10.3.c id() function with xsi:type 7.10.3 true true
7.10.4.a context() function 7.10.4 true true
7.11.1.a choose() function 7.11.1 true true
7.11.2.a event() function with inserted-nodes property 7.11.2 true true
7.12.a invalid functions attribute in model element 7.12 true true