Changeset 104198 in vbox for trunk/src/libs/libxml2-2.12.6/xmlschemas.c
- Timestamp:
- Apr 5, 2024 3:21:52 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/libxml2-2.12.6/xmlschemas.c
r104197 r104198 5461 5461 xmlNodePtr node, int min, int max) 5462 5462 { 5463 5464 5463 xmlSchemaParticlePtr ret = NULL; 5465 5464 if (ctxt == NULL) … … 5473 5472 #endif /* !VBOX */ 5474 5473 #endif 5474 5475 xmlMalloc(sizeof(xmlSchemaParticle)); 5476 if (ret == NULL) { 5477 xmlSchemaPErrMemory(ctxt, "allocating particle component", 5478 NULL); 5479 return (NULL); 5480 } 5481 ret->type = XML_SCHEMA_TYPE_PARTICLE; 5482 ret->annot = NULL; 5483 ret->node = node; 5484 ret->minOccurs = min; 5485 ret->maxOccurs = max; 5486 ret->next = NULL; 5487 ret->children = NULL; 5488 5489 WXS_ADD_LOCAL(ctxt, ret); 5490 /* 5491 * Note that addition to pending components will be done locally 5492 * to the specific parsing function, since the most particles 5493 * need not to be fixed up (i.e. the reference to be resolved). 5494 * REMOVED: WXS_ADD_PENDING(ctxt, ret); 5495 */ 5496 return (ret); 5475 5497 } 5476 5498
Note:
See TracChangeset
for help on using the changeset viewer.