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.w3.org/1999/02/22-rdf-syntax-ns#
Version 0.10
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 belong to this schema's target namespace.
Schema Composition
  • This schema imports schema(s) from the following namespace(s):
    • http://www.w3.org/XML/1998/namespace (at xml.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
rdf http://www.w3.org/1999/02/22-rdf-syntax-ns#
Schema Component Representation
<xsd:schema targetNamespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#" elementFormDefault="qualified" attributeFormDefault="qualified" version="0.10">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
...
</xsd:schema>


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

Global Schema Components

Complex Type: XMLLiteral

Super-types: xsd:anyType < XMLLiteral (by restriction)
Sub-types: None
Name XMLLiteral
Abstract no
XML Instance Representation
<...
rdf:parseType="Literal [0..1]"
xml:space="[preserve] [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="XMLLiteral">
<xsd:complexContent mixed="true">
<xsd:restriction base=" xsd:anyType ">
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:any namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute ref=" rdf:parseType " fixed="Literal"/>
<xsd:attribute ref=" xml:space" use="optional" default="preserve"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>


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

Attribute Group: Resource

Name Resource
Documentation In any element that includes this attribute group: only one of these attributes may be included.
XML Instance Representation
rdf:about="[0..1]"
rdf:nodeID="[0..1]"
rdf:ID="[0..1]"
Schema Component Representation
<xsd:attributeGroup name="Resource">
<xsd:attribute ref=" rdf:about "/>
<xsd:attribute ref=" rdf:nodeID "/>
<xsd:attribute ref=" rdf:ID "/>
</xsd:attributeGroup>


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

Attribute Group: Property

Name Property
Documentation In any element that includes this attribute group: only one of these attributes may be included, and if one is present the element must be empty.
XML Instance Representation
rdf:resource="[0..1]"
rdf:nodeID="[0..1]"
Schema Component Representation
<xsd:attributeGroup name="Property">
<xsd:attribute ref=" rdf:resource "/>
<xsd:attribute ref=" rdf:nodeID "/>
</xsd:attributeGroup>


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

Attribute: parseType

Name parseType
Type Locally-defined simple type
XML Instance Representation
rdf:parseType=" xsd:NCName (value comes from list: {'Literal'|'Resource'|'Collection'})"
Schema Component Representation
<xsd:attribute name="parseType">
<xsd:simpleType>
<xsd:restriction base=" xsd:NCName ">
<xsd:enumeration value="Literal"/>
<xsd:enumeration value="Resource"/>
<xsd:enumeration value="Collection"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>


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

Attribute: type

Name type
Type xsd:anyURI
XML Instance Representation
rdf:type=" xsd:anyURI"
Schema Component Representation
<xsd:attribute name="type" type=" xsd:anyURI "/>


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

Attribute: datatype

Name datatype
Type xsd:anyURI
XML Instance Representation
rdf:datatype=" xsd:anyURI"
Schema Component Representation
<xsd:attribute name="datatype" type=" xsd:anyURI "/>


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

Attribute: about

Name about
Type xsd:anyURI
XML Instance Representation
rdf:about=" xsd:anyURI"
Schema Component Representation
<xsd:attribute name="about" type=" xsd:anyURI "/>


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

Attribute: resource

Name resource
Type xsd:anyURI
XML Instance Representation
rdf:resource=" xsd:anyURI"
Schema Component Representation
<xsd:attribute name="resource" type=" xsd:anyURI "/>


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

Attribute: ID

Name ID
Type xsd:NCName
XML Instance Representation
rdf:ID=" xsd:NCName"
Schema Component Representation
<xsd:attribute name="ID" type=" xsd:NCName "/>


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

Attribute: nodeID

Name nodeID
Type xsd:NCName
XML Instance Representation
rdf:nodeID=" xsd:NCName"
Schema Component Representation
<xsd:attribute name="nodeID" type=" xsd:NCName "/>


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