fastsax: provide the element name instead of prefix for unknown elements
Change-Id: I3effd8a0cfe57875446536bbd0a93a73e630a44f (cherry picked from commit 4946cc813704703f7d988a6acf75c4d9e9c068a9)
This commit is contained in:
@@ -812,7 +812,7 @@ void FastSaxParser::callbackStartElement( const XML_Char* pwName, const XML_Char
|
||||
rEntity.maContextStack.top()->maNamespace = GetNamespaceURL( pPrefix, nPrefixLen );
|
||||
|
||||
const OUString aNamespace( rEntity.maContextStack.top()->maNamespace );
|
||||
const OUString aElementName( pPrefix, nPrefixLen, RTL_TEXTENCODING_UTF8 );
|
||||
const OUString aElementName( pName, nNameLen, RTL_TEXTENCODING_UTF8 );
|
||||
rEntity.maContextStack.top()->maElementName = aElementName;
|
||||
|
||||
if( xParentContext.is() )
|
||||
|
Reference in New Issue
Block a user