Skip to content
Snippets Groups Projects
Commit 73abb6e9 authored by Gareth Reakes's avatar Gareth Reakes
Browse files

We need to initialize the values for the parameters.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174965 13f79535-47bb-0310-9956-ffa450edef68
parent b31c1d3f
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
}
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment