Timothy S. Nelson wrote: > <xsd:import namespace="http://www.w3.org/1999/xhtml" > schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"/>
A cursory glance at that XSD (and the XSDs it references shows that there does not seem to be a top-level div element declared; what I do see (in http://www.w3.org/MarkUp/SCHEMA/xhtml11-model-1.xsd) is <xs:group name="xhtml.BlkStruct.class"> <xs:choice> <xs:element name="p" type="xhtml.p.type"/> <xs:element name="div" type="xhtml.div.type"/> </xs:choice> </xs:group> So maybe you should put <xsd:complexType name="TTest"> <xsd:complexContent> <xsd:extension base="jz:TSection"> <xsd:sequence> <xsd:element name="div" type="html:xhtml.div.type"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> in your schema. _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
