I am writing program to validate xml with schema. but it fails when schemaColl.raw_add(_bstr_t(),_variant_t(L"XSDFileName.xsd")) is called. I don't find any way to get detail errors. Has anybody know about why it could fail? is it the case that path related (xsd file's path) problem? Thanks, Perry