/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

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema elementFormDefault="qualified" attributeFormDefault="unqualified"
  3. xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  4. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  5. xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
  6. targetNamespace="http://www.omg.org/spec/BPMN/20100524/MODEL">
  7. <xsd:import namespace="http://www.omg.org/spec/BPMN/20100524/DI" schemaLocation="BPMNDI.xsd"/>
  8. <xsd:include schemaLocation="Semantic.xsd"/>
  9. <xsd:element name="definitions" type="tDefinitions"/>
  10. <xsd:complexType name="tDefinitions">
  11. <xsd:sequence>
  12. <xsd:element ref="import" minOccurs="0" maxOccurs="unbounded"/>
  13. <xsd:element ref="extension" minOccurs="0" maxOccurs="unbounded"/>
  14. <xsd:element ref="rootElement" minOccurs="0" maxOccurs="unbounded"/>
  15. <xsd:element ref="bpmndi:BPMNDiagram" minOccurs="0" maxOccurs="unbounded"/>
  16. <xsd:element ref="relationship" minOccurs="0" maxOccurs="unbounded"/>
  17. </xsd:sequence>
  18. <xsd:attribute name="id" type="xsd:ID" use="optional"/>
  19. <xsd:attribute name="name" type="xsd:string"/>
  20. <xsd:attribute name="targetNamespace" type="xsd:anyURI" use="required"/>
  21. <xsd:attribute name="expressionLanguage" type="xsd:anyURI" use="optional" default="http://www.w3.org/1999/XPath"/>
  22. <xsd:attribute name="typeLanguage" type="xsd:anyURI" use="optional" default="http://www.w3.org/2001/XMLSchema"/>
  23. <xsd:attribute name="exporter" type="xsd:string"/>
  24. <xsd:attribute name="exporterVersion" type="xsd:string"/>
  25. <xsd:anyAttribute namespace="##other" processContents="lax"/>
  26. </xsd:complexType>
  27. <xsd:element name="import" type="tImport"/>
  28. <xsd:complexType name="tImport">
  29. <xsd:attribute name="namespace" type="xsd:anyURI" use="required"/>
  30. <xsd:attribute name="location" type="xsd:string" use="required"/>
  31. <xsd:attribute name="importType" type="xsd:anyURI" use="required"/>
  32. </xsd:complexType>
  33. </xsd:schema>