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

### Document Structure

3-001 | Level: A | Namespace support | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
3-002 | Level: A | Common attributes | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### Single node binding attributes

3-003a | Level: A | specify both a bind and a ref and ensure that bind is used | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
3-003b | Level: A | specify both a bind and a model and ensure that bind is used | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
3-003c | Level: A | ensure that either a bind or a ref are supplied | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### Binding attribute

3-004a | Level: A | model attribute refers to a model element | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
3-004b | Level: A | bind attribute refers to a bind element | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### First node rule

3-005 | Level: A | ensure that first node is used if binding selects a nodeset > 1 | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### Nodeset binding attributes

3-006a | Level: A | Nodeset is ignored if bind attribute is specified | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
3-006b | Level: A | model is ignored if bind attribute is specified | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass
3-006c | Level: A | ensure that either a bind or a nodeset are supplied | X-Smiles: Pass | Novell: N/A | FormsPlayer: Pass

### Model element Fail xpath functions

3-008 | Level: AA | ensure that additional XPath functions can be specified with the functions attribute | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass

### instance element Fail schema

3-009 | Level: AA | ensure that the restriction of one Schema per namespace declaration is enforced. | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass

### instance element

3-010a | Level: A | No "instance" element supplied | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
3-010b | Level: A | an external source which will not be found and should generate an xforms-link-exception | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass
3-010c | Level: A | "instance" element referring to an external document as well as an inline one | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### bind element

3-011 | Level: AA | Create an XForm without an instance element | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### extension element

3-013 | Level: AA | extension element with namespaced content that the processor does not recognize and ensure that no errors are signalled | X-Smiles: Pass | Novell: Pass | FormsPlayer: Pass

### mustunderstand attribute

3-012 | Level: AA | Create an XForm with one or more foreign namespaced elements that are marked as mustUnderstand but which the processor will not recognize and that it dispatches the appropriate error event | X-Smiles: Pass | Novell: Fail | FormsPlayer: Pass

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