[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: |
Daniel Nyström |
Subject: |
Re: [PATCH] xhtml-bform.rnc: Supplement missing input types |
Date: |
Fri, 28 Jan 2011 11:01:59 +0100 |
2011/1/28 Chong Yidong <address@hidden>:
> 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>
>
Wasn't aware of the automatic generation (shouldn't that file be
generated at compile time..?) but this is where I found the
specifications:
http://www.w3.org/TR/xhtml1-schema/#xhtml1-strict
And as far as I can see, there's no mention of "basic form". How do we fix this?