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/PageConfiguration.dtd | |
parent | bc8fcfba51fd93330d3c1855d7f948c53c8a1968 (diff) |
Added DTD and XSD for app and page configurations.
Diffstat (limited to 'framework/Specs/PageConfiguration.dtd')
-rw-r--r-- | framework/Specs/PageConfiguration.dtd | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/framework/Specs/PageConfiguration.dtd b/framework/Specs/PageConfiguration.dtd new file mode 100644 index 00000000..e140f468 --- /dev/null +++ b/framework/Specs/PageConfiguration.dtd @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!-- 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 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 authorization (allow, deny)>
+<!ELEMENT pages (page+)>
+<!ATTLIST pages
+ MasterClass CDATA #IMPLIED
+ Theme CDATA #IMPLIED
+>
+<!ELEMENT parameters (parameter+)>
+<!ELEMENT module (#PCDATA)>
+<!ATTLIST module
+ id (ModuleID) #REQUIRED
+ class (ModuleClass) #REQUIRED
+>
+<!ELEMENT page EMPTY>
+<!ATTLIST page
+ id (PageID) #REQUIRED
+>
+<!ELEMENT parameter (#PCDATA)>
+<!ATTLIST parameter
+ id (ParameterID) #REQUIRED
+ class (ParameterClass) #IMPLIED
+ value CDATA #IMPLIED
+>
+<!ELEMENT alias EMPTY>
+<!ATTLIST alias
+ id CDATA #REQUIRED
+ path CDATA #REQUIRED
+>
+<!ELEMENT using EMPTY>
+<!ATTLIST using
+ namespace (Namespace) #REQUIRED
+>
|