Development

#3707 (When fillin enabled in validator, selected values in list-type tags output invalid XHTML)

You must first sign up to be able to contribute.

Ticket #3707 (closed defect: worksforme)

Opened 4 months ago

Last modified 4 months ago

When fillin enabled in validator, selected values in list-type tags output invalid XHTML

Reported by: aaronhall Assigned to: FabianLange
Priority: minor Milestone:
Component: validation Version: 1.0.16
Keywords: fillin, validator, xhtml Cc:
Qualification: Unreviewed

Description

On forms for which fillin is enabled in the validator yaml file, list-type elements (SELECT, INPUT[RADIO] and INPUT[CHECKBOX]) having 'filled in' values are selected using 'selected' instead of 'selected="selected"' or 'checked' instead of 'checked="checked"' respectively

Confirmed in 1.0.16

Change History

06/09/08 11:17:41 changed by FabianLange

  • owner changed from fabien to FabianLange.
  • status changed from new to assigned.

06/09/08 15:36:20 changed by FabianLange

you need to use the content_type xml or xhtml (from 1.0.17 which is xml without prolog) to output valid xhtml. otherwise html is printed which behaves as you describe. ill add a unit test for this

06/09/08 15:41:22 changed by FabianLange

  • status changed from assigned to closed.
  • resolution set to worksforme.

06/09/08 15:41:30 changed by FabianLange

(In [9494]) added more fillin tests. refs #3707

06/09/08 15:41:43 changed by FabianLange

(In [9495]) added more fillin tests. refs #3707