workaround for DBG_UTIL XML correctness checks
The current check will always be hit as the StartXmlElement does not use a call that puts the element on the stack. So copy the pattern for the EndXmlElement class. However we should work on getting rid of these ugly hacks. Change-Id: Id1141f4afc78a0cae1e4b7accae76e6ae08b77a7
This commit is contained in:
@@ -1338,7 +1338,8 @@ public:
|
|||||||
|
|
||||||
void EndXmlElement::SaveXml( XclExpXmlStream& rStrm )
|
void EndXmlElement::SaveXml( XclExpXmlStream& rStrm )
|
||||||
{
|
{
|
||||||
rStrm.GetCurrentStream()->endElement( mnElement );
|
sax_fastparser::FSHelperPtr pStream = rStrm.GetCurrentStream();
|
||||||
|
pStream->write("</")->writeId(mnElement)->write(">");
|
||||||
}
|
}
|
||||||
|
|
||||||
class EndHeaderElement : public EndXmlElement
|
class EndHeaderElement : public EndXmlElement
|
||||||
|
Reference in New Issue
Block a user