default validation to off - otherwise Xerces is liable to complain in a large way

This commit is contained in:
jez_higgins 2005-11-17 22:05:47 +00:00
parent c14849a3c6
commit 98d22e37b6

View file

@ -38,7 +38,7 @@ class Parser : private SAX::basic_DefaultHandler2<stringT>
SAX::FeatureNames<stringT, string_adaptorT> fNames; SAX::FeatureNames<stringT, string_adaptorT> fNames;
features_.insert(std::make_pair(fNames.namespaces, true)); features_.insert(std::make_pair(fNames.namespaces, true));
features_.insert(std::make_pair(fNames.namespace_prefixes, true)); features_.insert(std::make_pair(fNames.namespace_prefixes, true));
features_.insert(std::make_pair(fNames.validation, true)); features_.insert(std::make_pair(fNames.validation, false));
} // Parser } // Parser
void setEntityResolver(EntityResolverT& resolver) { entityResolver_ = &resolver; } void setEntityResolver(EntityResolverT& resolver) { entityResolver_ = &resolver; }