11 Conformance

11.1 Conformance Levels

The XForms specification is designed for implementation on hardware platforms of all sizes, from tiny hand-held devices to high-powered servers. Clearly, a one-size-fits-all approach has its drawbacks. For this reason, there are two conformance levels for XForms Processors, documents, and authoring tools.

11.1.1 XForms Basic

This conformance level is suitable for devices with limited computing power, such as mobile phones, hand-held computers, and appliances. This conformance level uses a subset of XML Schema and does not include any resource-intensive features. Resource-limited XForms Processors may define implementation limits on the maximum size of a node-set returned by XPath expressions. XForms Basic implementations should return "basic" for the conformance-level property.

11.1.2 XForms Full

This conformance level is suitable for more powerful forms processing, such as might be found on a standard desktop browser or a server. XForms Full implementations should return "full" for the conformance-level property.

11.2 Conformance Description

11.2.1 Conforming XForms Processors

  • All XForms Processors must support the required portions of the specifications normatively listed as references (B References).

  • XForms Basic Processors must implement all required features labeled Basic.

  • XForms Full Processors must implement all required features.

11.2.2 Conforming XForms Documents

All XForms Containing Documents must conform to the required portions of the specifications normatively listed as references (B References). XForms elements are typically inserted into a containing document in multiple places. The root element for each individual fragment must be model, a form control, or one of group, switch, repeat. Individual XForms fragments must be schema-valid against the Schema for XForms (A Schema for XForms).

All XForms Basic conformant Documents must conform to all required portions of this specification marked as Basic, and additionally not include any features not specifically marked as Basic.

All XForms Full conformant Documents must conform to all required portions of this specification.

11.2.3 Conforming XForms Generators

XForms Basic Generators must create conforming XForms Basic documents.

XForms Full Generators must create conforming XForms Basic and XForms Full documents, depending on the author's choice.