diff options
author | Peter Bernard West <pbwest@apache.org> | 2002-10-24 15:23:56 +0000 |
---|---|---|
committer | Peter Bernard West <pbwest@apache.org> | 2002-10-24 15:23:56 +0000 |
commit | 40209c4fc88254b792d07b63be3955c8288b3e7a (patch) | |
tree | 19f2cfd737f76eac8b7e77271dccc0d7a3b5bf2f /docs/foschema | |
parent | e08136223e4dd5814a4b6654ba3c2d6d17373545 (diff) | |
download | xmlgraphics-fop-40209c4fc88254b792d07b63be3955c8288b3e7a.tar.gz xmlgraphics-fop-40209c4fc88254b792d07b63be3955c8288b3e7a.zip |
Updated with fop4g.xsd, with <TAB>s replaced by spaces at tabstops of 2.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195361 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/foschema')
-rw-r--r-- | docs/foschema/fop4.xsd | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/docs/foschema/fop4.xsd b/docs/foschema/fop4.xsd index 9b5a625ba..e3be29e6d 100644 --- a/docs/foschema/fop4.xsd +++ b/docs/foschema/fop4.xsd @@ -81,6 +81,10 @@ This declaration assumes that all <fo:color-profile/> elements must come before other stuff, which is not required by spec, but I cannot see any way to express such constraints in schema, one could use <xs:choice/> instead of <xs:sequence/>, but this way we lose control over (color-profile)+ constraint. + + VCP 21-Oct-2002 + Updated all (px|pt|mm|cm|in|em) to (px|pt|mm|cm|in|em|%) to allow percentage types. + Updated the restriction base of those types from NMTOKEN to string </documentation> </annotation> @@ -785,8 +789,8 @@ <enumeration value = "1em"/> </documentation> </annotation> - <restriction base = "NMTOKEN"> - <pattern value = "[+-]?\d+\.?\d*(px|pt|mm|cm|in|em)"/> + <restriction base = "string"> + <pattern value = "[+-]?\d+\.?\d*(px|pt|mm|cm|in|em|%)"/> </restriction> </simpleType> <simpleType name = "length_range_Type"> @@ -831,7 +835,7 @@ </documentation> </annotation> <restriction base = "string"> - <pattern value = "\+?\d+\.?\d*(px|pt|mm|cm|in|em) (retain|discard)"/> + <pattern value = "\+?\d+\.?\d*(px|pt|mm|cm|in|em|%) (retain|discard)"/> </restriction> </simpleType> <xs:simpleType name = "length_bp_ip_direction_Type"> @@ -865,7 +869,7 @@ </documentation> </annotation> <restriction base = "string"> - <pattern value = "([ ]?\+?\d+\.?\d*(px|pt|mm|cm|in|em)){1,3}( \+?\d+| force)?( retain| discard)?"/> + <pattern value = "([ ]?\+?\d+\.?\d*(px|pt|mm|cm|in|em|%)){1,3}( \+?\d+| force)?( retain| discard)?"/> </restriction> </simpleType> <simpleType name = "angle_Type"> @@ -1051,7 +1055,7 @@ length_Type{1,2} </documentation> </annotation> - <pattern value = "(rect\((\+?\d+\.?\d*(px|pt|mm|cm|in|em)|auto),(\+?\d+\.?\d*(px|pt|mm|cm|in|em)|auto),(\+?\d+\.?\d*(px|pt|mm|cm|in|em)|auto),(\+?\d+\.?\d*(px|pt|mm|cm|in|em)|auto)\)|auto|inherit)"/> + <pattern value = "(rect\((\+?\d+\.?\d*(px|pt|mm|cm|in|em|%)|auto),(\+?\d+\.?\d*(px|pt|mm|cm|in|em|%)|auto),(\+?\d+\.?\d*(px|pt|mm|cm|in|em|%)|auto),(\+?\d+\.?\d*(px|pt|mm|cm|in|em|%)|auto)\)|auto|inherit)"/> </restriction> </simpleType> @@ -1734,13 +1738,13 @@ </restriction> </simpleType> <simpleType name = "positive_length_Type"> - <restriction base = "NMTOKEN"> - <pattern value = "\+?\d+\.?\d*(px|pt|mm|cm|in|em)"/> + <restriction base = "string"> + <pattern value = "\+?\d+\.?\d*(px|pt|mm|cm|in|em|%)"/> </restriction> </simpleType> <simpleType name = "negative_length_Type"> - <restriction base = "NMTOKEN"> - <pattern value = "-\d+\.?\d*(px|pt|mm|cm|in|em)"/> + <restriction base = "string"> + <pattern value = "-\d+\.?\d*(px|pt|mm|cm|in|em|%)"/> </restriction> </simpleType> <simpleType name = "integer_Force_Type"> @@ -2917,7 +2921,7 @@ </documentation> </annotation> <restriction base = "string"> - <pattern value = "(none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset) \+?\d+\.?\d*(px|pt|mm|cm|in|em) (#[0-9A-F]{6}|[a-z]{3,16})"/> + <pattern value = "(none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset) \+?\d+\.?\d*(px|pt|mm|cm|in|em|%) (#[0-9A-F]{6}|[a-z]{3,16})"/> </restriction> </simpleType> <simpleType name = "font_size_Type"> |