W3C home > Mailing lists > Public > public-exi-comments@w3.org > January 2009

Re: [EXI LC comment] data type identifier in a document

From: Daniel Peintner <daniel.peintner@gmail.com>
Date: Fri, 2 Jan 2009 13:08:39 +0100
Message-ID: <abbf52e10901020408p6787560dlc98143a1955c871c@mail.gmail.com>
To: "SHIMIZU Wataru" <shimizu.wataru@canon.co.jp>
Cc: public-exi-comments@w3.org, "Efficient XML Interchange WG" <member-exi-wg@w3.org>

Dear Wataru,

Thank you for your feedback.

> EXI documents do not include data type identifier of each value. Thus
> all data types other than string can be used only in schema-informed
> documents. Is it impossible to encode attribute values as integer
> without schema? Fast Infoset document has data type identifier of each
> values and I think it's a good approach.

EXI allows one to provide the same typing information as XML. In XML
documents you can provide hints about the type by using the attribute
xsi:type. EXI makes use of this information in the same fashion.

EXI being type-aware with attributes and any other type other than the
built-in types provided by XML Schema requires external information
such as an XML schema document.
For a more detailed explanation please take a look at our response to
a related question (see [1]).

Hope this answers your question and explains our rationale


-- Daniel

[1] http://lists.w3.org/Archives/Public/public-exi-comments/2009Jan/0000.html
Received on Friday, 2 January 2009 12:09:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:45:28 UTC