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/datatype/DatatypeValidatorFactory.cpp

    r3153 r3157  
    879879}
    880880
     881DatatypeValidator* DatatypeValidatorFactory::getDatatypeValidator(const XMLCh* const dvType) const
     882{
     883    DatatypeValidator * validator = 0;
     884    if (dvType)
     885    {
     886        if (fBuiltInRegistry && fBuiltInRegistry->containsKey(dvType))
     887        {
     888            validator = fBuiltInRegistry->get(dvType);
     889        }
     890
     891        if (fUserDefinedRegistry && fUserDefinedRegistry->containsKey(dvType))
     892        {
     893            validator = fUserDefinedRegistry->get(dvType);
     894        }
     895    }
     896    return validator;
     897}
     898
    881899/***
    882900 * Support for Serialization/De-serialization
Note: See TracChangeset for help on using the changeset viewer.