- From: Chris <chrishe@hmgcc.gsi.gov.uk>
- Date: Thu, 26 Apr 2007 09:13:34 +0100
- To: www-html@w3.org
In all the XHTML 1.0 schemas (http://www.w3.org/TR/xhtml1-schema/) OLStyle type is defined as a xs:string. In the documentation, it is clear that it can only take 5 values. Why isn't it defined as an enumeration? Is there a reason or is it an oversight? Suggested correction is below: <xs:simpleType name="OLStyle"> <xs:annotation> <xs:documentation> Ordered list numbering style 1 arabic numbers 1, 2, 3, ... a lower alpha a, b, c, ... A upper alpha A, B, C, ... i lower roman i, ii, iii, ... I upper roman I, II, III, ... The style is applied to the sequence number which by default is reset to 1 for the first list item in an ordered list. </xs:documentation> </xs:annotation> <xs:restriction base="xs:token"> <xs:enumeration value="1"/> <xs:enumeration value="a"/> <xs:enumeration value="A"/> <xs:enumeration value="i"/> <xs:enumeration value="I"/> </xs:restriction> </xs:simpleType> Regards -- Chris HMGCC The information contained in this message (and any attachments) may be confidential and is intended for the sole use of the named addressee. Access, copying, alteration or re-use of the e-mail by anyone other than the intended recipient is unauthorised. If you are not the intended recipient please advise the sender immediately by returning the e-mail and deleting it from your system. This information may be exempt from disclosure under Freedom Of Information Act 2000 and may be subject to exemption under other UK information legislation. Refer disclosure requests to the Information Officer. The original of this email was scanned for viruses by the Government Secure Intranet Anti-Virus service supplied by Cable&Wireless in partnership with MessageLabs. (CCTM Certificate Number 2006/04/0007.) On leaving the GSi this email was certified virus free. Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes.
Received on Friday, 27 April 2007 12:26:03 UTC