cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1195892 - /cocoon/cocoon3/trunk/cocoon-cli/src/main/resources/org/apache/cocoon/cli/cocoon-cli-1.0.xsd
Date Tue, 01 Nov 2011 09:35:06 GMT
Author: simonetripodi
Date: Tue Nov  1 09:35:06 2011
New Revision: 1195892

URL: http://svn.apache.org/viewvc?rev=1195892&view=rev
Log:
added missing contentType attribute
added default values (it basically replicates the XMLSerializer#createXMLSerializer() method
invocation)

Modified:
    cocoon/cocoon3/trunk/cocoon-cli/src/main/resources/org/apache/cocoon/cli/cocoon-cli-1.0.xsd

Modified: cocoon/cocoon3/trunk/cocoon-cli/src/main/resources/org/apache/cocoon/cli/cocoon-cli-1.0.xsd
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-cli/src/main/resources/org/apache/cocoon/cli/cocoon-cli-1.0.xsd?rev=1195892&r1=1195891&r2=1195892&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-cli/src/main/resources/org/apache/cocoon/cli/cocoon-cli-1.0.xsd
(original)
+++ cocoon/cocoon3/trunk/cocoon-cli/src/main/resources/org/apache/cocoon/cli/cocoon-cli-1.0.xsd
Tue Nov  1 09:35:06 2011
@@ -86,9 +86,10 @@
     </xsd:annotation>
     <xsd:complexType>
       <xsd:attribute name="cdataSectionElements" type="xsd:string" use="optional"/>
+      <xsd:attribute name="contentType" type="xsd:string" use="optional" default="text/xml"/>
       <xsd:attribute name="doctypePublic" type="xsd:string" use="optional"/>
       <xsd:attribute name="doctypeSystem" type="xsd:string" use="optional"/>
-      <xsd:attribute name="encoding" type="xsd:string" use="optional"/>
+      <xsd:attribute name="encoding" type="xsd:string" use="optional" default="UTF-8"/>
       <xsd:attribute name="indent" use="optional">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
@@ -100,7 +101,7 @@
         </xsd:simpleType>
       </xsd:attribute>
       <xsd:attribute name="mediaType" type="xsd:string" use="optional"/>
-      <xsd:attribute name="method" type="xsd:string" use="optional"/>
+      <xsd:attribute name="method" type="xsd:string" use="optional" default="xml"/>
       <xsd:attribute name="omitXmlDeclration" use="optional">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">



Mime
View raw message