On Thu, 7 Jun 2001 15:17:01 -0400, [EMAIL PROTECTED] wrote:
>Are you saying that because there is more than one attribute, that we
>shouldn't output the attributes in minimized form?
No, I mean that there should be a list of boolean attributes.
>>The html output method should output boolean attributes (that is
>>*ATTRIBUTES WITH ONLY A SINGLE ALLOWED VALUE* that is equal to the name
>>of the attribute) in minimized form.
>their names? Is there some list in the HTML recommendation that describes
>which attributes are boolean?
I interpret the XSLT 1.0 text (quoted again above) in such a way that only
attributes with something like
<!ATTLIST foo attr (attr) #IMPLIED>
in the HTML DTD should be considered boolean. All others should be emitted
as-is.
Consider this:
[f:\tmp\xhtml1\dtd]egrep " ([a-z]+) +\(\1\)" xhtml1-
transitional.dtd|sort|uniq
checked (checked) #IMPLIED
compact (compact) #IMPLIED
compact (compact) #IMPLIED
declare (declare) #IMPLIED
defer (defer) #IMPLIED
disabled (disabled) #IMPLIED
ismap (ismap) #IMPLIED
multiple (multiple) #IMPLIED
nohref (nohref) #IMPLIED
noshade (noshade) #IMPLIED
nowrap (nowrap) #IMPLIED
readonly (readonly) #IMPLIED
selected (selected) #IMPLIED
and this (quoting XHTML 1.0):
C.10 Boolean Attributes
Some HTML user agents are unable to interpret boolean attributes when these
appear in their full (non-minimized) form, as required by XML 1.0. Note
this problem doesn't affect user agents compliant with HTML 4. The
following attributes are involved: compact, nowrap, ismap, declare,
noshade, checked, disabled, readonly, multiple, selected, noresize, defer.
Shall I post a bug report?
Ciao, J�rgen