aboutsummaryrefslogtreecommitdiffstats
path: root/src/foschema/fop.xsd
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-02-02 07:33:14 +0000
committerJeremias Maerki <jeremias@apache.org>2005-02-02 07:33:14 +0000
commit1468dbd2b4a578515891ceea85a68a23c7e57043 (patch)
treec8d90f4f52da58b48f9404d4f5462b49a42b87ae /src/foschema/fop.xsd
parente0dc1cc5e48c90e497c82d3b2b21fe17be498ffd (diff)
downloadxmlgraphics-fop-1468dbd2b4a578515891ceea85a68a23c7e57043.tar.gz
xmlgraphics-fop-1468dbd2b4a578515891ceea85a68a23c7e57043.zip
Bug #33321
Fix for invalid regular expressions. Patch committed with modifications. Submitted by: James Shaw <hertzsprrrung.at.btopenworld.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198361 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/foschema/fop.xsd')
-rw-r--r--src/foschema/fop.xsd12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/foschema/fop.xsd b/src/foschema/fop.xsd
index dfc5f65fa..030d92d0f 100644
--- a/src/foschema/fop.xsd
+++ b/src/foschema/fop.xsd
@@ -1,6 +1,6 @@
<?xml version = "1.0" encoding = "UTF-8"?>
<!--
- Copyright 1999-2004 The Apache Software Foundation
+ Copyright 1999-2005 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -777,7 +777,7 @@
</documentation>
</annotation>
<restriction base = "NMTOKEN">
- <pattern value = "[-+]?\d+"/>
+ <pattern value = "[\+\-]?\d+"/>
</restriction>
</simpleType>
<simpleType name = "number_Type">
@@ -790,7 +790,7 @@
</documentation>
</annotation>
<restriction base = "string">
- <pattern value = "[-+]?\d+\.\d*"/>
+ <pattern value = "[\+\-]?\d+\.\d*"/>
</restriction>
</simpleType>
<simpleType name = "length_Type">
@@ -806,7 +806,7 @@
</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">
@@ -898,7 +898,7 @@
</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">
@@ -911,7 +911,7 @@
</documentation>
</annotation>
<restriction base = "string">
- <pattern value = "[-+]?\d+\.?\d*%"/>
+ <pattern value = "[\+\-]?\d+\.?\d*%"/>
</restriction>
</simpleType>
<simpleType name = "character_Type">