Bug 45897

Summary: Writer FILESAVE: validation of odt not passed: Document root element "math", must match DOCTYPE root "null"
Product: LibreOffice Reporter: sasha.libreoffice
Component: Formula EditorAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: jmadero.dev, l.lunak, michael.stahl, sasha.libreoffice
Priority: medium    
Version: 3.5.0 RC2   
Hardware: All   
OS: All   
Whiteboard: odf odf_validation
Crash report or crash signature: Regression By:
Attachments: test case

Description sasha.libreoffice 2012-02-10 07:24:28 UTC
Created attachment 56876 [details]
test case

document not passed validation on http://odf-validator.rhcloud.com/
errors is:
math_newline_issue.odt/Object 1/content.xml[2,6]: Error: Document is invalid: no grammar found.
math_newline_issue.odt/Object 1/content.xml[2,6]: Error: Document root element "math", must match DOCTYPE root "null".

used 3.6.0 master 97fdf02-9eed775-f061262
Comment 1 Florian Reisinger 2012-05-20 05:51:34 UTC
IMHo this is a duplicate....

*** This bug has been marked as a duplicate of bug 45895 ***
Comment 2 sasha.libreoffice 2012-05-21 02:05:06 UTC
It is not duplicate. Bugs is completely different
Comment 3 Joel Madero 2012-09-10 20:26:51 UTC
This looks like a dupe to me...
Comment 4 Michael Stahl (allotropia) 2012-09-13 11:10:58 UTC
hmm that "no grammar found" error sounds suspicious, like that validator
is missing some schema files...

LO Math doesn't appear to write a DOCTYPE into MathML documents.

quickly skimming these, it seems to me that a DOCTYPE declaration
is entirely optional for MathML documents:

http://www.w3.org/TR/REC-MathML/appendixA.html
http://www.w3.org/TR/MathML2/appendixa.html
http://www.w3.org/TR/MathML3/appendixa.html

(and i don't even know which version LO Math is supposed to support)

so based on that i'd say NOTABUG

also, this is in no way a duplicate of any other bug that i've seen.