From 205fab077789ea7261276c32a0cc5b8370978890 Mon Sep 17 00:00:00 2001 From: Ilya Date: Wed, 29 Nov 2017 15:54:13 +0300 Subject: [PATCH] regexp simplification --- svg.xsd | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/svg.xsd b/svg.xsd index 856d1be..036a132 100644 --- a/svg.xsd +++ b/svg.xsd @@ -1,11 +1,8 @@ - - + targetNamespace="http://www.w3.org/2000/svg"> @@ -27,7 +24,7 @@ - + @@ -103,7 +100,7 @@ media type, as per [RFC2045] - + @@ -114,10 +111,7 @@ Perhaps it is possible to represent this as a xs:union by declaring unit idenifiers as a type? - - - + @@ -264,7 +258,8 @@ 'font-size' property/attribute value - <absolute-size> | <relative-size> | <length> | <percentage> | inherit + <absolute-size> | <relative-size> | <length> | <percentage> | + inherit @@ -361,7 +356,7 @@ + value="((([-+]?(\d+))|([-+]?(((((\d+)?\.(\d+))|((\d+)\.))([eE][-+]?(\d+))?)|((\d+)([eE][-+]?(\d+))))))(em|ex|px|pt|pc|cm|mm|in|%)?)"/> @@ -477,7 +472,7 @@ a list of points - + @@ -1290,7 +1285,7 @@ - + @@ -2874,7 +2869,7 @@ --> - +