diff options
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 7e3178495fcd..ae0e8d8b42f4 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -1006,6 +1006,9 @@ void FastSaxParserImpl::parse() reinterpret_cast<const char*>(seqOut.getConstArray()), nRead, NULL ); if( !rEntity.mpParser ) throw SAXException("Couldn't create parser", Reference< XInterface >(), Any() ); + + // Tell libxml2 parser to decode entities in attribute values. + xmlCtxtUseOptions(rEntity.mpParser, XML_PARSE_NOENT); } else { |