diff --git a/doc/program-dom.xml b/doc/program-dom.xml index 4f5409c4b47a97e7ced58aa25aedc77a18d47984..83b6c561a5f6dfd4988502a9a0152e9775fbd79c 100644 --- a/doc/program-dom.xml +++ b/doc/program-dom.xml @@ -1283,7 +1283,7 @@ </table> <p/> <table> - <tr><th colspan="2"><em>http://apache.org/xml/properties/parser-use-DOMDocument-from-Implemenation</em></th></tr> + <tr><th colspan="2"><em>http://apache.org/xml/properties/parser-use-DOMDocument-from-Implementation</em></th></tr> <tr><th><em>Description</em></th><td>This property allows the user to specify a set of features which the parser will then use to acquire an implementation from which it will create the DOMDocument to use when reading in an XML file. diff --git a/src/xercesc/parsers/AbstractDOMParser.cpp b/src/xercesc/parsers/AbstractDOMParser.cpp index 15fa5d3c1d7a8ada5f5892916a14bbb124fd2bc9..49611d59113d5dc30ca2c3332f230fcf2bb93faf 100644 --- a/src/xercesc/parsers/AbstractDOMParser.cpp +++ b/src/xercesc/parsers/AbstractDOMParser.cpp @@ -179,8 +179,7 @@ void AbstractDOMParser::cleanUp() delete fScanner; delete fGrammarResolver; delete fURIStringPool; - - delete[] fImplementationFeatures; + fMemoryManager->deallocate(fImplementationFeatures); if (fValidator) delete fValidator; diff --git a/src/xercesc/util/XMLUni.cpp b/src/xercesc/util/XMLUni.cpp index 4bd1eb46f679219b2bacb5c1ec9d3161e05498a1..0433156ab2aa1edec8c1b3225d9f900b493ba17b 100644 --- a/src/xercesc/util/XMLUni.cpp +++ b/src/xercesc/util/XMLUni.cpp @@ -1130,19 +1130,17 @@ const XMLCh XMLUni::fgXercesScannerName[] = }; //Property -//Xerces: http://apache.org/xml/properties/parser-use-DOMDocument-from-Implemenation +//Xerces: http://apache.org/xml/properties/parser-use-DOMDocument-from-Implementation const XMLCh XMLUni::fgXercesParserUseDocumentFromImplementation[] = { chLatin_h, chLatin_t, chLatin_t, chLatin_p, chColon, chForwardSlash , chForwardSlash, chLatin_a, chLatin_p, chLatin_a, chLatin_c, chLatin_h , chLatin_e, chPeriod, chLatin_o, chLatin_r, chLatin_g, chForwardSlash - , chLatin_x, chLatin_m, chLatin_l, chForwardSlash, chLatin_p, chLatin_r - , chLatin_o, chLatin_p, chLatin_e, chLatin_r, chLatin_t, chLatin_i - , chLatin_e, chLatin_s, chForwardSlash, chLatin_f, chLatin_g, chLatin_X - , chLatin_e, chLatin_r, chLatin_c, chLatin_e, chLatin_s, chLatin_P, chLatin_a - , chLatin_r, chLatin_s, chLatin_e, chLatin_r, chLatin_U, chLatin_s, chLatin_e - , chLatin_D, chLatin_o, chLatin_c, chLatin_u, chLatin_m, chLatin_e, chLatin_n - , chLatin_t, chLatin_F, chLatin_r, chLatin_o, chLatin_m, chLatin_I, chLatin_m + , chLatin_x, chLatin_m, chLatin_l, chForwardSlash, chLatin_p, chLatin_a + , chLatin_r, chLatin_s, chLatin_e, chLatin_r, chDash, chLatin_u, chLatin_s + , chLatin_e, chDash, chLatin_D, chLatin_O, chLatin_M, chLatin_D, chLatin_o + , chLatin_c, chLatin_u, chLatin_m, chLatin_e, chLatin_n, chLatin_t, chDash + , chLatin_f, chLatin_r, chLatin_o, chLatin_m, chDash, chLatin_I, chLatin_m , chLatin_p, chLatin_l, chLatin_e, chLatin_m, chLatin_e, chLatin_n, chLatin_t , chLatin_a, chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull };