[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

complexType mixed="true" - stupid question?

Subject: complexType mixed="true" - stupid question?
From: Thomas Brand <brand@xxxxxxxxx>
Date: Wed, 18 Jun 2003 11:55:28 +0200
complextype mixed true

hi all


i am not sure if i got the complexType wrong or if my parser has a problem with this. all i want to do is to define a type that allows this kind of element:

<td class="text" align="left">here goes the content</td>

the schema part is like this:

<xs:element name="td">
 <xs:complexType mixed="true">
  <xs:attribute name="align" type="typeColumnAlign" use="optional"/>
  <xs:attribute name="valign" type="typeColumnAlign" use="optional"/>
  <xs:attribute name="nowrap" type="xs:string" use="optional"/>
  <xs:attribute name="class" type="xs:string" use="optional"/>
  <xs:attribute name="colspan" type="xs:integer" use="optional"/>
  <xs:attribute name="rowspan" type="xs:integer" use="optional"/>
 </xs:complexType>
</xs:element>


the parser says, the schema is not valid.


org.xml.sax.SAXParseException: Schema error: Anonymous complexType: Type '#21': The content of a mixed complexType must not be empty.
....


has anybody made the same experience or has an idea, why the schema is not accepted by sax?

kind regards,
 thomas brand


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.