- From: Mukul Gandhi <gandhi.mukul@gmail.com>
- Date: Sat, 23 Jan 2016 09:14:14 +0530
- To: "Costello, Roger L." <costello@mitre.org>
- Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Received on Saturday, 23 January 2016 03:45:02 UTC
Hi Roger, On 21 January 2016 at 18:21, Costello, Roger L. <costello@mitre.org> wrote: > > For example, no type is specified in this element declaration: > > <element name="E" /> > > So it has the default type: > > <element name="E"> > <complexType mixed="true"> > <sequence> > <any maxOccurs="unbounded" minOccurs="0"/> > </sequence> > <anyAttribute/> > </complexType> > </element> > I believe you're correct in saying this (if I recall correctly, this is also stated in the XSD spec in some way). This is also equivalent to the XSD type xs:anyType I think. > > Likewise, no type is specified in this attribute declaration: > > <attribute name="A" /> > > So it has the default type: > > <attribute name="A" type="anySimpleType" /> > That's correct also I think. > > Do you agree with this statement: > > Every element has a type, even if none is specified; > if none is specified, then the element has the default type. > Yes of course this statement is correct. This is formally illustrated in the above points as well. -- Regards, Mukul Gandhi
Received on Saturday, 23 January 2016 03:45:02 UTC