OPS User Guide

XForms Test Suite

1. Scope

Orbeon PresentationServer (OPS)'s form handling is based on the XForms 1.0 W3C Recommendation. This section presents the result of the XForms test suite.

2. Results

XForms Specification Section Comment Conformance
2. Introduction to XForms 2.1 An Example Fails
2.2 Providing XML Instance Data Fails
2.3 Constraining Values No support for custom schema types at the moment. Fails
2.4 Multiple Forms per Document No support for custom schema types at the moment. Fails
3. Document Structure 3.1 The XForms Namespace a1, a2 ok Passes
3.2 XForms Core Attribute Collections 3.2.1 Common Attributes Passes
3.2.2 Linking Attributes For a2, we just throw a Java exception. Should we throw an XML event instead? Passes
3.2.3 Single-Node Binding Attributes a1 ok; a2 ok (negative test); b fails; c ok; d,e, f fail; g ok Fails
3.2.4 Node-Set Binding Attributes Not tested
3.2.5 Model Item Property Attributes Not tested
3.3 The XForms Core Module 3.3.1 The model Element Not tested
3.3.2 The instance Element Not tested
3.3.3 The submission Element Not tested
3.3.4 The bind Element Not tested
3.4 The XForms MustUnderstand Module Not tested
3.5 The XForms Extension Module 3.5.1 The extension Element Not tested
4 Processing Model Not tested
5 Datatypes 5.1 XML Schema Built-in Datatypes Not tested
5.2 XForms Datatypes 5.2.1 xforms:listItem Not tested
5.2.2 xforms:listItems Not tested
5.2.3 xforms:dayTimeDuration Not tested
5.2.4 xforms:yearMonthDuration Not tested
6 Model Item Properties 6.1 Model Item Property Definitions 6.1.1 The type Property Not tested
6.1.2 The readonly Property Not tested
6.1.3 The required Property Not tested
6.1.4 The relevant Property Not tested
6.1.5 The calculate Property Not tested
6.1.6 The constraint Property Not tested
6.1.7 The p3ptype Property Not tested
6.2 Schema Constraints 6.2.1 Atomic Datatype Not tested
7 XPath Expressions in XForms 7.1 XPath Datatypes Not tested
7.2 Feature string for the hasFeature method call Not tested
7.3 Instance Data Not tested
7.4 Evaluation Context Not tested
7.5 Binding Expressions 7.5.1 Dynamic Dependencies Not tested
7.5.2 Model Binding Expressions Not tested
7.5.3 UI Binding Expressions Not tested
7.5.4 UI Binding in other XML vocabularies Not tested
7.5.5 Binding Examples Not tested
7.6 XForms Core Function Library Not tested
7.7 Boolean Functions 7.7.1 The boolean-from-string() Function Not tested
7.7.2 The if() Function Not tested
7.8 Number Functions 7.8.1 The avg() Function Not tested
7.8.2 The min() Function Not tested
7.8.3 The max() Function Not tested
7.8.4 The count-non-empty() Function Not tested
7.8.5 The index() Function Not tested
7.9 String Functions 7.9.1 The property() Function Not tested
7.10 Date and Time Functions 7.10.1 The now() Function Not tested
7.10.2 The days-from-date() Function Not tested
7.10.3 The seconds-from-dateTime() Function Not tested
7.10.4 The seconds() Function Not tested
7.10.5 The months() Function Not tested
7.11 Node-set Functions 7.11.1 The instance() Function Not tested
7.12 Extension Functions Not tested
8 Form Controls 8.1 The XForms Form Controls Module 8.1.1 Implementation Requirements Common to All Form Controls Not tested
8.1.2 The input Element Not tested
8.1.3 The secret Element Not tested
8.1.4 The textarea Element Not tested
8.1.5 The output Element Not tested
8.1.6 The upload Element Not tested
8.1.7 The range Element Not tested
8.1.8 The trigger Element Not tested
8.1.9 The submit Element Not tested
8.1.10 The select Element Not tested
8.1.11 The select1 Element Not tested
8.2 Common Markup for Selection Controls 8.2.1 The choices Element Not tested
8.2.2 The item Element Not tested
8.2.3 The value Element Not tested
8.3 Additional Elements 8.3.1 The filename Element Not tested
8.3.2 The mediatype Element Not tested
8.3.3 The label Element Not tested
8.3.4 The help Element Not tested
8.3.5 The hint Element Not tested
8.3.6 The alert Element Not tested
9 XForms User Interface 9.1 The XForms Group Module 9.1.1 The group Element Not tested
9.2 The XForms Switch Module 9.2.1 The switch Element Not tested
9.2.2 The case Element Not tested
9.2.3 The toggle Element Not tested
9.3 The XForms Repeat Module 9.3.1 The repeat Element Not tested
9.3.2 Creating Repeating Structures Via Attributes Not tested
9.3.3 The itemset Element Not tested
9.3.4 The copy Element Not tested
9.3.5 The insert Element Not tested
9.3.6 The delete Element Not tested
9.3.7 The setindex Element Not tested
9.3.8 Repeat Processing Not tested
9.3.9 Nested Repeats Not tested
9.3.10 User Interface Interaction Not tested
10 XForms Actions 10.1 The XForms Action Module 10.1.1 The action Element Not tested
10.1.2 The dispatch Element Not tested
10.1.3 The rebuild Element Not tested
10.1.4 The recalculate Element Not tested
10.1.5 The revalidate Element Not tested
10.1.6 The refresh Element Not tested
10.1.7 The setfocus Element Not tested
10.1.8 The load Element Not tested
10.1.9 The setvalue Element Not tested
10.1.10 The send Element Not tested
10.1.11 The reset Element Not tested
10.1.12 The message Element Not tested
10.1.13 Actions insert, delete and setindex Not tested
11 Submit 11.1 The xforms-submit Event Not tested
11.2 Submission Options Not tested
11.3 Serialization as application/xml Not tested
11.4 Serialization as multipart/related Not tested
11.5 Serialization as multipart/form-data Not tested
11.6 Serialization as application/x-www-form-urlencoded Not tested
11.7 The post, multipart-post, form-data-post, and urlencoded-post Submit Methods Not tested
11.8 The put Submit Method Not tested
11.9 The get Submit Method Not tested