[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] xhtml-bform.rnc: Supplement missing input types
From: |
Chong Yidong |
Subject: |
Re: [PATCH] xhtml-bform.rnc: Supplement missing input types |
Date: |
Thu, 27 Jan 2011 19:00:02 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Daniel Nyström <address@hidden> writes:
> Attached a patch which just adds some previous missing xhtml (1.0 and
> 1.1) input element types.
Thanks, but this doesn't look right. The contents of xhtml-bform.rnc
are generated automatically from the schema posted by the W3C at
http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/schema_module_defs.html
where we see the following comment:
<!--
Basic Forms removes button, 'image' and 'file' input types.
-->
<xs:simpleType name="InputType.class">
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="text"/>
<xs:enumeration value="password"/>
<xs:enumeration value="checkbox"/>
<xs:enumeration value="radio"/>
<xs:enumeration value="submit"/>
<xs:enumeration value="reset"/>
<xs:enumeration value="hidden"/>
</xs:restriction>
</xs:simpleType>