You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gk...@apache.org on 2009/03/14 12:02:03 UTC
svn commit: r753634 -
/cocoon/cocoon3/trunk/cocoon-controller/src/main/resources/cocoon-controller-1.0.xsd
Author: gkossakowski
Date: Sat Mar 14 11:02:03 2009
New Revision: 753634
URL: http://svn.apache.org/viewvc?rev=753634&view=rev
Log:
Make both @controller and @select attributes required.
This change has been discussed here:
http://thread.gmane.org/gmane.text.xml.cocoon.devel/79789
Modified:
cocoon/cocoon3/trunk/cocoon-controller/src/main/resources/cocoon-controller-1.0.xsd
Modified: cocoon/cocoon3/trunk/cocoon-controller/src/main/resources/cocoon-controller-1.0.xsd
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-controller/src/main/resources/cocoon-controller-1.0.xsd?rev=753634&r1=753633&r2=753634&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-controller/src/main/resources/cocoon-controller-1.0.xsd (original)
+++ cocoon/cocoon3/trunk/cocoon-controller/src/main/resources/cocoon-controller-1.0.xsd Sat Mar 14 11:02:03 2009
@@ -30,12 +30,12 @@
<xsd:sequence>
<xsd:element ref="map:parameter" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
- <xsd:attribute name="controller" type="xsd:string">
+ <xsd:attribute name="controller" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>The type of the controller.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
- <xsd:attribute name="select" type="xsd:string">
+ <xsd:attribute name="select" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>A parameter that is passed to the invoked controller instance.</xsd:documentation>
</xsd:annotation>