git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293963 13f79535-47bb-0310-9956-ffa450edef68tags/fop-1_1rc1old
@@ -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> |
@@ -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> |