ISSUE-45: Support for the use of xsi:type on schemaID element in header options document

Support for the use of xsi:type on schemaID element in header options document

State:
CLOSED
Product:
EXI Spec
Raised by:
Daniel Peintner
Opened on:
2009-10-06
Description:
There is an issue regarding whether <schemaID> element in the
header options document should be allowed to support xsi:type
attribute for specifying alternative types used to encode
schemaID values. This issue has been brought to attention in
June 2009 by DP:
http://lists.w3.org/Archives/Member/member-exi-wg/2009Jun/0036.html
Related Actions Items:
No related actions
Related emails:
  1. ISSUE-45: Support for the use of xsi:type on schemaID element in header options document [EXI Spec] (from sysbot+tracker@w3.org on 2009-10-06)

Related notes:

There are pros and cons implicated by the suggested change.

Pros
- Values of types other than xsd:string can be used for
encoding schemaID.
- "12345" takes just 2 bytes in Unsigned Integer, but takes
6 bytes in String representation. (better compactness)

Cons:
- Incurs 1 bit penalty for xsi:nil attributes that occur
in schemaID elements, due to the addition of a production
for supporting xsi:type.
- Minimal implementations that only needed to implement String
and Unsigned Integer datatype representation would have to
implement many other datatype representations in case they
are used.
- There is a markup cost of 19 bits for denoting an xsi:type.
This is in addition to the value of the xsi:type attribute.
2 bits for AT(xsi:type)
3 bits for qname.uri (5 namespaces)
8 bits for qname.localname (string table hit)
6 bits for qname.localname (XSD compact-id - 46 names)
- How do you treat the schemaID integer value 12345 when you
expect texural "12345" to identify a schema? Any conversion
involved? Who decides whether to attempt to convert or not,
and what kind of conversion logic should be used?
DP says conversion need not be performed, which makes the
life a lot simpler.

Takuki Kamiya, 6 Oct 2009, 19:57:09

The WG reached a consensus that adding the support for xsi:type on schemaID element might unnecessarily complicate the processing to the extent that it
seems to outweigh the benefit that would be resulted from doing so. (2009-10-07)

Takuki Kamiya, 7 Oct 2009, 18:15:01

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 45.html,v 1.1 2018/11/23 13:51:33 carine Exp $