Fix escaping of pattern in export-0.8.xsd
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 3 Nov 2012 18:38:58 +0000 (19:38 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 3 Nov 2012 18:38:58 +0000 (19:38 +0100)
ExportDemoTest::testExportDemo
xml not valid against xsd: DOMDocument::schemaValidate(): failed to
compile: Wrong escape sequence, misuse of character '\'

Change-Id: Iefae25270b0ad1bf3aa587a51eec3fec1866cff8

docs/export-0.8.xsd

index a18c608..07b432a 100644 (file)
 
        <simpleType name="ContentModelType">
                <restriction base="string">
-                       <pattern value="[a-zA-Z][-+./a-zA-Z0-9]*"/>
+                       <pattern value="[a-zA-Z][-+./a-zA-Z0-9]*" />
                </restriction>
        </simpleType>
 
        <simpleType name="ContentFormatType">
                <restriction base="string">
-                       <pattern value='[a-zA-Z][-+.a-zA-Z0-9]*\/[a-zA-Z][-+.a-zA-Z0-9]*'/>
+                       <pattern value="[a-zA-Z][-+.a-zA-Z0-9]*/[a-zA-Z][-+.a-zA-Z0-9]*" />
                </restriction>
        </simpleType>