Data Format Description Language (DFDL) v1.0 Specification
OGF Proposed Recommendation GFD-P-R.174, January 31, 2011


8. Property Scoping Rules

This section describes the rules that govern the scope over which DFDL representation properties apply.

The scope of the representational properties on each of the component format annotations is give in the following table, DFDL annotation scoping.
Annotation Point Property Scope

Schema declaration

dfdl:format representation properties apply lexically over all components in the schema

Element declaration

dfdl:element properties apply locally

Element reference

dfdl:element properties apply locally

Simple type definition

dfdl:simpleType properties apply locally

Sequence

dfdl:sequence properties apply locally

Choice

dfdl:choice properties apply locally

Group reference

dfdl:group properties apply locally

Table 12 DFDL annotation scoping

 

Note: This table lists DFDL annotations on schema components. DFDL annotations can also be placed on other DFDL annotations, such as a dfdl:format on a dfdl:defineFormat, to provide a named reusable resource. In this case the annotation applies only where the named format is referenced.

DFDL representation properties explicitly defined on annotations, other than a dfdl:format on an xs:schema declaration, apply locally to that component only. The explicitly defined properties are the combination of any defined locally on the annotation and any defined on the dfdl:defineFormat annotation referenced by a local dfdl:ref property. When a property is defined both locally and on the dfdl:defineFormat, the locally defined property takes precedence.

The dfdl:format annotation on the top level xs:schema declaration provides defaults for the DFDL representation properties at every DFDL-annotatable component contained in the schema document. They do not apply to any components in any included or imported schema document (these may have their own defaults).


Copyright (C) Open Grid Forum (2005-2010). All Rights Reserved.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the OGF or other organizations, except as needed for the purpose of developing Grid Recommendations in which case the procedures for copyrights defined in the OGF Document process must be followed, or as required to translate it into languages other than English.