<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/rtf2xml/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/rtf2xml/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 23 Jun 2016 18:04:54 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/rtf2xml/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#12 "import profile" fails on ubuntu 7:04, python 2.5</title><link>https://sourceforge.net/p/rtf2xml/bugs/12/?limit=25#ec89</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is weird, looking like an invalid bug … according to &lt;a href="https://docs.python.org/2.7/library/profile.html" rel="nofollow"&gt;https://docs.python.org/2.7/library/profile.html&lt;/a&gt; profile module should be part of the standard library since Python 2.4.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matej Cepl</dc:creator><pubDate>Thu, 23 Jun 2016 18:04:54 -0000</pubDate><guid>https://sourceforge.net10a238b07903e8f7cb0c74cbb737bc8cadd93995</guid></item><item><title>#12 "import profile" fails on ubuntu 7:04, python 2.5</title><link>https://sourceforge.net/p/rtf2xml/bugs/12/?limit=25#c90a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Filed at &lt;a href="https://gitlab.com/mcepl/rtf2xml/issues/4" rel="nofollow"&gt;https://gitlab.com/mcepl/rtf2xml/issues/4&lt;/a&gt; ... not that I would promise to fix it, but this project seems to be quite dead, so pushing whole project to modern repository won't hurt much.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matej Cepl</dc:creator><pubDate>Thu, 23 Jun 2016 17:51:47 -0000</pubDate><guid>https://sourceforge.netcf62d31b0dd56aecc21c5a5703ac87a1593ab487</guid></item><item><title>#11 Incomplete inline element handling in docbook/inline.xsl</title><link>https://sourceforge.net/p/rtf2xml/bugs/11/?limit=25#19bd</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Filed at &lt;a href="https://gitlab.com/mcepl/rtf2xml/issues/3" rel="nofollow"&gt;https://gitlab.com/mcepl/rtf2xml/issues/3&lt;/a&gt; ... not that I would promise to fix it, but this project seems to be quite dead, so pushing whole project to modern repository won't hurt much.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matej Cepl</dc:creator><pubDate>Thu, 23 Jun 2016 17:50:21 -0000</pubDate><guid>https://sourceforge.net2f0885f3f0076a223aa20135c224e3cd03ee9d09</guid></item><item><title>#10 Error with styles</title><link>https://sourceforge.net/p/rtf2xml/bugs/10/?limit=25#1b38</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Filed at &lt;a href="https://gitlab.com/mcepl/rtf2xml/issues/2" rel="nofollow"&gt;https://gitlab.com/mcepl/rtf2xml/issues/2&lt;/a&gt; ... not that I would promise to fix it, but this project seems to be quite dead, so pushing whole project to modern repository won't hurt much.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matej Cepl</dc:creator><pubDate>Thu, 23 Jun 2016 17:48:01 -0000</pubDate><guid>https://sourceforge.net79aa39fd1b717dca36c2a8ec08bf1e9dfab2cd15</guid></item><item><title>#13 Bold/Italic not reset on \plain</title><link>https://sourceforge.net/p/rtf2xml/bugs/13/?limit=25#6c4f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Filed at &lt;a href="https://gitlab.com/mcepl/rtf2xml/issues/1" rel="nofollow"&gt;https://gitlab.com/mcepl/rtf2xml/issues/1&lt;/a&gt; ... not that I would promise to fix it, but this project seems to be quite dead, so pushing whole project to modern repository won't hurt much.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matej Cepl</dc:creator><pubDate>Thu, 23 Jun 2016 17:42:16 -0000</pubDate><guid>https://sourceforge.net1d4bf0fb737a023c01149c7fcdf513f85118e146</guid></item><item><title>Bold/Italic not reset on \plain</title><link>https://sourceforge.net/p/rtf2xml/bugs/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm running into the same problem.&lt;/p&gt;
&lt;p&gt;I have an application that produced RTF, and I want to convert those files to XML.&lt;/p&gt;
&lt;p&gt;The problem is that rtf2xml doesn't seem to reset the Bold or Italic attributes when encounters \plain. Unfortunately, the RTFs that my target app produces only uses \plain to turn these off, so once they're on, they stay on.&lt;/p&gt;
&lt;p&gt;I've been looking through the source, but I'm not a Python user, so I'm having trouble finding where to implement this.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vertagano</dc:creator><pubDate>Wed, 13 Aug 2008 13:50:02 -0000</pubDate><guid>https://sourceforge.net277d0da3407ad773074224ce215a70cb51b69932</guid></item><item><title>"import profile" fails on ubuntu 7:04, python 2.5</title><link>https://sourceforge.net/p/rtf2xml/bugs/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Seemed to install fine on Feisty Ubuntu 7:04, on python 2.5.&lt;/p&gt;
&lt;p&gt;Running rtf2xml at the command line produced this traceback:&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt;
File "/usr/bin/rtf2xml", line 68, in &amp;lt;module&amp;gt;&lt;br /&gt;
import rtf2xml.ParseRtf&lt;br /&gt;
File "/usr/lib/python2.5/site-packages/rtf2xml/ParseRtf.py", line 96, in &amp;lt;module&amp;gt;&lt;br /&gt;
import rtf2xml.process_tokens,rtf2xml.delete_info&lt;br /&gt;
File "/usr/lib/python2.5/site-packages/rtf2xml/process_tokens.py", line 20, in &amp;lt;module&amp;gt;&lt;br /&gt;
import profile&lt;br /&gt;
ImportError: No module named profile&lt;/p&gt;
&lt;p&gt;I commented out the imports in both process_tokens.py and correct_unicode.py (the only places this occurs), reinstalled, and it runs from the command line again.&lt;/p&gt;
&lt;p&gt;It's probably because I don't have profile installed or something like that.  I'm not a python expert, so I'm afraid I can't comment any further on what this bug is.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 10 Jun 2007 12:55:18 -0000</pubDate><guid>https://sourceforge.net92122f98184ed4029942db49bd0f6f29207dded2</guid></item><item><title>Incomplete inline element handling in docbook/inline.xsl</title><link>https://sourceforge.net/p/rtf2xml/bugs/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The rules matching inline elements, for example the one matching "rtf:inline[@italics][@bold]" put the element's content into an emphasis element if it's in italics. &lt;/p&gt;
&lt;p&gt;However, they are matched for each element that has these attributes set, even if the attributes' values are "false", in which case the rule produces nothing, introducing empty paragraphs in some of my documents (the xml source of which _was_ created by rtf2xml 1.32). &lt;/p&gt;
&lt;p&gt;These rules should get rewritten to either not get chosen or to continue default processing if the conditions for &amp;lt;emphasis&amp;gt; are not met, e.g. my fix is:&lt;/p&gt;
&lt;p&gt;&amp;lt;xsl:template match = "rtf:inline[@italics][@bold]" priority="6"&amp;gt;&lt;br /&gt;
&amp;lt;xsl:choose&amp;gt;&lt;br /&gt;
&amp;lt;xsl:when test = "@italics = 'true'"&amp;gt;&lt;br /&gt;
&amp;lt;emphasis role = "italics-bold"&amp;gt;&lt;br /&gt;
&amp;lt;xsl:apply-templates/&amp;gt;&lt;br /&gt;
&amp;lt;/emphasis&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:when&amp;gt;&lt;br /&gt;
&amp;lt;xsl:when test = "../../@italics='true'"&amp;gt;&lt;br /&gt;
&amp;lt;emphasis role = "paragraph-emphasis-off"&amp;gt;&lt;br /&gt;
&amp;lt;xsl:apply-templates/&amp;gt;&lt;br /&gt;
&amp;lt;/emphasis&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/xsl:when&amp;gt;&lt;br /&gt;
&amp;lt;!-- allow further processing --&amp;gt;&lt;br /&gt;
&amp;lt;xsl:otherwise&amp;gt;&lt;br /&gt;
&amp;lt;xsl:apply-templates/&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:otherwise&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:choose&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:template&amp;gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 05 Mar 2007 16:43:59 -0000</pubDate><guid>https://sourceforge.netdb458401c0bde2b4865e0117277737732eebd779</guid></item><item><title>Error with styles</title><link>https://sourceforge.net/p/rtf2xml/bugs/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello !&lt;/p&gt;
&lt;p&gt;It's me again ! :)&lt;br /&gt;
I've got a problem with the styles : the parser skip&lt;br /&gt;
some styles in some cases. In fact only the "heading"&lt;br /&gt;
styles.&lt;/p&gt;
&lt;p&gt;I've joined a small document with 3 titles (heading 1,2&lt;br /&gt;
and 3) but the "heading 2" is skipped ! In fact there&lt;br /&gt;
is no "paragraph-definition" as it should be :&lt;/p&gt;
&lt;p&gt;paragraph-definition name="heading 2"&lt;/p&gt;
&lt;p&gt;However if i remove the title and retype it, the bug&lt;br /&gt;
disappears ! It must be a case the parser missed i&lt;br /&gt;
think ... :(&lt;/p&gt;
&lt;p&gt;It would really helped me if you find some answer ! :)&lt;/p&gt;
&lt;p&gt;Thank you very much for your great work ! ;)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tyfeur</dc:creator><pubDate>Mon, 24 Jul 2006 16:12:31 -0000</pubDate><guid>https://sourceforge.net09869758b1571e430db9f7fe9f6be9737bb7afb1</guid></item><item><title>Empty rtf caused bad xml format</title><link>https://sourceforge.net/p/rtf2xml/bugs/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Me again ! :)&lt;/p&gt;
&lt;p&gt;I have reinstalled the libraries after having&lt;br /&gt;
completely removed the old version and the bug remains ! :(&lt;/p&gt;
&lt;p&gt;It is not really urgent :)&lt;/p&gt;
&lt;p&gt;Thx !&lt;/p&gt;
&lt;p&gt;C:\...\rtf2xml\scripts&amp;gt;c:\Python24\python.exe rtf2xml&lt;br /&gt;
--no-empty-para empty.rtf&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version="1.0" encoding="US-ASCII"&lt;br /&gt;
?&amp;gt;&amp;lt;doc&lt;br /&gt;
xmlns="http://rtf2xml.sourceforge&lt;br /&gt;
.net/"&amp;gt;&amp;lt;preamble&amp;gt;&amp;lt;rtf-definition&lt;br /&gt;
default-font="Times New&lt;br /&gt;
Roman" code-page="ansic&lt;br /&gt;
pg1252"&lt;br /&gt;
platform="Windows"/&amp;gt;&amp;lt;font-table&amp;gt;&amp;lt;font-in-table&lt;br /&gt;
name="Times New Roman" nu&lt;br /&gt;
m="0"/&amp;gt;&amp;lt;font-in-table name="Times New Roman&lt;br /&gt;
CE"&lt;br /&gt;
num="66"/&amp;gt;&amp;lt;font-in-table name="T&lt;br /&gt;
imes New Roman Cyr"&lt;br /&gt;
num="67"/&amp;gt;&amp;lt;font-in-table name="Times New&lt;br /&gt;
Roman Greek" num="6&lt;br /&gt;
9"/&amp;gt;&amp;lt;font-in-table name="Times New Roman&lt;br /&gt;
Tur"&lt;br /&gt;
num="70"/&amp;gt;&amp;lt;font-in-table name="Tim&lt;br /&gt;
es New Roman (Hebrew)"&lt;br /&gt;
num="71"/&amp;gt;&amp;lt;font-in-table name="Times&lt;br /&gt;
New Roman (Arabic)"&lt;br /&gt;
num="72"/&amp;gt;&amp;lt;font-in-table name="Times New&lt;br /&gt;
Roman Baltic"&lt;br /&gt;
num="73"/&amp;gt;&amp;lt;/font-table&amp;gt;&amp;lt;c&lt;br /&gt;
olor-table&amp;gt;&amp;lt;color-in-table num="1"&lt;br /&gt;
value="#000000"/&amp;gt;&amp;lt;color-in-table&lt;br /&gt;
num="2" valu&lt;br /&gt;
e="#0000FF"/&amp;gt;&amp;lt;color-in-table num="3"&lt;br /&gt;
value="#00FFFF"/&amp;gt;&amp;lt;color-in-table&lt;br /&gt;
num="4" va&lt;br /&gt;
lue="#00FF00"/&amp;gt;&amp;lt;color-in-table&lt;br /&gt;
num="5"&lt;br /&gt;
value="#FF00FF"/&amp;gt;&amp;lt;color-in-table&lt;br /&gt;
num="6"&lt;br /&gt;
value="#FF0000"/&amp;gt;&amp;lt;color-in-table&lt;br /&gt;
num="7"&lt;br /&gt;
value="#FFFF00"/&amp;gt;&amp;lt;color-in-table num="8&lt;br /&gt;
" value="#FFFFFF"/&amp;gt;&amp;lt;color-in-table&lt;br /&gt;
num="9"&lt;br /&gt;
value="#000080"/&amp;gt;&amp;lt;color-in-table num=&lt;br /&gt;
"10" value="#008080"/&amp;gt;&amp;lt;color-in-table&lt;br /&gt;
num="11"&lt;br /&gt;
value="#008000"/&amp;gt;&amp;lt;color-in-table&lt;br /&gt;
num="12"&lt;br /&gt;
value="#800080"/&amp;gt;&amp;lt;color-in-table&lt;br /&gt;
num="13"&lt;br /&gt;
value="#800000"/&amp;gt;&amp;lt;color-in-ta&lt;br /&gt;
ble num="14"&lt;br /&gt;
value="#808000"/&amp;gt;&amp;lt;color-in-table&lt;br /&gt;
num="15"&lt;br /&gt;
value="#808080"/&amp;gt;&amp;lt;color-i&lt;br /&gt;
n-table num="16"&lt;br /&gt;
value="#C0C0C0"/&amp;gt;&amp;lt;/color-table&amp;gt;&amp;lt;style-table&amp;gt;&amp;lt;paragraph-styles&amp;gt;&amp;lt;&lt;br /&gt;
paragraph-style-in-table num="0"&lt;br /&gt;
font-size="12.00"&lt;br /&gt;
name="Normal" language="Frenc&lt;br /&gt;
h" adjust-right="true" align="left"&lt;br /&gt;
right-indent="0.00"&lt;br /&gt;
nest-level="0" next-styl&lt;br /&gt;
e="Normal" widow-control="true"&lt;br /&gt;
left-indent="0.00"/&amp;gt;&amp;lt;/paragraph-styles&amp;gt;&amp;lt;characte&lt;br /&gt;
r-styles&amp;gt;&amp;lt;character-style-in-table num="10"&lt;br /&gt;
name="Default&lt;br /&gt;
Paragraph Font"/&amp;gt;&amp;lt;/cha&lt;br /&gt;
racter-styles&amp;gt;&amp;lt;table&amp;gt;&amp;lt;/style-table&amp;gt;&amp;lt;doc-information&amp;gt;&amp;lt;author&amp;gt;admin&amp;lt;/author&amp;gt;&amp;lt;opera&lt;br /&gt;
tor&amp;gt;admin&amp;lt;/operator&amp;gt;&amp;lt;creation-time&lt;br /&gt;
year="2006" month="6"&lt;br /&gt;
day="12" minute="16"/&amp;gt;&amp;lt;&lt;br /&gt;
revision-time year="2006" month="6"&lt;br /&gt;
day="12"&lt;br /&gt;
minute="16"/&amp;gt;&amp;lt;editing-time editing-&lt;br /&gt;
time="0"/&amp;gt;&amp;lt;number-of-pages&lt;br /&gt;
number-of-pages="1"/&amp;gt;&amp;lt;number-of-words&lt;br /&gt;
number-of-words&lt;br /&gt;
="0"/&amp;gt;&amp;lt;number-of-characters&lt;br /&gt;
number-of-characters="0"/&amp;gt;&amp;lt;/doc-information&amp;gt;&amp;lt;page-de&lt;br /&gt;
finition gutter="0" margin-left="70.85"&lt;br /&gt;
paper-height="841.90" margin-bottom="70.&lt;br /&gt;
85" margin-top="70.85"&lt;br /&gt;
paper-width="595.30"&lt;br /&gt;
margin-right="70.85"/&amp;gt;&amp;lt;/preamble&amp;gt;&amp;lt;bo&lt;br /&gt;
dy&amp;gt;&amp;lt;section num="1" num-in-level="1"&lt;br /&gt;
type="rtf-native"&lt;br /&gt;
level="0"&amp;gt;&amp;lt;/section&amp;gt;&amp;lt;/bod&lt;br /&gt;
y&amp;gt;&amp;lt;/doc&amp;gt;&lt;/p&gt;
&lt;p&gt;C:\...\rtf2xml\scripts&amp;gt;c:\Python24\python.exe rtf2xml&lt;br /&gt;
--no-empty-para empty.rtf &amp;gt;empty.xml&lt;/p&gt;
&lt;p&gt;C:\...\rtf2xml\scripts&amp;gt;c:\Python24\python.exe rtf2xml&lt;br /&gt;
--version&lt;/p&gt;
&lt;p&gt;rtf2xml 1.33&lt;br /&gt;
Written by Paul Tremblay.&lt;/p&gt;
&lt;p&gt;Copyright (C) 2003 Free Software Foundation, Inc.&lt;br /&gt;
This is free software; see the source for copying&lt;br /&gt;
conditions.  There is NO&lt;br /&gt;
warranty; not even for MERCHANTABILITY or FITNESS FOR A&lt;br /&gt;
PARTICULAR PURPOSE.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tyfeur</dc:creator><pubDate>Tue, 20 Jun 2006 13:51:21 -0000</pubDate><guid>https://sourceforge.netdf034da35511e8c68b4b65e6b5e21d81c2f6d897</guid></item></channel></rss>