Bug 75930

Summary: IMPORT MathML: some characters are missing
Product: LibreOffice Reporter: Mike Kaganski <mikekaganski>
Component: Formula EditorAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: guilleron29, marcos.souza.org
Version: 4.2.0.0.beta1   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: ZIP with problematic MML and screenshot
Actual encoding (LO 4.2.2.1)

Description Mike Kaganski 2014-03-09 01:06:54 UTC
Created attachment 95380 [details]
ZIP with problematic MML and screenshot

Importing the MML file from attachment skips some characters.
Seems that they are characters that immediately precede numeric character references (&#xXXXX;).

Also, in the attachment there is a screenshot displaying the current state of import, and the expected result. Problematic places are marked.

Tested with 4.2.0.0.beta1-4.2.2.1 under Win7x64, and 4.2.1.1 under Ubuntu 13.10 x64. Previous versions couldn't handle this file at all.

Marcos, adding you to CC as you suggested in bug 59642, because you are the expert in this area. Please excuse me if it's a wrong thing to do.
Comment 1 Jacques Guilleron 2014-03-10 11:05:09 UTC
Hi Mike,

Reproduced with LO 4.2.2.1 and LO 4.3.0.0.alpha0+
Build ID: 7122ef19847b26529ed1d5bad40df869e91a8495
TinderBox: Win-x86@39, Branch:master, Time: 2014-03-06_00:38:21
& Windows 7 Home Premium.
Confirm also that this file cannot be opened with LO 3.6.6.2
Add for comparison the actual encoding (LO 4.2.2.1) for correct displaying.

Set status to NEW.

Kind regards,

Jacques
Comment 2 Jacques Guilleron 2014-03-10 11:07:02 UTC
Created attachment 95498 [details]
Actual encoding (LO 4.2.2.1)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.