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

Re: complexType mixed="true" - stupid question?

Subject: Re: complexType mixed="true" - stupid question?
From: Thomas Brand <brand@xxxxxxxxx>
Date: Wed, 18 Jun 2003 14:28:34 +0200
mixed true
hi andrew,

well i did look at the specification..
http://www.w3.org/TR/xmlschema-0/#mixedContent

the reason why i came up with this question is that the same schema doesn't cause any probs in xmlspy (v4.3, quite old).

thanks for your help,
 thomas

At 14:31 18.06.2003 +0400, you wrote:
1) Is this XMLSchema list?
2) mixed attribute is defined on "content model"
3) Why not look at specification?
4) Or simple yet- use XMLSpy or other XML IDE with intellisense...
5) Why not use XHTML schema?

more concrete:
<xs:element name="td">
  <xs:complexType>
    <xs:complexContent mixed="true">
...

Regards.

----- Original Message -----
From: "Thomas Brand" <brand@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, June 18, 2003 1:55 PM
Subject:  complexType mixed="true" - stupid question?


> > 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 > >


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



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.