[seam-commits] Seam SVN: r8596 - trunk/src/main/org/jboss/seam.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Aug 5 17:09:51 EDT 2008


Author: norman.richards at jboss.com
Date: 2008-08-05 17:09:50 -0400 (Tue, 05 Aug 2008)
New Revision: 8596

Added:
   trunk/src/main/org/jboss/seam/document-2.1.xsd
Log:
JBSEAM-3220

Added: trunk/src/main/org/jboss/seam/document-2.1.xsd
===================================================================
--- trunk/src/main/org/jboss/seam/document-2.1.xsd	                        (rev 0)
+++ trunk/src/main/org/jboss/seam/document-2.1.xsd	2008-08-05 21:09:50 UTC (rev 8596)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
+           xmlns:doc="http://jboss.com/products/seam/document"
+           xmlns:components="http://jboss.com/products/seam/components" 
+           targetNamespace="http://jboss.com/products/seam/document" 
+           elementFormDefault="qualified"
+           attributeFormDefault="unqualified"> 
+
+    <xs:import namespace="http://jboss.com/products/seam/components" 
+               schemaLocation="components-2.1.xsd"/>
+
+    <xs:element name="document-store">
+        <xs:annotation>
+            <xs:documentation>
+                 The document store is used to store rendered documents for download on a later request.
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType mixed="true">
+            <xs:attributeGroup ref="components:attlist.component"/>
+            <xs:attributeGroup ref="doc:attlist.docstore"/>
+        </xs:complexType>
+    </xs:element>
+
+    <xs:attributeGroup name="attlist.docstore">
+        <xs:attribute name="error-page" type="components:string">
+            <xs:annotation>
+                <xs:documentation>
+                     When a document had expired or otherwise cannot be loaded, this page is displayed.
+                </xs:documentation>
+            </xs:annotation>
+        </xs:attribute>
+        <xs:attribute name="use-extensions" type="components:boolean">
+            <xs:annotation>
+                <xs:documentation>
+                    Controls whether or not the URLs for documents should contain their correct file name
+                    extensions. Using file name extensions requires additional configuration in web.xml.
+                </xs:documentation>
+            </xs:annotation>
+        </xs:attribute>
+    </xs:attributeGroup>
+</xs:schema>




More information about the seam-commits mailing list