r3 XML Schema Documentation

Table of Contents



| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Schema Document Properties

Target Namespace http://www.semwebtech.org/eca/2006/eca-ml
Version 0.20
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema imports schema(s) from the following namespace(s):
    • http://rewerse.net/I5/NS/2006/r3# (at r3.xsd)
    • http://www.w3.org/1999/02/22-rdf-syntax-ns# (at rdf.xsd)

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
xsd http://www.w3.org/2001/XMLSchema
html http://www.w3.org/1999/xhtml
eca http://www.semwebtech.org/eca/2006/eca-ml
r3 http://rewerse.net/I5/NS/2006/r3#
rdf http://www.w3.org/1999/02/22-rdf-syntax-ns#
Schema Component Representation
<xsd:schema targetNamespace="http://www.semwebtech.org/eca/2006/eca-ml" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.20">
<xsd:import namespace="http://rewerse.net/I5/NS/2006/r3#" schemaLocation="r3.xsd"/>
<xsd:import namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#" schemaLocation="rdf.xsd"/>
...
</xsd:schema>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Global Schema Components

Element: rule

Name rule
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<eca:rule>
Start Choice [1]
Start Sequence [1] ?
<eca:variable> eca:Variable </eca:variable> [0..*]
<eca:event> eca:Component </eca:event> [1]
<eca:query> eca:Component </eca:query> [0..*]
<eca:test> eca:Component </eca:test> [0..*]
<eca:action> eca:Component </eca:action> [1]
<eca:opaque> ... </eca:opaque> [0..1] ?
End Sequence
<eca:opaque> ... </eca:opaque> [1] ?
End Choice
</eca:rule>
Schema Component Representation
<xsd:element name="rule">
<xsd:complexType>
<xsd:choice>
<xsd:sequence>
<xsd:element name="variable" type=" eca:Variable " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="event" type=" eca:Component "/>
<xsd:element name="query" type=" eca:Component " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="test" type=" eca:Component " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="action" type=" eca:Component "/>
<xsd:element ref=" eca:opaque " minOccurs="0"/>
</xsd:sequence>
<xsd:element ref=" eca:opaque "/>
</xsd:choice>
</xsd:complexType>
</xsd:element>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Complex Type: Component

Super-types: None
Sub-types: None
Name Component
Abstract no
XML Instance Representation
<...
variable=" xsd:NCName [0..1]">
Start Choice [0..*]
<eca:input-variable> eca:Variable </eca:input-variable> [1]
<eca:used-variable> eca:Variable </eca:used-variable> [1]
<eca:output-variable> eca:Variable </eca:output-variable> [1]
End Choice
Start Choice [1]
<eca:opaque
rdf:parseType="Literal [0..1]"
xml:space="[preserve] [0..1]"
lang=" xsd:anyURI [0..1]"
uri=" xsd:anyURI [0..1]"
method="post [0..1]"
input-variables=" eca:Variables [0..1]"
used-variables=" eca:Variables [0..1]"
output-variables=" eca:Variables [0..1]"> [1]
<!-- Mixed content -->
Start Sequence [0..*]
Allow any element(s) from any namespace (lax validation). [1]
End Sequence
</eca:opaque>
Allow any element(s) from a namespace other than this schema's namespace (lax validation). [1]
End Choice
</...>
Schema Component Representation
<xsd:complexType name="Component">
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="input-variable" type=" eca:Variable "/>
<xsd:element name="used-variable" type=" eca:Variable "/>
<xsd:element name="output-variable" type=" eca:Variable "/>
</xsd:choice>
<xsd:group ref=" eca:Expression "/>
</xsd:sequence>
<xsd:attribute name="variable" type=" xsd:NCName " use="optional"/>
</xsd:complexType>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Model Group: Expression

Name Expression
XML Instance Representation
Start Choice [1]
<eca:opaque
rdf:parseType="Literal [0..1]"
xml:space="[preserve] [0..1]"
lang=" xsd:anyURI [0..1]"
uri=" xsd:anyURI [0..1]"
method="post [0..1]"
input-variables=" eca:Variables [0..1]"
used-variables=" eca:Variables [0..1]"
output-variables=" eca:Variables [0..1]"> [1]
<!-- Mixed content -->
Start Sequence [0..*]
Allow any element(s) from any namespace (lax validation). [1]
End Sequence
</eca:opaque>
Allow any element(s) from a namespace other than this schema's namespace (lax validation). [1]
End Choice
Schema Component Representation
<xsd:group name="Expression">
<xsd:choice>
<xsd:element name="opaque">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base=" eca:OpaqueLiteral ">
<xsd:attribute name="input-variables" type=" eca:Variables " use="optional"/>
<xsd:attribute name="used-variables" type=" eca:Variables " use="optional"/>
<xsd:attribute name="output-variables" type=" eca:Variables " use="optional"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:any namespace="##other" processContents="lax"/>
</xsd:choice>
</xsd:group>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Complex Type: Variable

Super-types: rdf:XMLLiteral < Variable (by extension)
Sub-types: None
Name Variable
Abstract no
XML Instance Representation
<...
rdf:parseType="Literal [0..1]"
xml:space="[preserve] [0..1]"
name=" xsd:NCName [1]"
use=" xsd:string [0..1]">
<!-- Mixed content -->
Start Sequence [0..*]
Allow any element(s) from any namespace (lax validation). [1]
End Sequence
</...>
Schema Component Representation
<xsd:complexType name="Variable">
<xsd:complexContent>
<xsd:extension base=" rdf:XMLLiteral ">
<xsd:attribute name="name" type=" xsd:NCName " use="required"/>
<xsd:attribute name="use" type=" xsd:string " use="optional"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Simple Type: Variables

Super-types: None
Sub-types: None
Name Variables
Content
  • List of: xsd:NCName
Schema Component Representation
<xsd:simpleType name="Variables">
<xsd:list itemType=" xsd:NCName "/>
</xsd:simpleType>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Element: opaque

Name opaque
Type eca:OpaqueLiteral
Nillable no
Abstract no
XML Instance Representation
<eca:opaque
rdf:parseType="Literal [0..1]"
xml:space="[preserve] [0..1]"
lang=" xsd:anyURI [0..1]"
uri=" xsd:anyURI [0..1]"
method="post [0..1]">
<!-- Mixed content -->
Start Sequence [0..*]
Allow any element(s) from any namespace (lax validation). [1]
End Sequence
</eca:opaque>
Schema Component Representation
<xsd:element name="opaque" type=" eca:OpaqueLiteral "/>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Complex Type: OpaqueLiteral

Super-types: rdf:XMLLiteral < OpaqueLiteral (by extension)
Sub-types: None
Name OpaqueLiteral
Abstract no
XML Instance Representation
<...
rdf:parseType="Literal [0..1]"
xml:space="[preserve] [0..1]"
lang=" xsd:anyURI [0..1]"
uri=" xsd:anyURI [0..1]"
method="post [0..1]">
<!-- Mixed content -->
Start Sequence [0..*]
Allow any element(s) from any namespace (lax validation). [1]
End Sequence
</...>
Schema Component Representation
<xsd:complexType name="OpaqueLiteral">
<xsd:complexContent>
<xsd:extension base=" rdf:XMLLiteral ">
<xsd:attribute name="lang" type=" xsd:anyURI " use="optional"/>
<xsd:attribute name="uri" type=" xsd:anyURI " use="optional"/>
<xsd:attribute name="method" use="optional" fixed="post"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Model Group: SimplifiedComponent

Name SimplifiedComponent
XML Instance Representation
Start Choice [1]
<eca:event> ... </eca:event> [1]
<eca:query> ... </eca:query> [1]
<eca:test> ... </eca:test> [1]
<eca:action> ... </eca:action> [1]
End Choice
Schema Component Representation
<xsd:group name="SimplifiedComponent">
<xsd:choice>
<xsd:element ref=" eca:event "/>
<xsd:element ref=" eca:query "/>
<xsd:element ref=" eca:test "/>
<xsd:element ref=" eca:action "/>
</xsd:choice>
</xsd:group>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Element: event

Name event
Type eca:SimplifiedExpression
Nillable no
Abstract no
XML Instance Representation
<eca:event>
Start Choice [1]
<eca:opaque> ... </eca:opaque> [1]
Allow any element(s) from a namespace other than this schema's namespace (lax validation). [1]
End Choice
</eca:event>
Schema Component Representation
<xsd:element name="event" type=" eca:SimplifiedExpression "/>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Element: query

Name query
Type eca:SimplifiedExpression
Nillable no
Abstract no
XML Instance Representation
<eca:query>
Start Choice [1]
<eca:opaque> ... </eca:opaque> [1]
Allow any element(s) from a namespace other than this schema's namespace (lax validation). [1]
End Choice
</eca:query>
Schema Component Representation
<xsd:element name="query" type=" eca:SimplifiedExpression "/>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Element: test

Name test
Type eca:SimplifiedExpression
Nillable no
Abstract no
XML Instance Representation
<eca:test>
Start Choice [1]
<eca:opaque> ... </eca:opaque> [1]
Allow any element(s) from a namespace other than this schema's namespace (lax validation). [1]
End Choice
</eca:test>
Schema Component Representation
<xsd:element name="test" type=" eca:SimplifiedExpression "/>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Element: action

Name action
Type eca:SimplifiedExpression
Nillable no
Abstract no
XML Instance Representation
<eca:action>
Start Choice [1]
<eca:opaque> ... </eca:opaque> [1]
Allow any element(s) from a namespace other than this schema's namespace (lax validation). [1]
End Choice
</eca:action>
Schema Component Representation
<xsd:element name="action" type=" eca:SimplifiedExpression "/>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Complex Type: SimplifiedExpression

Super-types: None
Sub-types: None
Name SimplifiedExpression
Abstract no
XML Instance Representation
<...>
Start Choice [1]
<eca:opaque> ... </eca:opaque> [1]
Allow any element(s) from a namespace other than this schema's namespace (lax validation). [1]
End Choice
</...>
Schema Component Representation
<xsd:complexType name="SimplifiedExpression">
<xsd:choice>
<xsd:element ref=" eca:opaque "/>
<xsd:any namespace="##other" processContents="lax"/>
</xsd:choice>
</xsd:complexType>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |