Ignore:
Timestamp:
May 19, 2013, 9:20:51 AM (6 years ago)
Author:
cameron
Message:

Fixes for icXML 0.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icXML/icXML-devel/src/icxercesc/validators/schema/SchemaInfo.cpp

    r3153 r3157  
    245245}
    246246
     247void SchemaInfo::addRecursingType(const DOMElement* const elem, const XMLCh* const name)
     248{
     249
     250    if (!fRecursingAnonTypes) {
     251        fRecursingAnonTypes = new (fMemoryManager) ValueVectorOf<const DOMElement*>(8, fMemoryManager);
     252        fRecursingTypeNames = new (fMemoryManager) ValueVectorOf<const XMLCh*>(8, fMemoryManager);
     253    }
     254
     255    fRecursingAnonTypes->addElement(elem);
     256    fRecursingTypeNames->addElement(name);
     257}
     258
    247259XERCES_CPP_NAMESPACE_END
    248260
Note: See TracChangeset for help on using the changeset viewer.