- From: Poornima <poornimadms@huawei.com>
- Date: Thu, 30 Oct 2008 14:18:55 +0530
- To: public-exi@w3.org
- Message-id: <004001c93a6c$58137940$291c120a@china.huawei.com>
Hi WG, There is a query regarding the encoding of schema grammar for any element with processContents set to strict. When any element is declared in the schema document,with namespace set to "##any" and processContents attribute set to "strict" and in the XML document the element declared in the same schema is used for the any element.This element's grammar is already present in the schema grammar witb SE(qname) production. In such a case for encoding to EXI stream.will the SE(*) production be selected or SE(qname) production be selected for the element used for the any element inside the XML document? Files for the above mentioned case have been attched below.Request u to answer this query Schema File: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:complexType name="EXItype"> <xs:sequence> <xs:any namespace="##any" processContents="strict"/> </xs:sequence> </xs:complexType> <xs:element name="EXIelem" type="EXItype"/> <xs:element name="price" type="xs:string"/> </xs:schema> XML file: <?xml version="1.0" encoding="UTF-8"?> <EXIelem> <price>Hello</price> </EXIelem> Thank you Regards Poornima DMS
Received on Thursday, 30 October 2008 10:08:24 UTC