Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Empty complexType with "mixed" attribute [Thread Next] RE: Empty complexType with "mixed" attributeTo: "'Jochen Wiedmann'" <jochen.wiedmann@----------.--->, <xmlschema-dev@--.---> Date: 9/13/2004 3:33:00 PM Here's one difference: in XQuery, the typed value of this node should be xdt:untypedAtomic, whereas a complex type with simple content and base xs:string has a typed value of xs:string. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: xmlschema-dev-request@w... > [mailto:xmlschema-dev-request@w...] On Behalf Of Jochen Wiedmann > Sent: 13 September 2004 13:16 > To: xmlschema-dev@w... > Cc: Mik Lernout > Subject: Empty complexType with "mixed" attribute > > > > Hi, > > suggest the following type definition: > > <complexType mixed="true"> > <attribute name="test" type="xs:string"/> > </complexType> > > We are currently discussing, how to evaluate this, with two possible > solutions: > > - Take it as it is, a complex type with complex content and > XsContentType "mixed". > - Take it as a complex type with simple content and base > xs:string. > > Would the simple content approach be permissive or are there > any subtle > differences? > > > Regards, > > Jochen > > > From ht@i... Mon Sep 13 14:08:35 2004 Received: from lisa.w3.org ([12 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
