Oh, I'm sorry... There is sawdust in my head... Correction to previous message:
...in EndElement we can see: if (pScriptNode->GetToken().aText.Len()) and in MiddleElement: if (pScriptNode && ((pScriptNode->GetToken().eType != TIDENT) || (pScriptNode->GetToken().aText.Len()))) In method EndElement variable pScriptNode becomes NULL if number of elements is odd. ... _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice