|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








