[PATCH] msxml3: use XSD regex quantifier format S{0, m} instead of S{, m}
Damjan Jovanovic
damjan.jov at gmail.com
Thu Aug 5 01:50:02 CDT 2021
S{,m} is invalid in libxml2 2.9.11 and later, and was never valid
in the XSD specification or any XML implementation tested.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51358
Signed-off-by: Damjan Jovanovic <damjan.jov at gmail.com>
---
dlls/msxml3/datatypes.xsd | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
diff --git a/dlls/msxml3/datatypes.xsd b/dlls/msxml3/datatypes.xsd
index 9e0479d8ca2..ffbe0e2f858 100644
--- a/dlls/msxml3/datatypes.xsd
+++ b/dlls/msxml3/datatypes.xsd
@@ -200,7 +200,7 @@
</xsd:annotation>
<xsd:restriction base="xsd:decimal">
- <xsd:pattern value="([0-9]{,14})([.][0-9]{,4})?"/>
+ <xsd:pattern value="([0-9]{0,14})([.][0-9]{0,4})?"/>
</xsd:restriction>
</xsd:simpleType>
@@ -539,7 +539,7 @@
</xsd:annotation>
<xsd:restriction base="xsd:string">
- <xsd:pattern value="([0-9A-Fa-f]{4})([-]{,1}[0-9A-Fa-f]{4})*"/>
+ <xsd:pattern value="([0-9A-Fa-f]{4})([-]{0,1}[0-9A-Fa-f]{4})*"/>
</xsd:restriction>
</xsd:simpleType>
More information about the wine-devel
mailing list