diff options
-rw-r--r-- | xmlscript/source/xml_helper/xml_impctx.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx index 5c461c29a64f..0d70c782bfaa 100644 --- a/xmlscript/source/xml_helper/xml_impctx.cxx +++ b/xmlscript/source/xml_helper/xml_impctx.cxx @@ -545,6 +545,11 @@ void DocumentHandlerImpl::startElement( else { ++m_nSkipElements; + + // pop prefixes + for (sal_Int32 nPos = elementEntry->m_prefixes.size(); nPos--;) + popPrefix(elementEntry->m_prefixes[nPos]); + SAL_INFO("xmlscript.xmlhelper", " no context given on createChildElement() => ignoring element \"" << rQElementName << "\" ..."); } } |