W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2012

[Bug 17482] New: MathML 3.0: linebreaking and indentation attributes in mspace

From: <bugzilla@jessica.w3.org>
Date: Wed, 13 Jun 2012 15:18:35 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-17482-169@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17482

           Summary: MathML 3.0: linebreaking and indentation attributes in
                    mspace
           Product: Validator (Nu)
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
        AssignedTo: mike+validator@w3.org
        ReportedBy: edutabacman@gmail.com
         QAContact: www-validator-cvs@w3.org


I tried validating the page http://www.afwings.net/mathml.htm
The MathML markup there is 

<math display='block'>
   <mrow>
      <mfrac>
         <mrow>
            <mn>1</mn>
         </mrow>
         <mrow>
            <mn>2</mn><mi linebreak="badbreak">x</mi>
         </mrow>
      </mfrac>
      <mspace linebreakstyle='before' indentalign='left' linebreak='newline'/>
      <mfrac>
         <mrow>
            <mn>1</mn>
         </mrow>
         <mrow>
            <mn>2</mn>
         </mrow>
      </mfrac>
   </mrow>
</math>

The validator reported 3 errors; the first one is a real one (linebreak in an
mi), but the other two are:

Error: Attribute linebreakstyle not allowed on element mspace at this point.
>From line 21, column 7; to line 21, column 78
ac>↩      <mspace linebreakstyle='before' indentalign='left'
linebreak='newline'/>↩     
Error: Attribute indentalign not allowed on element mspace at this point.
>From line 21, column 7; to line 21, column 78
ac>↩      <mspace linebreakstyle='before' indentalign='left'
linebreak='newline'/>↩     

According to the MathML 3.0 spec, both linebreak and indentalign attributes are
valid in mspace.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 13 June 2012 15:18:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:50 UTC