Issue 90555 - import MathML : Pb with <mo>{</mo> (non-scalable bracket on left only)
Summary: import MathML : Pb with <mo>{</mo> (non-scalable bracket on left only)
Status: CONFIRMED
Alias: None
Product: Math
Classification: Application
Component: code (show other issues)
Version: OOo 2.4.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-10 14:03 UTC by apourche
Modified: 2014-12-27 15:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
MathML that show the pb (911 bytes, text/mathml)
2008-06-10 14:05 UTC, apourche
no flags Details
bad view in openOffice (4.25 KB, image/png)
2008-06-10 14:06 UTC, apourche
no flags Details
Good View (912 bytes, image/png)
2008-06-10 14:06 UTC, apourche
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description apourche 2008-06-10 14:03:51 UTC
The interpretation of <mo>{</mo> is very bad. ex :
<math xmlns="http://www.w3.org/1998/Math/MathML">
    <mstyle fontfamily="serif">
        <mrow>
            <mo>{</mo>
            <mrow>
                <mspace width="0.167em"/>
                <mtable columnalign="center center " displaystyle="false">
                    <mtr>
                        <mtd>
                            <mi>x</mi>
                            <mo>=</mo>
                            <mn>1</mn>
                        </mtd>
                    </mtr>
                    <mtr>
                        <mtd>
                            <mi>y</mi>
                            <mo>=</mo>
                            <mn>0</mn>
                        </mtd>
                    </mtr>
                </mtable>
                <mspace width="0.167em"/>
            </mrow>
        </mrow>
    </mstyle>
</math>
Comment 1 apourche 2008-06-10 14:05:59 UTC
Created attachment 54363 [details]
MathML that show the pb
Comment 2 apourche 2008-06-10 14:06:28 UTC
Created attachment 54364 [details]
bad view in openOffice
Comment 3 apourche 2008-06-10 14:06:54 UTC
Created attachment 54365 [details]
Good View
Comment 4 michael.ruess 2008-06-11 13:54:23 UTC
MRU->TL: import of attached MML gives "font serif { lbrace  {matrix {{x = 1} ##
{y = 0}}}}", but should be more like "font serif { "{"  {matrix {{x = 1} ## {y =
0}}}}".
The parser should regard that a non-scalable left bracket without a left bracket
is desired.
Comment 5 Joost Andrae 2008-06-12 15:38:10 UTC
I believe yo want something like

left lbrace matrix {x=1 ## y=0} right none