symfony-1.0.xsd 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xsd:schema xmlns="http://www.symfony-project.org/schema/dic/symfony"
  3. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  4. targetNamespace="http://www.symfony-project.org/schema/dic/symfony"
  5. elementFormDefault="qualified">
  6. <xsd:element name="config" type="config" />
  7. <xsd:complexType name="config">
  8. <xsd:all>
  9. <xsd:element name="router" type="router" minOccurs="0" maxOccurs="1" />
  10. <xsd:element name="validation" type="validation" minOccurs="0" maxOccurs="1" />
  11. <xsd:element name="profiler" type="profiler" minOccurs="0" maxOccurs="1" />
  12. <xsd:element name="session" type="session" minOccurs="0" maxOccurs="1" />
  13. <xsd:element name="templating" type="templating" minOccurs="0" maxOccurs="1" />
  14. <xsd:element name="translator" type="translator" minOccurs="0" maxOccurs="1" />
  15. <xsd:element name="param-converter" type="param-converter" minOccurs="0" maxOccurs="1" />
  16. </xsd:all>
  17. <xsd:attribute name="ide" type="xsd:string" />
  18. <xsd:attribute name="csrf-secret" type="xsd:string" />
  19. <xsd:attribute name="charset" type="xsd:string" />
  20. <xsd:attribute name="error-handler" type="xsd:string" />
  21. </xsd:complexType>
  22. <xsd:complexType name="profiler">
  23. <xsd:all>
  24. <xsd:element name="matcher" type="profiler_matcher" minOccurs="0" maxOccurs="1" />
  25. </xsd:all>
  26. </xsd:complexType>
  27. <xsd:complexType name="profiler_matcher">
  28. <xsd:attribute name="ip" type="xsd:string" />
  29. <xsd:attribute name="path" type="xsd:string" />
  30. <xsd:attribute name="service" type="xsd:string" />
  31. </xsd:complexType>
  32. <xsd:complexType name="router">
  33. <xsd:attribute name="resource" type="xsd:string" />
  34. <xsd:attribute name="type" type="xsd:string" />
  35. </xsd:complexType>
  36. <xsd:complexType name="validation">
  37. <xsd:attribute name="enabled" type="xsd:boolean" />
  38. <xsd:attribute name="annotations" type="xsd:boolean" />
  39. </xsd:complexType>
  40. <xsd:complexType name="session">
  41. <xsd:attribute name="class" type="xsd:string" />
  42. <xsd:attribute name="storage-id" type="xsd:string" />
  43. <xsd:attribute name="default-locale" type="xsd:string" />
  44. <xsd:attribute name="name" type="xsd:string" />
  45. <xsd:attribute name="lifetime" type="xsd:integer" />
  46. <xsd:attribute name="path" type="xsd:string" />
  47. <xsd:attribute name="domain" type="xsd:string" />
  48. <xsd:attribute name="secure" type="xsd:string" />
  49. <xsd:attribute name="httponly" type="xsd:string" />
  50. <xsd:attribute name="cache-limiter" type="xsd:string" />
  51. <xsd:attribute name="auto-start" type="xsd:boolean" />
  52. <xsd:attribute name="pdo.db-table" type="xsd:string" />
  53. </xsd:complexType>
  54. <xsd:complexType name="templating">
  55. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  56. <xsd:element name="loader" type="xsd:string" />
  57. </xsd:choice>
  58. <xsd:attribute name="assets-version" type="xsd:string" />
  59. <xsd:attribute name="assets-base-urls" type="xsd:string" />
  60. <xsd:attribute name="path" type="xsd:string" />
  61. <xsd:attribute name="cache" type="xsd:string" />
  62. </xsd:complexType>
  63. <xsd:complexType name="translator">
  64. <xsd:attribute name="fallback" type="xsd:string" />
  65. </xsd:complexType>
  66. <xsd:complexType name="param-converter">
  67. </xsd:complexType>
  68. </xsd:schema>