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

[EXI] Schema-informed Element and Type Grammars

From: Yuri Delendik <yury_exi@yahoo.com>
Date: Wed, 1 Oct 2008 11:17:18 -0700 (PDT)
To: public-exi-comments@w3.org
Message-ID: <391364.10844.qm@web83204.mail.mud.yahoo.com>

The section 8.5.4 Schema-informed Element and Type Grammars describes how to build EXI schema-informed grammar from W3C XML Schema. Relax NG or other schema languages have different constructs (e.g. interleave or value based choices) that may not be expressed in XML Schema terms, but they can be expressed in EXI grammar terms.
The whole 8.5.4 looks like example rather than specification; and has to be moved into appendix or separate document. The section that explains EXI grammar terms may contain explanation of schema-valid values. Also, it will be better to express EXI options schema in EXI grammar terms in addition to the XML schema to illuminate variations in implementations. 
Creating grammar based on “strict” option state is more like creation of two independent schemas. Instead using of this option, it is better to use two different schemaIDs, e.g. urn:my-schema-strict and urn:my-schema-loose.  The spec is already saying “…The parties involved in the exchange are free to agree on the scheme of schemaID field that is appropriate for their use to uniquely identify the schema information.”
Received on Wednesday, 1 October 2008 18:17:58 UTC

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