You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by ta...@apache.org on 2010/02/11 23:14:37 UTC

svn commit: r909166 - in /click/trunk/tools/eclipse/org.apache.click.eclipse/click-2.1.0: click.dtd click.xml

Author: takezoe
Date: Thu Feb 11 22:14:35 2010
New Revision: 909166

URL: http://svn.apache.org/viewvc?rev=909166&view=rev
Log:
Added DOCTYPE to the generated click.xml.

Modified:
    click/trunk/tools/eclipse/org.apache.click.eclipse/click-2.1.0/click.dtd
    click/trunk/tools/eclipse/org.apache.click.eclipse/click-2.1.0/click.xml

Modified: click/trunk/tools/eclipse/org.apache.click.eclipse/click-2.1.0/click.dtd
URL: http://svn.apache.org/viewvc/click/trunk/tools/eclipse/org.apache.click.eclipse/click-2.1.0/click.dtd?rev=909166&r1=909165&r2=909166&view=diff
==============================================================================
--- click/trunk/tools/eclipse/org.apache.click.eclipse/click-2.1.0/click.dtd (original)
+++ click/trunk/tools/eclipse/org.apache.click.eclipse/click-2.1.0/click.dtd Thu Feb 11 22:14:35 2010
@@ -19,6 +19,17 @@
    under the License.
 -->
 
+<!--
+     DTD for the Click Application Configuration File, Version 2.1
+
+     To support validation of your configuration file, include the following
+     DOCTYPE element at the beginning (after the "xml" declaration):
+
+     <!DOCTYPE click-app PUBLIC
+       "-//Apache Software Foundation//DTD Click Configuration 2.1//EN"
+       "http://click.apache.org/dtds/click_2_1.dtd">
+-->
+
 <!-- The Click Application (click.xml) Document Type Definition. -->
 <!ELEMENT click-app (pages*, headers?, format?, mode?, controls?, file-upload-service?, log-service?, template-service?)>
   <!ATTLIST click-app charset CDATA #IMPLIED>
@@ -34,14 +45,14 @@
     <!ELEMENT page (header*)>
       <!ATTLIST page path CDATA #REQUIRED>
       <!ATTLIST page classname CDATA #REQUIRED>
-      
+
     <!-- Excludes definition. -->
     <!ELEMENT excludes (#PCDATA)>
       <!ATTLIST excludes pattern CDATA #REQUIRED>
 
   <!-- Application default page headers. -->
   <!ELEMENT headers (header*)>
-  
+
     <!-- Header definition. -->
     <!ELEMENT header (#PCDATA)>
       <!ATTLIST header name CDATA #REQUIRED>
@@ -52,36 +63,35 @@
        the Velocity context under the key: "format". -->
   <!ELEMENT format (#PCDATA)>
    <!ATTLIST format classname CDATA #FIXED "org.apache.click.util.Format">
- 
+
   <!-- Application mode, which configures logging and caching. -->
   <!ELEMENT mode (#PCDATA)>
    <!ATTLIST mode value (production|profile|development|debug|trace) "development">
 
   <!-- Application control objects. -->
   <!ELEMENT controls (control*, control-set*)>
-  
+
     <!-- Deployable control class. -->
     <!ELEMENT control (#PCDATA)>
       <!ATTLIST control classname CDATA #REQUIRED>
-   
+
     <!-- Deployable Third Party Set of Controls -->
     <!ELEMENT control-set (#PCDATA)>
       <!ATTLIST control-set name CDATA #REQUIRED>
-  
+
   <!-- File Upload Service. -->
   <!ELEMENT file-upload-service (property*)>
    <!ATTLIST file-upload-service classname CDATA #FIXED "org.apache.click.service.FileUploadService">
-   
+
     <!-- Property definition. -->
     <!ELEMENT property (#PCDATA)>
       <!ATTLIST property name CDATA #REQUIRED>
       <!ATTLIST property value CDATA #REQUIRED>
-  
+
   <!-- Log Service. -->
   <!ELEMENT log-service (property*)>
    <!ATTLIST log-service classname CDATA #FIXED "org.apache.click.service.ConsoleLogService">
-  
+
   <!-- Template Service class. -->
   <!ELEMENT template-service (property*)>
    <!ATTLIST template-service classname CDATA #FIXED "org.apache.click.service.VelocityTemplateService">
-  

Modified: click/trunk/tools/eclipse/org.apache.click.eclipse/click-2.1.0/click.xml
URL: http://svn.apache.org/viewvc/click/trunk/tools/eclipse/org.apache.click.eclipse/click-2.1.0/click.xml?rev=909166&r1=909165&r2=909166&view=diff
==============================================================================
--- click/trunk/tools/eclipse/org.apache.click.eclipse/click-2.1.0/click.xml (original)
+++ click/trunk/tools/eclipse/org.apache.click.eclipse/click-2.1.0/click.xml Thu Feb 11 22:14:35 2010
@@ -17,6 +17,9 @@
    specific language governing permissions and limitations
    under the License.
 -->
+<!DOCTYPE click-app PUBLIC
+  "-//Apache Software Foundation//DTD Click Configuration 2.1//EN"
+  "http://click.apache.org/dtds/click_2_1.dtd">
 
 <click-app charset="UTF-8">