# Chapter 7 Test Suite

Last modified: 2003-07-16

## Legend

- [Level] A: MUST
- [Level] AA: SHOULD
- [Level] AAA: MAY
- [Test] (green): Passed by two or more implementations
- [Test] (yellow): Passed by one implementation
- [Test] (red): Passed by no implementation
- [Test] (white): No or partial results
- [Implementation] (full): Passed all level A tests for this test suite
- [Implementation] Pass: Passed test
- [Implementation] Fail: Failed test
- [Implementation] N/A: Not tested

## Implementation Chart

### XPath Expressions in XForms

7-1 | Level: AA | Test that invalid binding expression from an input control to an instance node dispatches an xforms-binding-exception | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
7-2 | Level: AA | Test that use of an undefined function in a binding expression from an input control to an instance node dispatches an xforms-binding-exception | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
7-3 | Level: AA | Test that use of an undefined function in a calculate expression in a bind element dispatches an xforms-compute-exception | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
7-4 | Level: AA | An xforms-compute-exception should be thrown | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### Evaluation Context

7.3-1 | Level: A | Evaluation context for outermost binding elements, including a bind element and an output element | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
7.3-2 | Level: A | Evaluation context for non-outermost binding elements, including a nested bind element and an output element inside a group element | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
7.3-3 | Level: A | The test is passed if the respective outputs display 1, 2 and 3 | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
7.3-4 | Level: A | Ensure each Subtotal becomes equal to the product of its sibling element Units and Price | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
7.3-8 | Level: A | Ensure that the input control is read only | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### Bind Expressions

7.4 | Level: A | Binding expressions tests of position(), last(), count(), index() and property() before and after inserting a new node into instance data | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### UI Binding Expressions

7.4-2 | Level: A | Create an input control whose ref contains a value test in a predicate (e.g. ref='message[@for="Roland"]') | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### XForms Core Function Library

7.6 | Level: A | Boolean Methods | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
7.7 | Level: A | Number Methods | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
7.8 | Level: A | String Methods | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
7.9 | Level: A | Date and Time Functions | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
7.10 | Level: A | Node-set Functions | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

Thierry Michel (tmichel@w3.org), W3C staff contact for XForms