hi everyone,
in my schema, i have an element that extends an other element from an other namespace like this:
<xs:complexType name="House">
                <xs:complexContent>
                        <xs:extension base="foo:HouseType">
                                <xs:attributeGroup ref="AnotherGroup"/>
                        </xs:extension>
                </xs:complexContent>
        </xs:complexType>

 the house type in foo namespace is:
<xsd:complexType name="HouseType">
                <xsd:simpleContent>
                        <xsd:extension base="xsd:string">
                                etc....
                        </xsd:extension>
                </xsd:simpleContent>
        </xsd:complexType>

Everything works fine with scomp.sh but when i try to create a new document and want to insert House element using:
 House house = parentOfHouse.addNewHouse();

XmlBeans throws this exception:
org.apache.xmlbeans.SchemaTypeLoaderException: Simple type does not have a recognized variety (schemaorg_apache_xmlbeans.system.sD448ABDEBD4BBC3ADEE1B5462D433319.hous e87ebtype) - code 8
how can i fix this?
thx in advance.
-youssef

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to