Re: [xml] Can't validate XML Schema which uses the HTML XSD

Timothy S. Nelson wrote:
<xsd:import namespace="";

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 is

<xs:group name="xhtml.BlkStruct.class">
    <xs:element name="p" type="xhtml.p.type"/>
    <xs:element name="div" type="xhtml.div.type"/>

So maybe you should put

<xsd:complexType name="TTest">
    <xsd:extension base="jz:TSection">
        <xsd:element name="div" type="html:xhtml.div.type"/>

in your schema.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]