[PATCH] Some regexps are malformed in fop schema (as reported by Xerces). Patch follows: --- fop.xsd 2005-02-01 01:14:30.000000000 +0000 +++ fop.xsd.new 2005-02-01 01:14:19.000000000 +0000 @@ -775,11 +775,11 @@ <enumeration value = "+3"/> <enumeration value = "5"/> </documentation> </annotation> <restriction base = "NMTOKEN"> - <pattern value = "[-+]?\d+"/> + <pattern value = "[\-+]?\d+"/> </restriction> </simpleType> <simpleType name = "number_Type"> <annotation> <documentation> @@ -788,11 +788,11 @@ <enumeration value = "2"/> <enumeration value = "4"/> </documentation> </annotation> <restriction base = "string"> - <pattern value = "[-+]?\d+\.\d*"/> + <pattern value = "[\-+]?\d+\.\d*"/> </restriction> </simpleType> <simpleType name = "length_Type"> <annotation> <documentation> @@ -804,11 +804,11 @@ <enumeration value = "1in"/> <enumeration value = "1em"/> </documentation> </annotation> <restriction base = "string"> - <pattern value = "[+-]?\d+\.?\d*(px|pt|mm|cm|in|em|%)"/> + <pattern value = "[+\-]?\d+\.?\d*(px|pt|mm|cm|in|em|%)"/> </restriction> </simpleType> <simpleType name = "length_range_Type"> <annotation> <documentation> @@ -896,11 +896,11 @@ <enumeration value = "45deg"/> <enumeration value = "-12deg"/> </documentation> </annotation> <restriction base = "string"> - <pattern value = "[-+]?[1-3]?\d?\d?\.?\d*(deg|grad|rad)"/> + <pattern value = "[\-+]?[1-3]?\d?\d?\.?\d*(deg|grad|rad)"/> </restriction> </simpleType> <simpleType name = "percentage_Type"> <annotation> <documentation> @@ -909,11 +909,11 @@ <enumeration value = "30%"/> <enumeration value = "100%"/> </documentation> </annotation> <restriction base = "string"> - <pattern value = "[-+]?\d+\.?\d*%"/> + <pattern value = "[\-+]?\d+\.?\d*%"/> </restriction> </simpleType> <simpleType name = "character_Type"> <annotation> <documentation>
*** This bug has been marked as a duplicate of 33321 ***
batch transition to closed remaining pre-FOP1.0 resolved bugs