summaryrefslogtreecommitdiff
path: root/framework/Specs/application.dtd
diff options
context:
space:
mode:
authorknut <>2006-02-23 16:58:25 +0000
committerknut <>2006-02-23 16:58:25 +0000
commit8fd668db9dc86bbe3fe7c2e5433dffdac91106ef (patch)
tree9fa6b524fd684dd5a0bde5dd6aeae0173d732622 /framework/Specs/application.dtd
parent4c0ead80ff7f219c972892bfdf699f9db66ac8a7 (diff)
Corrected DTD files (they where mixed) ;)
Diffstat (limited to 'framework/Specs/application.dtd')
-rw-r--r--framework/Specs/application.dtd46
1 files changed, 16 insertions, 30 deletions
diff --git a/framework/Specs/application.dtd b/framework/Specs/application.dtd
index e140f468..b85a0595 100644
--- a/framework/Specs/application.dtd
+++ b/framework/Specs/application.dtd
@@ -1,46 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- This is the XML Schema Definition for the config.xml file(s) used in Prado/3 framework. -->
+<!-- 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 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 application (paths, modules, services, parameters)>
+<!ATTLIST application
+ id CDATA #REQUIRED
+ Mode (Off | Debug | Normal | Performance) #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 services (service+)>
<!ELEMENT parameters (parameter+)>
<!ELEMENT module (#PCDATA)>
<!ATTLIST module
- id (ModuleID) #REQUIRED
- class (ModuleClass) #REQUIRED
->
-<!ELEMENT page EMPTY>
-<!ATTLIST page
- id (PageID) #REQUIRED
+ id CDATA #REQUIRED
+ class CDATA #REQUIRED
>
<!ELEMENT parameter (#PCDATA)>
<!ATTLIST parameter
- id (ParameterID) #REQUIRED
- class (ParameterClass) #IMPLIED
+ id CDATA #REQUIRED
+ class CDATA #IMPLIED
value CDATA #IMPLIED
>
<!ELEMENT alias EMPTY>
@@ -50,5 +31,10 @@
>
<!ELEMENT using EMPTY>
<!ATTLIST using
- namespace (Namespace) #REQUIRED
+ namespace CDATA #REQUIRED
+>
+<!ELEMENT service (#PCDATA)>
+<!ATTLIST service
+ id CDATA #REQUIRED
+ class CDATA #REQUIRED
>