Skip to content
Snippets Groups Projects
Commit d0683d24 authored by PeiYong Zhang's avatar PeiYong Zhang
Browse files

Bug#18856: Example code do not compile, patch from

guido.gagliardi@ge.infn.it (Guido Gagliardi)


git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174900 13f79535-47bb-0310-9956-ffa450edef68
parent ad8d0af3
No related branches found
No related tags found
No related merge requests found
......@@ -668,11 +668,11 @@
DOMBuilder* parser = ((DOMImplementationLS*)impl)->createDOMBuilder(DOMImplementationLS::MODE_SYNCHRONOUS, 0);
// optionally you can set some features on this builder
if (parser->canSetFeature(XMLUni::fgDOMValidation, true)
if (parser->canSetFeature(XMLUni::fgDOMValidation, true))
parser->setFeature(XMLUni::fgDOMValidation, true);
if (parser->canSetFeature(XMLUni::fgDOMNamespaces, true)
if (parser->canSetFeature(XMLUni::fgDOMNamespaces, true))
parser->setFeature(XMLUni::fgDOMNamespaces, true);
if (parser->canSetFeature((XMLUni::fgDOMDatatypeNormalization, true)
if (parser->canSetFeature((XMLUni::fgDOMDatatypeNormalization, true))
parser->setFeature(XMLUni::fgDOMDatatypeNormalization, true);
......
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