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