Skip to content

Commit c513696

Browse files
committed
Remove some MathML attributes that aren't defined in the DTD
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; ^
1 parent ad737d0 commit c513696

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/lwg-issue.dtd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
<!ELEMENT mstyle (%PresExpression;)>
203203

204204
<!ATTLIST math %att-mode; %att-display; %MATHML.NamespaceDecl.attrib;>
205-
<!ATTLIST mglyph %att-alt; %att-fontfamily; %att-index;>
205+
<!ATTLIST mglyph %att-fontfamily;>
206206
<!ATTLIST mrow %MATHML.Common.attrib;>
207207
<!ATTLIST mi %MATHML.Common.attrib; %att-fontinfo;>
208208
<!ATTLIST mo %MATHML.Common.attrib; %att-fontinfo; %att-opinfo;>
@@ -224,8 +224,8 @@
224224
%att-rquote; %att-linethickness; %att-scriptlevel; %att-scriptsizemultiplier;
225225
%att-scriptminsize; %att-background; %att-open; %att-close;
226226
%att-separators; %att-subscriptshift; %att-superscriptshift;
227-
%att-accentunder; %att-tableinfo; %att-rowspan; %att-columnspan;
228-
%att-edge; %att-selection; %att-bevelled; %att-height; %att-depth;>
227+
%att-accentunder; %att-rowspan; %att-columnspan;
228+
%att-edge; %att-bevelled;>
229229

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

0 commit comments

Comments
 (0)