ISSUE-34: Implications of broadly applying xsi:type and xsi:nil semantics to all AT(*) event types

Implications of broadly applying xsi:type and xsi:nil semantics to all AT(*) event types

State:
CLOSED
Product:
EXI Spec
Raised by:
Takuki Kamiya
Opened on:
2009-04-08
Description:
The group would like to lessen the attribute-order constraint
in schema-informed grammar by permitting even valid attribute
occurrences to match AT(*). There was a question of what happens
when AT(*) is applied to xsi:type and xsi:nil. The recent spec
update upholds such AT(*) usages. In parallel, it is also used
as a way for built-in grammar to learn productions that captures
those special attributes.

There were concerns expressed by TK about the semantics broadly
applied to all AT(*) cases.

- AT(*) event types that are derived from schemas are not
adequate for capturing xsi:type and xsi:nil, because such
usage is not what the original schema author intended.

Also, here is what we say about strict mode in the spec,
which we should adhere to, in order to avoid confusion.

"When set to true, NS, CM, PI, ER, and SC events are pruned
from EXI grammars, and schema-informed element and type
grammars are restricted to only permit items declared in
the schemas. The xsi:schemaLocation and xsi:noNamespaceSchemaLocation
attributes are not permitted in EXI streams when the strict
option is set to true. "

- In section 6, the spec mentions the order of NS, AT(xsi:type),
AT(xsi:nil) and other AT events. There should be a explicit
statement what a processor ought to do when it encounters
xsi:type after other attributes, for example. In some cases
the grammar is permissive of such an order, therefore an the
rule should be spelled out in terms of processor behaviour
for such cases. The applicability of xsi:type and xsi:nil to
AT(*) increases the chance for a careless implementations to
generate a stream that does not follow the expected order. We
should prevent it from occurring by more explicit rule.

Related Actions Items:
Related emails:
  1. Agenda for 29 Apr EXI Telecon (from tkamiya@us.fujitsu.com on 2009-04-28)
  2. Agenda for 22 Apr EXI Telecon (from tkamiya@us.fujitsu.com on 2009-04-21)
  3. Agenda for 15 Apr EXI Telecon (from tkamiya@us.fujitsu.com on 2009-04-14)
  4. ISSUE-34: Implications of broadly applying xsi:type and xsi:nil semantics to all AT(*) event types [EXI Spec] (from sysbot+tracker@w3.org on 2009-04-08)

Related notes:

Call for the need for explicit statements about the order of xsi:type and xsi:nil attributes, with mention of the consequence of unexpected order.
http://lists.w3.org/Archives/Member/member-exi-wg/2009Apr/0028.html

Takuki Kamiya, 22 Apr 2009, 00:36:31

Action to TK

Carine Bournez, 6 May 2009, 08:45:06

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: 34.html,v 1.1 2018/11/23 13:51:32 carine Exp $