diff options
Diffstat (limited to 'framework/Specs/config.dtd')
-rw-r--r-- | framework/Specs/config.dtd | 46 |
1 files changed, 30 insertions, 16 deletions
diff --git a/framework/Specs/config.dtd b/framework/Specs/config.dtd index b85a0595..e140f468 100644 --- a/framework/Specs/config.dtd +++ b/framework/Specs/config.dtd @@ -1,27 +1,46 @@ <?xml version="1.0" encoding="UTF-8"?>
-<!-- This is the XML Schema Definition for the application.xml file used in Prado/3 framework. -->
+<!-- This is the XML Schema Definition for the config.xml file(s) 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 allow EMPTY>
+<!ATTLIST allow
+ pages CDATA #IMPLIED
+ users CDATA #IMPLIED
+ roles CDATA #IMPLIED
+ verb (get | post) #REQUIRED
+>
+<!ELEMENT deny EMPTY>
+<!ATTLIST deny
+ pages CDATA #IMPLIED
+ users CDATA #IMPLIED
+ roles CDATA #IMPLIED
+ verb (post | get) #REQUIRED
>
+<!ELEMENT configuration (paths?, modules?, authorization?, pages?, parameters?)>
<!ELEMENT paths (alias? | using?)+>
<!ELEMENT modules (module+)>
-<!ELEMENT services (service+)>
+<!ELEMENT authorization (allow, deny)>
+<!ELEMENT pages (page+)>
+<!ATTLIST pages
+ MasterClass CDATA #IMPLIED
+ Theme CDATA #IMPLIED
+>
<!ELEMENT parameters (parameter+)>
<!ELEMENT module (#PCDATA)>
<!ATTLIST module
- id CDATA #REQUIRED
- class CDATA #REQUIRED
+ id (ModuleID) #REQUIRED
+ class (ModuleClass) #REQUIRED
+>
+<!ELEMENT page EMPTY>
+<!ATTLIST page
+ id (PageID) #REQUIRED
>
<!ELEMENT parameter (#PCDATA)>
<!ATTLIST parameter
- id CDATA #REQUIRED
- class CDATA #IMPLIED
+ id (ParameterID) #REQUIRED
+ class (ParameterClass) #IMPLIED
value CDATA #IMPLIED
>
<!ELEMENT alias EMPTY>
@@ -31,10 +50,5 @@ >
<!ELEMENT using EMPTY>
<!ATTLIST using
- namespace CDATA #REQUIRED
->
-<!ELEMENT service (#PCDATA)>
-<!ATTLIST service
- id CDATA #REQUIRED
- class CDATA #REQUIRED
+ namespace (Namespace) #REQUIRED
>
|