]> git.pld-linux.org Git - packages/xqilla.git/blame - xqilla-xerces-1.patch
- added patches for compatibility with xerces 3.2
[packages/xqilla.git] / xqilla-xerces-1.patch
CommitLineData
5beb1686
JB
1--- src/dom-api/impl/XPathDocumentImpl.cpp.orig 2017-09-03 19:24:35 UTC
2+++ src/dom-api/impl/XPathDocumentImpl.cpp
3@@ -62,7 +62,11 @@ DOMNode *XPathDocumentImpl::insertBefore
4 if (thisNodeImpl->isReadOnly())
5 throw DOMException(DOMException::NO_MODIFICATION_ALLOWED_ERR, 0, getMemoryManager());
6
7+#if _XERCES_VERSION >= 30200
8+ DOMNode* thisNode = fParent.fContainingNode;
9+#else
10 DOMNode* thisNode = castToNode(&fParent);
11+#endif
12 if (newChild->getOwnerDocument() != thisNode)
13 throw DOMException(DOMException::WRONG_DOCUMENT_ERR, 0, getMemoryManager());
14
This page took 0.10581 seconds and 4 git commands to generate.