Regina Henschel <rb.hensc...@t-online.de> has asked for review: Issue 126230: Current type detection is too restrict https://bz.apache.org/ooo/show_bug.cgi?id=126230
Attachment 84673: improving detection of MathML https://bz.apache.org/ooo/attachment.cgi?id=84673&action=edit --- Comment #6 from Regina Henschel <rb.hensc...@t-online.de> --- Created attachment 84673 --> https://bz.apache.org/ooo/attachment.cgi?id=84673&action=edit improving detection of MathML This is my final version of the patch. It has this goals: Make it possible to open and import MathML fragments, which have only the math element body. That makes it easier for users to reuse formulas from external libraries. Make it possible to open and import MathML files with any prefix on the math element. OOo1.15 had used prefix "math", MS Office uses prefix "mml", other prefixes are possible. Detect MathML files, which are UTF-16 encoded. The MS Math Input Panel puts such files into the clipboard. The patch tries to open all files in Math, which the parser can parse in Math context. If you find a file, that will be detected as "MathML", but the parser is not able to open, inform me and attach the file. Such case would result in an "General input/output error". --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org