Author: gadams
Date: Sun Feb 26 23:22:16 2012
New Revision: 1293963

URL: http://svn.apache.org/viewvc?rev=1293963&view=rev
Log:
update IF schema to reflect new @{dx,dp} usage on text element

Modified:
    
xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-content.xsd
    
xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-datatypes.xsd

Modified: 
xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-content.xsd
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-content.xsd?rev=1293963&r1=1293962&r2=1293963&view=diff
==============================================================================
--- 
xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-content.xsd
 (original)
+++ 
xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-content.xsd
 Sun Feb 26 23:22:16 2012
@@ -66,11 +66,8 @@
               <xs:attribute name="y" use="required" type="mf:lengthType"/>
               <xs:attribute name="letter-spacing" type="mf:lengthType"/>
               <xs:attribute name="word-spacing" type="mf:lengthType"/>
-              <xs:attribute name="dx">
-                <xs:simpleType>
-                  <xs:list itemType="mf:lengthType"/>
-                </xs:simpleType>
-              </xs:attribute>
+              <xs:attribute name="dx" type="mf:lengthListType"/>
+              <xs:attribute name="dp" type="mf:dpListType"/>
             </xs:extension>
           </xs:simpleContent>
         </xs:complexType>

Modified: 
xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-datatypes.xsd
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-datatypes.xsd?rev=1293963&r1=1293962&r2=1293963&view=diff
==============================================================================
--- 
xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-datatypes.xsd
 (original)
+++ 
xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-datatypes.xsd
 Sun Feb 26 23:22:16 2012
@@ -103,4 +103,22 @@
       <xs:length value="4"/>
     </xs:restriction>
   </xs:simpleType>
+  <xs:simpleType name="dpListType">
+    <xs:list itemType="mf:dpItemType"/>
+  </xs:simpleType>
+  <xs:simpleType name="dpItemType">
+    <xs:union>
+      <xs:simpleType>
+        <xs:restriction base="mf:lengthType"/>
+      </xs:simpleType>
+      <xs:simpleType>
+        <xs:restriction base="mf:dpZeroesType"/>
+      </xs:simpleType>
+    </xs:union>
+  </xs:simpleType>
+  <xs:simpleType name="dpZeroesType">
+    <xs:restriction base="xs:string">
+      <xs:pattern value="Z(\d)+"/>
+    </xs:restriction>
+  </xs:simpleType>
 </xs:schema>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to