On Tue, 31 Jul 2007, Tim Van Holder wrote:

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

        Great!  That seems to resolve the problem!

        :)


---------------------------------------------------------------------
| Name: Tim Nelson                 | Because the Creator is,        |
| E-mail: [EMAIL PROTECTED] | I am                           |
---------------------------------------------------------------------

----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to