W3C home > Mailing lists > Public > www-forms-editor@w3.org > August 2002

Repeat-* Attributes Considered Harmful

From: Jérôme Nègre <jerome.negre@e-xmlmedia.fr>
Date: Tue, 27 Aug 2002 15:39:32 +0200
Message-ID: <3D6B8114.3030108@e-xmlmedia.fr>
To: "www-forms-editor@w3c.org" <www-forms-editor@w3c.org>

Hi,

The new draft defined the repeat-* attributes in chapter 9.3.2 because 
XHTML (or any host language) doesn't allow <xforms:repeat>.

However, the following syntax is also forbidden in XHTML:
<html:table>
	<xforms:switch>
		<xforms:case>
			<html:tr>...</html:tr>
		</xforms:case>
		<xforms:case>
			<html:tr>...</html:tr>
		</xforms:case>
	</xforms:switch>
</html:table>
Following the same logic, attributes switch-* and case-* should also be 
defined.

Moreover, we also have a problem with <xforms:input> inside <html:p>, 
and so on. Adding new attributes input-* (and upload-*, range-*, 
setvalue-*, aso...) is not a good solution IMHO.

IMHO, chapter 9.3.2 should be removed, and another solution should be 
defined to include XForms elements inside XHTML.

Regards,
Jérôme
Received on Tuesday, 27 August 2002 09:41:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:11 GMT