Skip to content
Snippets Groups Projects
Commit d524fa49 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

xml: Disable the non-determinist schema check.

And revert the corresponding test changes from
9d34c44d.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57333
parent 2c61d236
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ L"<Schema xmlns='urn:schemas-microsoft-com:xml-data'\n"
" <ElementType name='uuidData' content='textOnly' dt:type='uuid'/>\n"
"\n"
" <ElementType name='Name' content='textOnly' dt:type='nmtoken'/>\n"
" <ElementType name='Value' content='eltOnly' order='many' model='closed'>\n"
" <ElementType name='Value' content='eltOnly' order='many'>\n"
" <element type='base64Data'/>\n"
" <element type='hexData'/>\n"
" <element type='boolData'/>\n"
......@@ -153,11 +153,11 @@ L"<Schema xmlns='urn:schemas-microsoft-com:xml-data'\n"
" <element type='uriData'/>\n"
" <element type='uuidData'/>\n"
" </ElementType>\n"
" <ElementType name='Property' content='eltOnly' order='seq' model='closed'>\n"
" <ElementType name='Property' content='eltOnly' order='seq'>\n"
" <element type='Name'/>\n"
" <element type='Value'/>\n"
" </ElementType>\n"
" <ElementType name='Properties' content='eltOnly' model='closed'>\n"
" <ElementType name='Properties' content='eltOnly'>\n"
" <element type='Property' minOccurs='0' maxOccurs='*'/>\n"
" </ElementType>\n"
"</Schema>";
......
......@@ -13133,12 +13133,14 @@ xmlSchemaBuildContentModel(xmlSchemaTypePtr type,
XML_SCHEMAP_INTERNAL,
WXS_BASIC_CAST type, type->node,
"Failed to compile the content model", NULL);
#if 0 /* disabled in Wine */
} else if (xmlRegexpIsDeterminist(type->contModel) != 1) {
xmlSchemaPCustomErr(ctxt,
XML_SCHEMAP_NOT_DETERMINISTIC,
/* XML_SCHEMAS_ERR_NOTDETERMINIST, */
WXS_BASIC_CAST type, type->node,
"The content model is not determinist", NULL);
#endif
} else {
}
ctxt->state = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment