Re: [EXI] Restricted character Set

Hi Santhana,

As mentioned in section 7.1.10 of the specification, restricted
character set only applies to the String type.  The example below is
based on an integer type, so the pattern facet value will have no
effect.  This is true even if the preserve lexical values option is
set.

Regards,

Ed Day
Objective Systems, Inc.
http://www.obj-sys.com




On Mon, Jul 21, 2008 at 3:08 AM, santhanakrishnan <santhana@huawei.com> wrote:
> Hi EXI WG,
>     This is regarding the restricted character set derivation .
>
>     If I have derived a data type as follows
>
>     <xs:simpleType name="quantity_t">
>
>         <xs:restriction base="xs:integer">
>
>             <xs:pattern value='[3-4]'/>
>
>         </xs:restriction>
>
>     </xs:simpleType>
>
> 1. How the restricted character set will be derived for quantity_t?
>
>             A. We have to derive based on pattern facet on quantity_t type (
> i. e. white space & 3, 4)
>
>             B. Or we have to derive based on pattern facet on xs:integer (i.
> e. white space & +, -, 0-9)
>
>             C. Or both the patterns should be considered.
>
> 2. What are considerations to determine the restricted character set? if
> there are more than one pattern facet present in the hierarchy of the data
> types.
>
> 3. Is for all types white space is a default character in the charset, even
> if not defined in that type?
>
>
>
> Please clarify
>
> regards
>
> Ravikumar and Santhanakrishnan

Received on Friday, 25 July 2008 19:28:53 UTC