W3C

Edit comment LC-2362 for Efficient Extensible Interchange Working Group

Quick access to

Previous: LC-2361 Next: LC-2364

Comment LC-2362
:
Commenter: FABLET Youenn <Youenn.Fablet@crf.canon.fr>

or
Resolution status:

Dear all,

This is feedback we have related to the EXI specification.

When preserveLexicalValues is true, @xsi:type should be encoded as a string, right?
In the case of preserving lexical values but not preserving namespaces (strict mode for instance),
the EXI stream will not contain any information about the URI of the @xsi:type qname value.
If that is correct, there is a potential issue:

- Encoder has the URI information

o Encoder will pick the grammar from the @xsi:type value (according the spec)

- Decoder has not the URI information

o It is not able to check whether there is a grammar associated to the @xsi:type value

o Decoder will pick the default grammar (this my interpretation of the spec)
I am a bit surprised that @xsi:type dynamic typing would not be usable when preserving lexical values in strict mode...
Anyway, the spec should probably align the EXI encoder behavior with the EXI decoder.

Regards,
Youenn
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 2362.html,v 1.1 2017/08/11 06:44:10 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org