scxml-strict.xsd 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  3. targetNamespace="http://www.w3.org/2005/07/scxml"
  4. xmlns="http://www.w3.org/2005/07/scxml"
  5. elementFormDefault="qualified">
  6. <xsd:annotation>
  7. <xsd:documentation>
  8. This is the XML Schema driver for SCXML 1.0.
  9. Please use this namespace for SCXML 1.0 elements:
  10. "http://www.w3.org/2005/07/scxml"
  11. </xsd:documentation>
  12. <xsd:documentation source="scxml-copyright.xsd"/>
  13. </xsd:annotation>
  14. <xsd:annotation>
  15. <xsd:documentation>
  16. This is the XML Schema driver file for SCXML 1.0.
  17. This schema:
  18. + sets the namespace for SCXML 1.0
  19. + imports external schemas (xml.xsd)
  20. + imports SCXML common datatypes, attributes and content models
  21. + imports modular schemas
  22. SCXML 1.0 includes:
  23. + SCXML core constructs
  24. + SCXML executable content
  25. + SCXML data model and manipulation
  26. + SCXML external communications
  27. This schema is permissive such that it accomodates all
  28. datamodels, but validating documents may contain markup that
  29. is ignored in certain datamodels.
  30. </xsd:documentation>
  31. </xsd:annotation>
  32. <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
  33. <xsd:annotation>
  34. <xsd:documentation>
  35. This import brings in the XML namespace attributes
  36. The XML attributes are used by various modules.
  37. </xsd:documentation>
  38. </xsd:annotation>
  39. </xsd:import>
  40. <xsd:include schemaLocation="scxml-core-strict.xsd">
  41. <xsd:annotation>
  42. <xsd:documentation>
  43. This imports the core elements for SCXML.
  44. </xsd:documentation>
  45. </xsd:annotation>
  46. </xsd:include>
  47. <xsd:include schemaLocation="scxml-data-strict.xsd">
  48. <xsd:annotation>
  49. <xsd:documentation>
  50. This imports the data modelelements for SCXML.
  51. </xsd:documentation>
  52. </xsd:annotation>
  53. </xsd:include>
  54. <xsd:include schemaLocation="scxml-external-strict.xsd">
  55. <xsd:annotation>
  56. <xsd:documentation>
  57. This imports the external communications elements for SCXML.
  58. </xsd:documentation>
  59. </xsd:annotation>
  60. </xsd:include>
  61. <!-- the various elements of executable content are defined in the relevant modules.
  62. This gathers them up into a single type -->
  63. <xsd:group name="scxml.core.executablecontent">
  64. <xsd:choice>
  65. <xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
  66. <xsd:element ref="raise"/>
  67. <xsd:element ref="if"/>
  68. <xsd:element ref="foreach"/>
  69. <xsd:element ref="send"/>
  70. <xsd:element ref="script"/>
  71. <xsd:element ref="assign"/>
  72. <xsd:element ref="log"/>
  73. <xsd:element ref="cancel"/>
  74. </xsd:choice>
  75. </xsd:group>
  76. </xsd:schema>