Fix escaping of pattern in export-0.8.xsd
ExportDemoTest::testExportDemo xml not valid against xsd: DOMDocument::schemaValidate(): failed to compile: Wrong escape sequence, misuse of character '\' Change-Id: Iefae25270b0ad1bf3aa587a51eec3fec1866cff8
This commit is contained in:
parent
04f250f0b4
commit
098f7680a4
1 changed files with 2 additions and 2 deletions
|
|
@ -134,13 +134,13 @@
|
|||
|
||||
<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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue