Yes hub you're correct.
I'll fix that now. I have now idea what the mIME type for an itex
string is anyway
Martin
On Mon, Jun 29, 2009 at 3:58 PM, Hubert Figuiere<hfiguiere@teaser.fr> wrote:
>
> On 06/29/2009 02:54 AM, cvs@abisource.com wrote:
>> Modified: abiword/trunk/src/text/fmt/xp/fv_View_cmd.cpp
>> ===================================================================
>> --- abiword/trunk/src/text/fmt/xp/fv_View_cmd.cpp 2009-06-29 03:57:06 UTC (rev 27060)
>> +++ abiword/trunk/src/text/fmt/xp/fv_View_cmd.cpp 2009-06-29 06:54:21 UTC (rev 27061)
>> @@ -5502,8 +5502,8 @@
>> UT_ByteBuf latexBuf;
>> mathBuf.ins(0,reinterpret_cast<const UT_Byte *>(sMath.utf8_str()),static_cast<UT_uint32>(sMath.size()));
>> latexBuf.ins(0,reinterpret_cast<const UT_Byte *>(sLatex.utf8_str()),static_cast<UT_uint32>(sLatex.size()));
>> - m_pDoc->createDataItem(sMathName.utf8_str(),false,&mathBuf,"",NULL);
>> - m_pDoc->createDataItem(sLatexName.utf8_str(),false,&latexBuf,"",NULL);
>> + m_pDoc->createDataItem(sMathName.utf8_str(),false,&mathBuf,"MathML",NULL);
>> + m_pDoc->createDataItem(sLatexName.utf8_str(),false,&latexBuf,"iTex",NULL);
>> // OK Insert the MathML Object
>> const gchar * atts[9]={"dataid",NULL,"latexid",NULL,"props",NULL,NULL,NULL,NULL};
>> atts[1] = static_cast<const gchar *>(sMathName.utf8_str());
>
>
> Martin,
>
> I'm not sure if that commit was intentionnal, but neither "MathML" nor
> "iTex" are valid MIME types.
> At least the empty string was empty.
>
> Nor do I think it relate to bug 11777
>
> Hub
>
Received on Mon Jun 29 09:04:56 2009
This archive was generated by hypermail 2.1.8 : Mon Jun 29 2009 - 09:04:56 CEST