- From: FABLET Youenn <Youenn.Fablet@crf.canon.fr>
- Date: Tue, 5 May 2009 10:57:07 +0200
- To: "public-exi-comments@w3.org" <public-exi-comments@w3.org>
- Message-ID: <C1797CB6A125334AB23C5A0A160944AD2E639C7842@cressida.crf.canon.fr>
Dear EXI WG, I would like to have some clarification on two cases regarding SE(* ) grammar selection. 0) A schema with several element definitions for the same QName. We can have a schema with several local element definitions and at most one global element definition with the same QName. I assume that we generate as many grammars as needed for the same QName element and that the selection of the right grammar in schema-informed mode is done using scope information. Is that assumption right or is a different approach being used? 1) Wildcard SE(*). Which grammar should I peak for a SE(*) belonging to a wildcard term? - If I have a global element definition and one or more local element definition, should I peak the global element grammar? - If I have only one local element definition, should I peak the local element grammar or peak/create a built-in grammar? I did not found much description on the wildcard section related to that. Some guidance may be good there. 2) Built in SE(*). Which grammar should I peak for a SE(*) belonging to a built-in grammar? If I have a global element definition (plus maybe local element definitions), should I peak/create a built-in grammar or the global element grammar ? If I have a local element definition, should I peak a built-in grammar or the local element grammar ? My understanding of the current spec (see the semantics section of 8.4.3) is that a SE(*) belonging to a built-in grammar may only lead to a built-in grammar for its content but my understanding may be too restrictive? Since we can go from built-in grammar to schema-informed grammar using xsi:type, I would hope that at least when we have a GED grammar, we are able to go from built-in to schema-informed grammar directly through the SE mechanism. Regards, Youenn
Received on Tuesday, 5 May 2009 08:57:36 UTC