W3C home > Mailing lists > Public > public-exi@w3.org > August 2008

[EXI] Restricted Character Sets for Built-in EXI Datatype Representations

From: santhanakrishnan <santhana@huawei.com>
Date: Fri, 01 Aug 2008 12:17:07 +0530
To: public-exi@w3.org
Message-id: <001701c8f3a2$6aff0ad0$4a18120a@china.huawei.com>
        In Table 7-2 "Restricted Character Sets for Built-in EXI Datatype
Representations" patterns are defined for EXI Built-in data types while
encoding the values as strings. Consider the following schema
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:simpleType name="pattern_t">
 <xs:restriction base="xs:integer">
  <xs:pattern value="[3-4]*"/>
<xs:element name="RollNo" type="pattern_t"/>
In the above schema I happen to encode the type as string. For this I need
to consider the pattern defined as per the table 7-2. But what is I
additionally have another pattern restriction as given above. Should I use
the intersection of both the patterns to derive the charset for the type ?
Received on Friday, 1 August 2008 06:48:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:52:43 UTC