W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2008

Applying enumeration-facet on list type

From: Eran Balter <E.Balter@F5.com>
Date: Thu, 7 Feb 2008 01:09:41 -0800
Message-ID: <AB313AF70F994447A667F4D942CA655714B763EE@excheight.olympus.f5net.com>
To: <xmlschema-dev@w3.org>


When defining an enumeration-facet on a list, should we consider the
lexical-space or value-space of the value? 

Is the following example legal?



<root MyAtt="1.0 2.0"/> 



<?xml version="1.0" ?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

            <xsd:element name="root">


                        <xsd:attribute name="MyAtt">




itemType="xsd:decimal" />


                                    <xsd:enumeration value='1.0 2'/> 






Received on Thursday, 7 February 2008 13:22:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:46 UTC