Are you saying that because there is more than one attribute, that we
shouldn't output the attributes in minimized form?
Or, are you saying that these attributes might have other allowed values,
and these just happen, in this particular case, to have values equal to
their names? Is there some list in the HTML recommendation that describes
which attributes are boolean?
Dave
"Juergen
Hermann" To: "Xalan Developers"
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> cc: (bcc: David N Bertoni/CAM/Lotus)
Subject: Xalan/C 1.1: HTML output and
boolean attributes
06/07/2001
12:16 PM
Please
respond to
xalan-dev
Hi!
If you have
<input name="name" value="value"/>
in your stylesheet, the html serializer emits
<input name value>
which _might_ be conformant, but poses a real problem. Should this be
considered a bug?
Reading the spec, I'd say so (*EMPHASIS* is mine):
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. For example, a start-tag written
in the stylesheet as
<OPTION selected="selected">
should be output as
<OPTION selected>
Ciao, J�rgen
--
J�rgen Hermann, Developer ([EMAIL PROTECTED])
WEB.DE AG, http://webde-ag.de/
- Xalan/C 1.1: HTML output and boolean attributes Juergen Hermann
- Re: Xalan/C 1.1: HTML output and boolean attributes David_N_Bertoni
- Re: Xalan/C 1.1: HTML output and boolean attribut... Juergen Hermann
