From fddeb5ddbd383b49bd1f6f04208d24023f8c3033 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 9 Sep 2013 11:25:20 +0200 Subject: Fix bug in documentation --- documentation/cxx/tree/manual/index.xhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/cxx/tree') diff --git a/documentation/cxx/tree/manual/index.xhtml b/documentation/cxx/tree/manual/index.xhtml index 8df33e3..eb41bb8 100644 --- a/documentation/cxx/tree/manual/index.xhtml +++ b/documentation/cxx/tree/manual/index.xhtml @@ -5857,7 +5857,7 @@ XMLPlatformUtils::Initialize (); xml_schema::flags::dont_initialize); DOMNode* n = root->_node (); - assert (n->getNodeType () != DOMNode::ELEMENT_NODE); + assert (n->getNodeType () == DOMNode::ELEMENT_NODE); DOMElement* re = static_cast<DOMElement*> (n); // Get the 'a' element. Note that it is not necessarily the -- cgit v1.1