scxml-attribs.xsd 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 common attributes for SCXML
  9. </xsd:documentation>
  10. <xsd:documentation source="scxml-copyright.xsd"/>
  11. </xsd:annotation>
  12. <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
  13. <xsd:annotation>
  14. <xsd:documentation>
  15. This import brings in the XML namespace attributes
  16. The module itself does not provide the schemaLocation
  17. and expects the driver schema to provide the
  18. actual SchemaLocation.
  19. </xsd:documentation>
  20. </xsd:annotation>
  21. </xsd:import>
  22. <xsd:include schemaLocation="scxml-datatypes.xsd">
  23. <xsd:annotation>
  24. <xsd:documentation>
  25. This include brings in the SCXML datatypes.
  26. </xsd:documentation>
  27. </xsd:annotation>
  28. </xsd:include>
  29. <xsd:attributeGroup name="Fetchtimeout.attrib">
  30. <xsd:annotation>
  31. <xsd:documentation>Used in Cache.attribs</xsd:documentation>
  32. </xsd:annotation>
  33. <xsd:attribute name="fetchtimeout" type="Duration.datatype"/>
  34. </xsd:attributeGroup>
  35. <xsd:attributeGroup name="Maxage.attrib">
  36. <xsd:annotation>
  37. <xsd:documentation>Used in Cache.attribs</xsd:documentation>
  38. </xsd:annotation>
  39. <xsd:attribute name="maxage" type="Integer.datatype"/>
  40. </xsd:attributeGroup>
  41. <xsd:attributeGroup name="Maxstale.attrib">
  42. <xsd:annotation>
  43. <xsd:documentation>Used in Cache attribs</xsd:documentation>
  44. </xsd:annotation>
  45. <xsd:attribute name="maxstale" type="Integer.datatype"/>
  46. </xsd:attributeGroup>
  47. <xsd:attributeGroup name="Cache.attribs">
  48. <xsd:annotation>
  49. <xsd:documentation>Cache attributes to control caching behavior</xsd:documentation>
  50. </xsd:annotation>
  51. <xsd:attributeGroup ref="Fetchtimeout.attrib"/>
  52. <xsd:attributeGroup ref="Maxage.attrib"/>
  53. <xsd:attributeGroup ref="Maxstale.attrib"/>
  54. </xsd:attributeGroup>
  55. </xsd:schema>