/xml/tests/testData/xml/BPMN20.xsd
https://bitbucket.org/nbargnesi/idea · XML Schema · 38 lines · 33 code · 5 blank · 0 comment · 0 complexity · 4965cd14ce6b74e3dd3b277452e951fa MD5 · raw file
- <?xml version="1.0" encoding="UTF-8"?>
- <xsd:schema elementFormDefault="qualified" attributeFormDefault="unqualified"
- xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
- targetNamespace="http://www.omg.org/spec/BPMN/20100524/MODEL">
- <xsd:import namespace="http://www.omg.org/spec/BPMN/20100524/DI" schemaLocation="BPMNDI.xsd"/>
- <xsd:include schemaLocation="Semantic.xsd"/>
- <xsd:element name="definitions" type="tDefinitions"/>
- <xsd:complexType name="tDefinitions">
- <xsd:sequence>
- <xsd:element ref="import" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element ref="extension" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element ref="rootElement" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element ref="bpmndi:BPMNDiagram" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element ref="relationship" minOccurs="0" maxOccurs="unbounded"/>
- </xsd:sequence>
- <xsd:attribute name="id" type="xsd:ID" use="optional"/>
- <xsd:attribute name="name" type="xsd:string"/>
- <xsd:attribute name="targetNamespace" type="xsd:anyURI" use="required"/>
- <xsd:attribute name="expressionLanguage" type="xsd:anyURI" use="optional" default="http://www.w3.org/1999/XPath"/>
- <xsd:attribute name="typeLanguage" type="xsd:anyURI" use="optional" default="http://www.w3.org/2001/XMLSchema"/>
- <xsd:attribute name="exporter" type="xsd:string"/>
- <xsd:attribute name="exporterVersion" type="xsd:string"/>
- <xsd:anyAttribute namespace="##other" processContents="lax"/>
- </xsd:complexType>
-
- <xsd:element name="import" type="tImport"/>
- <xsd:complexType name="tImport">
- <xsd:attribute name="namespace" type="xsd:anyURI" use="required"/>
- <xsd:attribute name="location" type="xsd:string" use="required"/>
- <xsd:attribute name="importType" type="xsd:anyURI" use="required"/>
- </xsd:complexType>
- </xsd:schema>