diff options
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 4c75e0cf6d8a..1bfb15e6a439 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -949,6 +949,10 @@ void FastSaxParser::callbackStartElement( const XML_Char* pwName, const XML_Char { assert(awAttributes[i+1]); + if( awAttributes[i][0] != 'x' || + strncmp( awAttributes[i], "xmlns") != 0 ) + continue; + splitName( awAttributes[i], pPrefix, nPrefixLen, pName, nNameLen ); if( nPrefixLen ) { |