Documentation for Crossword Compiler Schema

Table of Contents

top

Schema Document Properties

Target Namespace http://www.example.org/cc
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations have no namespace.
  • By default, local attribute declarations have no namespace.

Declared Namespaces

Prefix Namespace
Default namespace http://www.w3.org/2001/XMLSchema
tns http://www.example.org/cc
xml http://www.w3.org/XML/1998/namespace
Schema Component Representation
<schema targetNamespace="http://www.example.org/cc">
...
</schema>
top

Global Declarations

Element: b

  • This element can be used wherever the following element is referenced:
Name b
Type tns:snippet-type
Nillable no
Abstract no
Logical Diagram
h464208646
XML Instance Representation
<tns:b>
<!-- Mixed content -->
<tns:snippet-part> ... </tns:snippet-part> [0..*]
</tns:b>
Diagram
h464208646 h464208646
Schema Component Representation
<element name="b" type=" tns:snippet-type " substitutionGroup="tns:snippet-part"/>
top

Element: i

  • This element can be used wherever the following element is referenced:
Name i
Type tns:snippet-type
Nillable no
Abstract no
Logical Diagram
h464208646
XML Instance Representation
<tns:i>
<!-- Mixed content -->
<tns:snippet-part> ... </tns:snippet-part> [0..*]
</tns:i>
Diagram
h464208646 h464208646
Schema Component Representation
<element name="i" type=" tns:snippet-type " substitutionGroup="tns:snippet-part"/>
top

Element: rectangular-puzzle

Name rectangular-puzzle
Type tns:rectangular-puzzle-type
Nillable no
Abstract no
Logical Diagram
h1976618439 h-1091273926 h-604347116 h840289544
XML Instance Representation
<tns:rectangular-puzzle>
Start Choice [1]

'Three types of puzzles are supported \"crossword with clues, coded crossword and sudoku.'


<crossword> tns:crossword-type </crossword> [1]
<sudoku> tns:sudoku-type </sudoku> [1]
<coded> tns:coded-type </coded> [1]
<word-search> tns:word-search-type </word-search> [1]
End Choice
</tns:rectangular-puzzle>
Diagram
h1923003266 h-659477205 h-21301931 h1881742433
Schema Component Representation
<element name="rectangular-puzzle" type=" tns:rectangular-puzzle-type "/>
top

Element: snippet-part

  • The following elements can be used wherever this element is referenced:
Name snippet-part
Type tns:snippet-type
Nillable no
Abstract yes
Logical Diagram
h464208646
XML Instance Representation
<tns:snippet-part>
<!-- Mixed content -->
<tns:snippet-part> ... </tns:snippet-part> [0..*]
</tns:snippet-part>
Diagram
h-573206867 h-258516001 h-258515994 h674246283 h674246269
Schema Component Representation
<element name="snippet-part" type=" tns:snippet-type " abstract="true"/>
top

Element: span

  • This element can be used wherever the following element is referenced:
Name span
Type tns:snippet-type
Nillable no
Abstract no
Logical Diagram
h464208646
XML Instance Representation
<tns:span>
<!-- Mixed content -->
<tns:snippet-part> ... </tns:snippet-part> [0..*]
</tns:span>
Diagram
h464208646 h464208646
Schema Component Representation
<element name="span" type=" tns:snippet-type " substitutionGroup="tns:snippet-part"/>
top

Element: sub

  • This element can be used wherever the following element is referenced:
Name sub
Type tns:snippet-type
Nillable no
Abstract no
Logical Diagram
h464208646
XML Instance Representation
<tns:sub>
<!-- Mixed content -->
<tns:snippet-part> ... </tns:snippet-part> [0..*]
</tns:sub>
Diagram
h464208646 h464208646
Schema Component Representation
<element name="sub" type=" tns:snippet-type " substitutionGroup="tns:snippet-part"/>
top

Element: sup

  • This element can be used wherever the following element is referenced:
Name sup
Type tns:snippet-type
Nillable no
Abstract no
Logical Diagram
h464208646
XML Instance Representation
<tns:sup>
<!-- Mixed content -->
<tns:snippet-part> ... </tns:snippet-part> [0..*]
</tns:sup>
Diagram
h464208646 h464208646
Schema Component Representation
<element name="sup" type=" tns:snippet-type " substitutionGroup="tns:snippet-part"/>
top

Global Definitions

Complex Type: cells-in-word-type

Super-types: None
Sub-types: None
Name cells-in-word-type
Abstract no
XML Instance Representation
<...
x="string [0..1]

'Range (e.g. 5-10) or one number of cells. Direction is from first number to the second. In other words first number can be greater. In this case direction is \'from right to left\'.'

"

y="string [0..1]

'Range (e.g. 5-10) or one number of cells. Direction is from first number to the second. In other words first number can be greater. In this case direction is \'up\'.'

"
/>
Diagram
Schema Component Representation
<complexType name="cells-in-word-type">
<attribute name="x" type=" string " use="optional"/>
<attribute name="y" type=" string " use="optional"/>
</complexType>
top

Complex Type: cell-type

Super-types: None
Sub-types: None
Name cell-type
Abstract no
Documentation This type contains attributes used to configure one cell.
XML Instance Representation
<...
x="int [1]

'X-position of the cell.'

"

y="int [1]

'Y-position of the cell.'

"

width="int [0..1]

'For squares spanning more than one base square. Default value is 1.'

"

height="int [0..1]

'For squares spanning more than one base square. Default value is 1.'

"

type=" tns:cell-type-enum [1]

'Type of the cell: letter, block, void, clue.'

"

solution="string [0..1]

'Solution for this cell.'

"

solve-state="string [0..1]

'Useful to save/load state of a puzzle.'

"

solve-pencil="boolean [0..1]

'If true than the letter is rendered as \'temporary\'? Useful to save/load state of a puzzle.'

"

hint="boolean [0..1]

'If true than the solution is visible for a user.'

"

number="string [0..1]

'Number in top left corner.'

"

top-right-number="string [0..1]

'Number in top right corner'

"

left-bar="boolean [0..1]

'Left-side bar'

"

top-bar="boolean [0..1]

'Upper bar'

"

background-shape=" tns:background-shapes-enum [0..1]

'Background shape. Currently \'circle\' is only supported background shape.'

"

background-color=" tns:color-type [0..1]

'Background color allows to override grid background for this cell.'

"

foreground-color=" tns:color-type [0..1]

'Foreground color allows to override grid foreground for this cell.'

"
>
<background-picture> tns:picture-type </background-picture> [0..1]

'Background image of the cell. It is resized to fulfill all cell.'

</...>
Diagram
h-395203698 h1248622766 h1289828738 h1722189193 h1722189193
Schema Component Representation
<complexType name="cell-type">
<sequence>
<element name="background-picture" type=" tns:picture-type " maxOccurs="1" minOccurs="0"/>
</sequence>
<attribute name="x" type=" int " use="required"/>
<attribute name="y" type=" int " use="required"/>
<attribute name="width" type=" int " use="optional"/>
<attribute name="height" type=" int " use="optional"/>
<attribute name="type" type=" tns:cell-type-enum " use="required"/>
<attribute name="solution" type=" string " use="optional"/>
<attribute name="solve-state" type=" string " use="optional"/>
<attribute name="solve-pencil" type=" boolean " use="optional"/>
<attribute name="hint" type=" boolean " use="optional"/>
<attribute name="number" type=" string " use="optional"/>
<attribute name="top-right-number" type=" string " use="optional"/>
<attribute name="left-bar" type=" boolean " use="optional"/>
<attribute name="top-bar" type=" boolean " use="optional"/>
<attribute name="background-shape" type=" tns:background-shapes-enum " use="optional"/>
<attribute name="background-color" type=" tns:color-type " use="optional"/>
<attribute name="foreground-color" type=" tns:color-type " use="optional"/>
</complexType>
top

Complex Type: clues-container-type

Super-types: None
Sub-types: None
Name clues-container-type
Abstract no
Documentation Used to render some clues as one block.
XML Instance Representation
<...>
<title> tns:snippet-type </title> [1]

'Title of the block.'

<clue> tns:clue-type </clue> [1..*]

'List of clues.'

</...>
Diagram
h-1289301297 h-581279479
Schema Component Representation
<complexType name="clues-container-type">
<sequence>
<element name="title" type=" tns:snippet-type "/>
<element name="clue" type=" tns:clue-type " minOccurs="1" maxOccurs="unbounded"/>
</sequence>
</complexType>
top

Complex Type: clue-type

Super-types: None
Sub-types: None
Name clue-type
Abstract no
XML Instance Representation
<...
word=" tns:word-ref [1]

'Used to link word (solution) and the clue.'

"

number="string [1]

'Number of the clue.'

"
>
<!-- Mixed content -->
<tns:snippet-part> ... </tns:snippet-part> [0..*]
</...>
Diagram
h464208646 h1113752245
Schema Component Representation
<complexType name="clue-type" mixed="true">
<sequence>
<element ref=" tns:snippet-part " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="word" type=" tns:word-ref " use="required"/>
<attribute name="number" type=" string " use="required"/>
</complexType>
top

Complex Type: coded-type

Super-types: None
Sub-types: None
Name coded-type
Abstract no
Documentation This element is to store coded crossword.
XML Instance Representation
<...
alphabet="string [0..1]

'This attribute is comma-separated string which contains letters used in the puzzle.'

"
>
<grid> tns:grid-type </grid> [1]
<word> tns:word-type </word> [1..*]
</...>
Diagram
h557025948 h166660440
Schema Component Representation
<complexType name="coded-type">
<sequence>
<element name="grid" type=" tns:grid-type " minOccurs="1" maxOccurs="1"/>
<element name="word" type=" tns:word-type " minOccurs="1" maxOccurs="unbounded"/>
</sequence>
<attribute name="alphabet" type=" string " use="optional"/>
</complexType>
top

Complex Type: crossword-type

Super-types: None
Sub-types: None
Name crossword-type
Abstract no
Documentation Crossword
XML Instance Representation
<...>
<grid> tns:grid-type </grid> [1]

'Rectangular grid. To emulate shape crosswords omit (or use type=\"void\") cells which are out of bounds of the shape.'

<word> tns:word-type </word> [1..*]

'Links several cells into one word. If the word is not hidden than all cells of the word are highlighted when only one of is selected. If a word is linked with a clue than the clue is highlighted when selected a cell which belongs to the word and the word is highlighted when a user selects the clue.'

<clues> tns:clues-container-type </clues> [1..2]

'Blocks of clues.'

</...>
Diagram
h557025948 h166660440 h-1990677442
Schema Component Representation
<complexType name="crossword-type">
<sequence>
<element name="grid" type=" tns:grid-type " maxOccurs="1" minOccurs="1"/>
<element name="word" type=" tns:word-type " maxOccurs="unbounded" minOccurs="1"/>
<element name="clues" type=" tns:clues-container-type " maxOccurs="2" minOccurs="1"/>
</sequence>
</complexType>
top

Complex Type: grid-look-type

Super-types: None
Sub-types: None
Name grid-look-type
Abstract no
Documentation This element is to store stylistic parameters of the grid.
XML Instance Representation
<...
italian-style="boolean [0..1]

'If true than blocks are rendered in Italian style. Default value is false.'

"

bar-seps="boolean [0..1]"
thick-border="boolean [0..1]

'Borders are thicker (2px) if this attribute is true. Default value is false.'

"

numbering-scheme=" tns:numbering-scheme-type [1]

'Can be normal, sequential, coded, none.'

"

cell-size-in-pixels="int [0..1]

'Allows to specify size of cells in pixel. Default value is 21.'

"

grid-line-color=" tns:color-type [1]

'Color of lines of the grid.'

"

block-color=" tns:color-type [1]

'Color of blocks'

"

font-color=" tns:color-type [1]

'Letter color.'

"

number-color=" tns:color-type [1]

'Color used for numbers in left and right-top numbers.'

"
>
<numbered-sides> tns:numbered-sides-type </numbered-sides> [0..1]

'Enables to have numbered sides of the puzzle.'

</...>
Diagram
h142775595 h575763273 h1722189193 h1722189193 h1722189193 h1722189193
Schema Component Representation
<complexType name="grid-look-type">
<sequence>
<element name="numbered-sides" type=" tns:numbered-sides-type " maxOccurs="1" minOccurs="0"/>
</sequence>
<attribute name="italian-style" type=" boolean " use="optional"/>
<attribute name="bar-seps" type=" boolean " use="optional"/>
<attribute name="thick-border" type=" boolean " use="optional"/>
<attribute name="numbering-scheme" type=" tns:numbering-scheme-type " use="required"/>
<attribute name="cell-size-in-pixels" type=" int " use="optional"/>
<attribute name="grid-line-color" type=" tns:color-type " use="required"/>
<attribute name="block-color" type=" tns:color-type " use="required"/>
<attribute name="font-color" type=" tns:color-type " use="required"/>
<attribute name="number-color" type=" tns:color-type " use="required"/>
</complexType>
top

Complex Type: grid-type

Super-types: None
Sub-types: None
Name grid-type
Abstract no
XML Instance Representation
<...
width="int [1]"
height="int [1]">
<grid-look> tns:grid-look-type </grid-look> [1]
<cell> tns:cell-type </cell> [1..*]
</...>
Diagram
h1421805446 h906755584
Schema Component Representation
<complexType name="grid-type">
<sequence>
<element name="grid-look" type=" tns:grid-look-type " maxOccurs="1" minOccurs="1"/>
<element name="cell" type=" tns:cell-type " maxOccurs="unbounded" minOccurs="1"/>
</sequence>
<attribute name="width" type=" int " use="required"/>
<attribute name="height" type=" int " use="required"/>
</complexType>
top

Complex Type: numbered-sides-type

Super-types: None
Sub-types: None
Name numbered-sides-type
Abstract no
XML Instance Representation
<...
across="string [0..1]"
down="string [0..1]"/>
Diagram
Schema Component Representation
<complexType name="numbered-sides-type">
<attribute name="across" type=" string "/>
<attribute name="down" type=" string "/>
</complexType>
top

Complex Type: picture-type

Super-types: None
Sub-types: None
Name picture-type
Abstract no
XML Instance Representation
<...>
<encoded-image> string </encoded-image> [1]

'It is BASE64 encoded image.'

</...>
Diagram
Schema Component Representation
<complexType name="picture-type">
<sequence>
<element name="encoded-image" type=" string "/>
</sequence>
</complexType>
top

Complex Type: rectangular-puzzle-type

Super-types: None
Sub-types: None
Name rectangular-puzzle-type
Abstract no
Documentation The root element
XML Instance Representation
<...>
Start Choice [1]

'Three types of puzzles are supported \"crossword with clues, coded crossword and sudoku.'


<crossword> tns:crossword-type </crossword> [1]
<sudoku> tns:sudoku-type </sudoku> [1]
<coded> tns:coded-type </coded> [1]
<word-search> tns:word-search-type </word-search> [1]
End Choice
</...>
Diagram
h1923003266 h-659477205 h-21301931 h1881742433
Schema Component Representation
<complexType name="rectangular-puzzle-type">
<sequence>
<choice>
<element name="crossword" type=" tns:crossword-type "/>
<element name="sudoku" type=" tns:sudoku-type "/>
<element name="coded" type=" tns:coded-type "/>
<element name="word-search" type=" tns:word-search-type "/>
</choice>
</sequence>
</complexType>
top

Complex Type: snippet-type

Super-types: None
Sub-types: None
Name snippet-type
Abstract no
XML Instance Representation
<...>
<!-- Mixed content -->
<tns:snippet-part> ... </tns:snippet-part> [0..*]
</...>
Diagram
h464208646
Schema Component Representation
<complexType name="snippet-type" mixed="true">
<sequence>
<element ref=" tns:snippet-part " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</complexType>
top

Complex Type: sudoku-type

Super-types: None
Sub-types: None
Name sudoku-type
Abstract no
Documentation This element is to store Sudoku puzzle.
XML Instance Representation
<...>
<grid> tns:grid-type </grid> [1]
</...>
Diagram
h557025948
Schema Component Representation
<complexType name="sudoku-type">
<sequence>
<element name="grid" type=" tns:grid-type " minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
top

Complex Type: word-search-type

Super-types: None
Sub-types: None
Name word-search-type
Abstract no
Documentation Crossword
XML Instance Representation
<...>
<grid> tns:grid-type </grid> [1]

'Rectangular grid. To emulate shape crosswords omit (or use type=\"void\") cells which are out of bounds of the shape.'

<word> tns:word-type </word> [1..*]

'Links several cells into one word. If the word is not hidden than all cells of the word are highlighted when only one of is selected. If a word is linked with a clue than the clue is highlighted when selected a cell which belongs to the word and the word is highlighted when a user selects the clue.'

<clues> tns:clues-container-type </clues> [1]

'Blocks of clues.'

</...>
Diagram
h557025948 h166660440 h-1990677442
Schema Component Representation
<complexType name="word-search-type">
<sequence>
<element name="grid" type=" tns:grid-type " maxOccurs="1" minOccurs="1"/>
<element name="word" type=" tns:word-type " maxOccurs="unbounded" minOccurs="1"/>
<element name="clues" type=" tns:clues-container-type " maxOccurs="1" minOccurs="1"/>
</sequence>
</complexType>
top

Complex Type: word-type

Super-types: None
Sub-types: None
Name word-type
Abstract no
Documentation Word is a union of cells. The most general format is store words as a list of cells where every cell is identified by its coordinates. It is very flexible but verbose format. To make it less verbose 'range' is also supported. Range is string 'start-finish' (e.g. 5-10). First number is considered to be start position, so to create 'from right to left' or 'up' orientation use inversed ranges where first number is greater (e.g. 10-5).
XML Instance Representation
<...
id="string [1]

'Id is used to refer to the word from a clue.'

"

x="string [0..1]

'Range (e.g. 5-10) or one number of cells. Direction is from first number to the second. In other words first number can be greater. In this case direction is \'from right to left\'.'

"

y="string [0..1]

'Range (e.g. 5-10) or one number of cells. Direction is from first number to the second. In other words first number can be greater. In this case direction is \'up\'.'

"

solution="string [0..1]

'Used to specify multi-word solutions. E.g. \'Big Ben\' instead of \'BIGBEN\'.'

"

hidden="boolean [0..1]

'If true than cells in this word are not highlighted together and link between clue and a cell is not visible for users.'

"
>
<cells> tns:cells-in-word-type </cells> [0..*]
</...>
Diagram
h-29795434
Schema Component Representation
<complexType name="word-type">
<sequence>
<element name="cells" type=" tns:cells-in-word-type " minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type=" string " use="required"/>
<attribute name="x" type=" string " use="optional"/>
<attribute name="y" type=" string " use="optional"/>
<attribute name="solution" type=" string " use="optional"/>
<attribute name="hidden" type=" boolean " use="optional"/>
</complexType>
top

Simple Type: background-shapes-enum

Super-types: string < background-shapes-enum (by restriction)
Sub-types: None
Name background-shapes-enum
Content
  • Base XSD Type: string
  • value comes from list: {'circle'}
Diagram
Schema Component Representation
<simpleType name="background-shapes-enum">
<restriction base=" string ">
<enumeration value="circle"/>
</restriction>
</simpleType>
top

Simple Type: cell-type-enum

Super-types: string < cell-type-enum (by restriction)
Sub-types: None
Name cell-type-enum
Content
  • Base XSD Type: string
  • value comes from list: {'letter'|'block'|'void'|'clue'}
Diagram
Schema Component Representation
<simpleType name="cell-type-enum">
<restriction base=" string ">
<enumeration value="letter"/>
<enumeration value="block"/>
<enumeration value="void"/>
<enumeration value="clue"/>
</restriction>
</simpleType>
top

Simple Type: color-type

Super-types: string < color-type (by restriction)
Sub-types: None
Name color-type
Content
  • Base XSD Type: string
Documentation This type is used to specify a color. Format is comma-separated string where first number is red component, second - green, third - blue.
Diagram
Schema Component Representation
<simpleType name="color-type">
<restriction base=" string "/>
</simpleType>
top

Simple Type: font-family-type

Super-types: string < font-family-type (by restriction)
Sub-types: None
Name font-family-type
Content
  • Base XSD Type: string
Diagram
Schema Component Representation
<simpleType name="font-family-type">
<restriction base=" string "/>
</simpleType>
top

Simple Type: frame-type

Super-types: string < frame-type (by restriction)
Sub-types: None
Name frame-type
Content
  • Base XSD Type: string
Documentation The name of the frame to use when open a URL.
Diagram
Schema Component Representation
<simpleType name="frame-type">
<restriction base=" string "/>
</simpleType>
top

Simple Type: layout-type

Super-types: string < layout-type (by restriction)
Sub-types: None
Name layout-type
Content
  • Base XSD Type: string
  • value comes from list: {'right'|'below'|'left'}
Documentation This type is used to specify layout of the element.
Diagram
Schema Component Representation
<simpleType name="layout-type">
<restriction base=" string ">
<enumeration value="right"/>
<enumeration value="below"/>
<enumeration value="left"/>
</restriction>
</simpleType>
top

Simple Type: numbering-scheme-type

Super-types: string < numbering-scheme-type (by restriction)
Sub-types: None
Name numbering-scheme-type
Content
  • Base XSD Type: string
  • value comes from list: {'normal'|'sequential'|'coded'|'none'}
Diagram
Schema Component Representation
<simpleType name="numbering-scheme-type">
<restriction base=" string ">
<enumeration value="normal"/>
<enumeration value="sequential"/>
<enumeration value="coded"/>
<enumeration value="none"/>
</restriction>
</simpleType>
top

Simple Type: word-ref

Super-types: string < word-ref (by restriction)
Sub-types: None
Name word-ref
Content
  • Base XSD Type: string
Diagram
Schema Component Representation
<simpleType name="word-ref">
<restriction base=" string "/>
</simpleType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia" >
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice [1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1] ?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexType name="AusAddress">
<complexContent>
<extension base=" Address ">
<sequence>
<element name="state" type=" AusStates "/>
<element name="postcode">
<simpleType>
<restriction base=" string ">
<pattern value="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="country" type=" string " fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top