Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Empty complexType with "mixed" attribute

From: "Xan Gregg" <Xan.Gregg@---.--->
To: "Jochen Wiedmann" <jochen.wiedmann@----------.--->, <xmlschema-dev@--.--->
Date: 9/13/2004 6:13:00 AM
I suppose the issue is that the spec indicates that
the complex content option should be chosen,

   The property mappings below are also used in the case
   where the third alternative (neither <simpleContent>
   nor <complexContent>) is chosen. This case is understood
   as shorthand for complex content restricting the *ur-type
   definition*, and the details of the mappings should be
   modified as necessary.

but the property mapping lose the mixed flag when the
content is empty.  This has been fixed as E1-5 in the
errata document

http://www.w3.org/2001/05/xmlschema-errata

So the type is mixed with complex content and a trival content model.

xan

[1] 

-----Original Message-----
From: Jochen Wiedmann
Sent: Monday, September 13, 2004 8:16 AM
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 jochen.wiedmann@s... Mon Sep 13 14:30:58 2004
Received: from lisa.w3.


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