# Chapter 10 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

### Action Module

10-1 | Level: A | Actions an implementation does not recognize should be silently ignored. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### actions

10.1.1-1 | Level: A | If an ev:event attribute is specified on the action element, the action is triggered when the corresponding event is targeted at its parent (this is XML Events) | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-1a | Level: A | Children of the action element are processed in sequence, with each action completing before the next begins. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-1b | Level: A | At the end of processing the <action> element, the UI and instance MUST be completely up to date. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-2 | Level: A | rebuild actions must be processed immediately. | X-Smiles: Pass | Novell: N/A | FormsPlayer: Pass
10.1.1-2a | Level: A | If a rebuild is flagged to occur and the rebuild action is processed, the rebuild action MUST NOT occur at the end of <action> processing. | X-Smiles: Pass | Novell: N/A | FormsPlayer: Pass
10.1.1-3 | Level: A | recalculate actions must be processed immediately. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-3a | Level: A | If a recalculate is flagged to occur and the recalculate action is processed, the recalculate action MUST NOT occur at the end of <action> processing. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-4a | Level: A | revalidate actions must be processed immediately. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-4 | Level: A | If a revalidate is flagged to occur and the revalidate action is processed, the revalidate action MUST NOT occur at the end of <action> processing. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-5a | Level: A | refresh actions must be processed immediately. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-5 | Level: A | If a refresh is flagged to occur and the refresh action is processed, the refresh action MUST NOT occur at the end of <action> processing. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-6 | Level: A | When the insert action has been processed, the rebuild,recalculate,revalidate, and refresh actions MUST NOT occur until <action> processing concludes, at which time the actions MUST occur. | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass
10.1.1-6a | Level: A | When the delete action has been processed, the rebuild,recalculate,revalidate, and refresh actions MUST NOT occur until <action> processing concludes, at which time the actions MUST occur. | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass
10.1.1-6b | Level: A | When the setvalue action has been processed, the recalculate,revalidate, and refresh actions MUST NOT occur until <action> processing concludes, at which time the actions MUST occur. | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass
10.1.1-6c | Level: A | When the setvalue action has been processed, the rebuild action MUST NOT occur. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-6d | Level: A | When the setindex action has been processed, the recalculate,revalidate, and refresh actions MUST NOT occur until <action> processing concludes, at which time the actions MUST occur. | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass
10.1.1-6e | Level: A | When the setindex action has been processed, the rebuild action MUST NOT occur. | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass
10.1.1-6f | Level: A | reset actions must be processed immediately. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-6g | Level: A | If a rebuild,recalculate,revalidate or refresh is flagged to occur and the reset action is processed, the flagged actions MUST NOT occur at the end of <action> processing. | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass
10.1.1-6h | Level: A | When the dispatch action is processed, the rebuild,recalculate,revalidate, and refresh actions MUST NOT occur. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-6i | Level: A | When the setfocus action is processed, the rebuild,recalculate,revalidate, and refresh actions MUST NOT occur. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-6j | Level: A | When the load action is processed, the rebuild,recalculate,revalidate, and refresh actions MUST NOT occur. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-6k | Level: A | When the message action is processed, the rebuild,recalculate,revalidate, and refresh actions MUST NOT occur. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-6l | Level: A | When the send action is processed, and the current document is *not* replaced, the rebuild,recalculate,revalidate, and refresh actions MUST NOT occur at the end of <action> processing. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.1-6m | Level: A | <action> actions must be processed immediately. | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### setvalue

10.1.9-1 | Level: A | setvalue actions with no model+ref or bind attribute MUST be ignored | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.9-2 | Level: A | setvalue actions pointed at an element with no text node child MUST create a textnode with the specified value as the first child of the element | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.9-3 | Level: A | setvalue actions pointed at an element with multiple text node children MUST replace the first textnode with the specified value | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.9-4 | Level: A | setvalue actions pointed at an attribute MUST set the attribute's value to the specified value | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.9-6 | Level: A | setvalue actions with no value attribute and no text MUST set the corresponding node to "" | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.9-7 | Level: A | setvalue actions with text and no value attribute MUST set the corresponding node to the text | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.9-8 | Level: A | setvalue actions with value attribute and no text MUST set the corresponding node to the value | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.9-9 | Level: A | setvalue actions with value attribute and text MUST set the corresponding node to the value | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.9-11 | Level: A | setvalue actions with model+ref pointed at multiple nodes MUST set the first node in the set to the value | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### send

10.1.10-1 | Level: A | send action must fire the xforms-submit event at the specified submission | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### reset

10.1.11-2 | Level: A | reset action must fire the xforms-reset event at the specified model | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass

### message

10.1.12-2 | Level: A | message actions with no level MUST be ignored | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.12-3 | Level: A | message actions with a failed [resource|src] link MUST fire the xforms- link-error event with the [resource|src] URI in it | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.12-4 | Level: A | message actions with [resource|src] link MUST display the message | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.12-5 | Level: A | message actions with bind/ref/model link MUST display the message | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.12-6 | Level: A | message actions with textnode link MUST display the message | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.12-7 | Level: AA | message actions with level="ephemeral" SHOULD allow processing to continue immediately and SHOULD NOT require user interaction to remove the disruption from the user's experience | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.12-8 | Level: A | message actions with level="modeless" SHOULD allow processing to continue immediately | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.12-9 | Level: AA | message actions with level="modal" SHOULD NOT allow processing to continue until the user has explicitly agreed to continue | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
10.1.12-10 | Level: A | message actions with level values that are recognized by the user agent MUST be ignored | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

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