version 1.1.1.1, 2012/02/21 23:37:58
|
version 1.1.1.2, 2013/07/22 01:22:18
|
Line 13946 xmlSchemaCheckCOSNSSubset(xmlSchemaWildcardPtr sub,
|
Line 13946 xmlSchemaCheckCOSNSSubset(xmlSchemaWildcardPtr sub,
|
*/ |
*/ |
if ((sub->negNsSet != NULL) && |
if ((sub->negNsSet != NULL) && |
(super->negNsSet != NULL) && |
(super->negNsSet != NULL) && |
(sub->negNsSet->value == sub->negNsSet->value)) | (sub->negNsSet->value == super->negNsSet->value)) |
return (0); |
return (0); |
/* |
/* |
* 3.1 sub must be a set whose members are either namespace names or �absent�. |
* 3.1 sub must be a set whose members are either namespace names or �absent�. |
Line 15156 xmlSchemaCheckSTPropsCorrect(xmlSchemaParserCtxtPtr ct
|
Line 15156 xmlSchemaCheckSTPropsCorrect(xmlSchemaParserCtxtPtr ct
|
FREE_AND_NULL(str) |
FREE_AND_NULL(str) |
return (XML_SCHEMAP_ST_PROPS_CORRECT_1); |
return (XML_SCHEMAP_ST_PROPS_CORRECT_1); |
} |
} |
if ( (WXS_IS_LIST(type) || WXS_IS_UNION(type)) && | if ((WXS_IS_LIST(type) || WXS_IS_UNION(type)) && |
(WXS_IS_RESTRICTION(type) == 0) && | (WXS_IS_RESTRICTION(type) == 0) && |
(! WXS_IS_ANY_SIMPLE_TYPE(baseType))) { | ((! WXS_IS_ANY_SIMPLE_TYPE(baseType)) && |
| (baseType->type != XML_SCHEMA_TYPE_SIMPLE))) { |
xmlSchemaPCustomErr(ctxt, |
xmlSchemaPCustomErr(ctxt, |
XML_SCHEMAP_ST_PROPS_CORRECT_1, |
XML_SCHEMAP_ST_PROPS_CORRECT_1, |
WXS_BASIC_CAST type, NULL, |
WXS_BASIC_CAST type, NULL, |
Line 18475 xmlSchemaFixupComplexType(xmlSchemaParserCtxtPtr pctxt
|
Line 18476 xmlSchemaFixupComplexType(xmlSchemaParserCtxtPtr pctxt
|
particle->children->children = |
particle->children->children = |
(xmlSchemaTreeItemPtr) xmlSchemaAddParticle(pctxt, |
(xmlSchemaTreeItemPtr) xmlSchemaAddParticle(pctxt, |
type->node, |
type->node, |
((xmlSchemaParticlePtr) type->subtypes)->minOccurs, | ((xmlSchemaParticlePtr) baseType->subtypes)->minOccurs, |
((xmlSchemaParticlePtr) type->subtypes)->maxOccurs); | ((xmlSchemaParticlePtr) baseType->subtypes)->maxOccurs); |
if (particle->children->children == NULL) |
if (particle->children->children == NULL) |
goto exit_failure; |
goto exit_failure; |
particle = (xmlSchemaParticlePtr) |
particle = (xmlSchemaParticlePtr) |