mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-17 18:12:04 +01:00
default validation to off - otherwise Xerces is liable to complain in a large way
This commit is contained in:
parent
c14849a3c6
commit
98d22e37b6
1 changed files with 1 additions and 1 deletions
|
@ -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; }
|
||||||
|
|
Loading…
Reference in a new issue