RE: [EXI] Document Grammar in Schema informed mode

HI Santhanakrishnan,
 
Yes, the SE(*) production is required in the Document grammar for
conformance with the XML Schema specification. In particular, the XML Schema
specification allows you to use an undeclared element as the document root
as long as you provide a valid xsi:type for that element and the content
conforms to the specified type definition. See part 1.2 of the section
"Validate Rule : Schema-Validity Assessment (Element)" [1] in the XML Schema
specification for details.
 
    Cheers,
 
    John
 
[1] http://www.w3.org/TR/xmlschema-1/#cvc-assess-elt


  _____  

From: public-exi-request@w3.org [mailto:public-exi-request@w3.org] On Behalf
Of santhanakrishnan
Sent: Monday, May 19, 2008 6:31 AM
To: public-exi@w3.org
Subject: [EXI] Document Grammar in Schema informed mode



Hi EXI Experts

       Will the document grammar give in section 8.5.1 for schema informed
mode remain same for strict and non-strict modes of schema informed
encoding. Particularly the presence of SE (*) production in Document
grammar. Will it have to be retained in the case of strict mode of encoding
also.

 

Regards

Santhanakrishnan

Received on Tuesday, 20 May 2008 21:05:21 UTC