diff options
author | xue <> | 2006-02-21 19:32:36 +0000 |
---|---|---|
committer | xue <> | 2006-02-21 19:32:36 +0000 |
commit | 2f29591dc5a20086ad2c0e4e3689f7c0b9ab7b02 (patch) | |
tree | 6c5310695c2cc8dd47c4b7d6a36e68649d732c10 /framework/Specs/ApplicationConfiguration.dtd | |
parent | bc8fcfba51fd93330d3c1855d7f948c53c8a1968 (diff) |
Added DTD and XSD for app and page configurations.
Diffstat (limited to 'framework/Specs/ApplicationConfiguration.dtd')
-rw-r--r-- | framework/Specs/ApplicationConfiguration.dtd | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/framework/Specs/ApplicationConfiguration.dtd b/framework/Specs/ApplicationConfiguration.dtd new file mode 100644 index 00000000..b85a0595 --- /dev/null +++ b/framework/Specs/ApplicationConfiguration.dtd @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!-- This is the XML Schema Definition for the application.xml file used in Prado/3 framework. -->
+<!-- @package prado.config -->
+<!-- @author Robert Kummer <r.kummer@ipunkt.biz> -->
+<!-- @since Prado/3.0b rev688 -->
+<!-- @version 1.0/2006-02-21 -->
+<!ELEMENT application (paths, modules, services, parameters)>
+<!ATTLIST application
+ id CDATA #REQUIRED
+ Mode (Off | Debug | Normal | Performance) #REQUIRED
+>
+<!ELEMENT paths (alias? | using?)+>
+<!ELEMENT modules (module+)>
+<!ELEMENT services (service+)>
+<!ELEMENT parameters (parameter+)>
+<!ELEMENT module (#PCDATA)>
+<!ATTLIST module
+ id CDATA #REQUIRED
+ class CDATA #REQUIRED
+>
+<!ELEMENT parameter (#PCDATA)>
+<!ATTLIST parameter
+ id CDATA #REQUIRED
+ class CDATA #IMPLIED
+ value CDATA #IMPLIED
+>
+<!ELEMENT alias EMPTY>
+<!ATTLIST alias
+ id CDATA #REQUIRED
+ path CDATA #REQUIRED
+>
+<!ELEMENT using EMPTY>
+<!ATTLIST using
+ namespace CDATA #REQUIRED
+>
+<!ELEMENT service (#PCDATA)>
+<!ATTLIST service
+ id CDATA #REQUIRED
+ class CDATA #REQUIRED
+>
|