Skip to content

Commit

Permalink
Remove some MathML attributes that aren't defined in the DTD
Browse files Browse the repository at this point in the history
They aren't used, and were giving xmllint warnings:

xml/lwg-issue.dtd:205: validity error : PEReference: %att-alt; not found
<!ATTLIST mglyph        %att-alt; %att-fontfamily; %att-index;>
                                 ^
xml/lwg-issue.dtd:205: validity error : PEReference: %att-index; not found
<!ATTLIST mglyph        %att-alt; %att-fontfamily; %att-index;>
                                                              ^
xml/lwg-issue.dtd:227: validity error : PEReference: %att-tableinfo; not found
                        %att-accentunder; %att-tableinfo; %att-rowspan; %att-col
                                                         ^
xml/lwg-issue.dtd:228: validity error : PEReference: %att-selection; not found
                        %att-edge; %att-selection; %att-bevelled; %att-height; %
                                                  ^
xml/lwg-issue.dtd:228: validity error : PEReference: %att-height; not found
                        %att-edge; %att-selection; %att-bevelled; %att-height; %
                                                                              ^
xml/lwg-issue.dtd:228: validity error : PEReference: %att-depth; not found
              %att-edge; %att-selection; %att-bevelled; %att-height; %att-depth;
                                                                               ^
  • Loading branch information
jwakely committed Nov 7, 2024
1 parent ad737d0 commit c513696
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xml/lwg-issue.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
<!ELEMENT mstyle (%PresExpression;)>

<!ATTLIST math %att-mode; %att-display; %MATHML.NamespaceDecl.attrib;>
<!ATTLIST mglyph %att-alt; %att-fontfamily; %att-index;>
<!ATTLIST mglyph %att-fontfamily;>
<!ATTLIST mrow %MATHML.Common.attrib;>
<!ATTLIST mi %MATHML.Common.attrib; %att-fontinfo;>
<!ATTLIST mo %MATHML.Common.attrib; %att-fontinfo; %att-opinfo;>
Expand All @@ -224,8 +224,8 @@
%att-rquote; %att-linethickness; %att-scriptlevel; %att-scriptsizemultiplier;
%att-scriptminsize; %att-background; %att-open; %att-close;
%att-separators; %att-subscriptshift; %att-superscriptshift;
%att-accentunder; %att-tableinfo; %att-rowspan; %att-columnspan;
%att-edge; %att-selection; %att-bevelled; %att-height; %att-depth;>
%att-accentunder; %att-rowspan; %att-columnspan;
%att-edge; %att-bevelled;>

<!-- the common HTML entities for special characters -->
<!ENTITY Aacute "&#xC1;">
Expand Down

0 comments on commit c513696

Please sign in to comment.