diff --git a/src/xercesc/dom/impl/DOMConfigurationImpl.cpp b/src/xercesc/dom/impl/DOMConfigurationImpl.cpp index c5729f5bc1283310ce66c9bbd5d163e085d37cb3..8ecb063d38c222d336ab686485ce03953bca0368 100644 --- a/src/xercesc/dom/impl/DOMConfigurationImpl.cpp +++ b/src/xercesc/dom/impl/DOMConfigurationImpl.cpp @@ -114,8 +114,9 @@ const XMLCh DOMConfigurationImpl::fgSCHEMA_TYPE[] = { chLatin_s, chLatin_c, chLa /* schema-location */ const XMLCh DOMConfigurationImpl::fgSCHEMA_LOCATION[] = { chLatin_s, chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, chDash, chLatin_l, chLatin_o, chLatin_c, chLatin_a, chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull }; +//const unsigned short DOMConfigurationImpl::fDEFAULT_VALUES = 0x2596; -DOMConfigurationImpl::DOMConfigurationImpl(): featureValues(0x0000), fTrue(new bool(true)), +DOMConfigurationImpl::DOMConfigurationImpl(): featureValues(fDEFAULT_VALUES), fTrue(new bool(true)), fFalse(new bool(false)), fErrorHandler(0), fSchemaType(0), fSchemaLocation(0) { } diff --git a/src/xercesc/dom/impl/DOMConfigurationImpl.hpp b/src/xercesc/dom/impl/DOMConfigurationImpl.hpp index 596cd3f223d54102448b54e3c0479a7264fa5e28..9f5bdac7283c9ee592ec0d92b45cbfb36884cf96 100644 --- a/src/xercesc/dom/impl/DOMConfigurationImpl.hpp +++ b/src/xercesc/dom/impl/DOMConfigurationImpl.hpp @@ -175,6 +175,12 @@ public: static const XMLCh fgSCHEMA_TYPE[]; static const XMLCh fgSCHEMA_LOCATION[]; + // The default values for the boolean parameters + // from CANONICAL_FORM to WHITESPACE_IN_ELEMENT_CONTENT + // 10010110010110 = 0x2596 + static const unsigned short fDEFAULT_VALUES = 0x2596; + + private: // implements a simple map between the name and its enum value DOMConfigurationFeature getFeatureFlag(const XMLCh* name) const;