Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Empty complexType with "mixed" attribute

From: "Michael Kay" <mhk@---.--.-->
To: "'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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent