To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97545 Issue #|97545 Summary|WordML bug breaks OOo XSLT Component|framework Version|1.0.0 Platform|DEC URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|scripting Assigned to|ab Reported by|cwallenpoole
------- Additional comments from cwallenpo...@openoffice.org Tue Dec 23 21:15:12 +0000 2008 ------- There are occasionally times in Word's XML where it will generate XML which is not expected. Unfortunately, it will often double up on w:r tags in a w:p tag such as the following: <code> <w:p wsp:rsidR="00C93F63" wsp:rsidRPr="00BE0301" wsp:rsidRDefault="00707149" wsp:rsidP="00BE0301"> <w:r wsp:rsidRPr="00BE0301"> <w:t>•</w:t> </w:r> <w:r wsp:rsidRPr="00BE0301"> <w:tab wx:wTab="630" wx:tlc="none" wx:cTlc="10"/> <w:t> This text was supposed to have the bullet by it. </w:t> </w:r> </w:p> </code> (This also happens at occasional page breaks). While this does not create completely valid OOO xml, I was able to write a prototype for a fix: <code> <!-- insert after line 806 in wordml2000_text.xsl --> <xsl:when test="count(*) > 1"> <xsl:choose> <xsl:when test="w:r[w:br/@w:type='page' or w:br/@w:type='column']"> <xsl:call-template name="process-breaks-in-paragraph"/> <text:p><xsl:value-of select="." /></text:p> </xsl:when> <xsl:otherwise> <text:p> <xsl:for-each select="."> <xsl:value-of select="." /> </xsl:for-each> </text:p> </xsl:otherwise> </xsl:choose> </xsl:when> </code> --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org