ISSUE-19: whitespace around enumerated attributes

whitespace around enumerated attributes

State:
OPEN
Product:
Raised by:
Robert Miner
Opened on:
2008-01-17
Description:
http://lists.w3.org/Archives/Public/www-math/2007Dec/0008.html

Henri Sivonen notes that trimming of whitespace around ennumerated attributes is not widely implemented. For example, movablelimits="false" and movablelimits=" false " are not treated in the same way in Firefox.

But that is what the spec says to do.

George has the last word to date:

> The XML layer gives
> attribute values as strings to a higher processing layer without
> knowing what the higher layer wants to do with them. The spec for
> MathML needs to define what a MathML renderer reading the DOM is to do
> with an attribute value like " false ".

Ok. Taking into account David's comment I suppose in CSS profile we can clarify that MathML processor
does not strip spaces and just ignores invalid attribute values like:

<?xml version="1.0" encoding="utf-8"?>
<math xmlns="http://www.w3.org/1998/Math/MathML" version="to be specified">
<mtext mathvariant=" bold ">This text should not be bold</mtext>
</math>

That will deal with MathML part of the story. The same problem will still remain on XML level however as illustrated in earlier examples, we can not solve that one as it is outside our scope, but we can add informative comments in document conformance part suggesting not to rely on attribute value normalization. Will that address your concern?


Related Actions Items:
No related actions
Related emails:
No related emails

Related notes:

No additional notes.

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 19.html,v 1.1 2016/05/09 13:05:44 carine Exp $