Export (0) Print
Expand All

2.2.7 [XML] Section 3.2, Element Type Declarations

C0009:

The specification states:

The element structure of an XML document may, for validation purposes, be 
constrained using element type and attribute-list declarations. An element 
type declaration constrains the element's content.

Element type declarations often constrain which element types can appear as 
children of the element. At user option, an XML processor MAY issue a warning 
when a declaration mentions an element type for which no declaration is 
provided, but this is not an error.

IE9 Mode, IE10 Mode, IE11 Mode and Edge (beta) Mode (All Versions)

The element structure of an XML document is not constrained for validation purposes.

C0010:

The specification states:

Validity constraint: Unique Element Type Declaration
An element type MUST NOT be declared more than once.

IE9 Mode, IE10 Mode, IE11 Mode and Edge (beta) Mode (All Versions)

Elements can be declared more than once.

Show:
© 2015 Microsoft