aboutsummaryrefslogtreecommitdiffstats
path: root/fop/src
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2016-04-13 11:03:42 +0000
committerSimon Steiner <ssteiner@apache.org>2016-04-13 11:03:42 +0000
commitd2ddc6abf6a66bf384b2b7fa132d18833b44a24b (patch)
tree9a801edb4c43760309a7a217afb0414afdb131db /fop/src
parente76a53ad36cdb4848a59cb07e7364b07e491b32b (diff)
downloadxmlgraphics-fop-d2ddc6abf6a66bf384b2b7fa132d18833b44a24b.tar.gz
xmlgraphics-fop-d2ddc6abf6a66bf384b2b7fa132d18833b44a24b.zip
Allow penalty to be set to "INFINITE"
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1738922 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop/src')
-rw-r--r--fop/src/foschema/fop-configuration.xsd6
1 files changed, 3 insertions, 3 deletions
diff --git a/fop/src/foschema/fop-configuration.xsd b/fop/src/foschema/fop-configuration.xsd
index bd1c20d08..364af22e9 100644
--- a/fop/src/foschema/fop-configuration.xsd
+++ b/fop/src/foschema/fop-configuration.xsd
@@ -46,9 +46,9 @@
<xsd:element name="image-loading" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
- <xsd:element name="penalty">
+ <xsd:element name="penalty" maxOccurs="unbounded" minOccurs="0">
<xsd:complexType>
- <xsd:attribute name="value" type="xsd:positiveInteger" use="required"/>
+ <xsd:attribute name="value" type="xsd:string" use="required"/>
<xsd:attribute name="class" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
@@ -326,7 +326,7 @@
<xsd:complexType name="referenceFontType">
<xsd:sequence>
- <xsd:element name="match">
+ <xsd:element name="match" maxOccurs="unbounded" minOccurs="1">
<xsd:complexType>
<xsd:attribute name="font-family" type="xsd:string" use="optional"/>
</xsd:complexType>