You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Alex Rykov (JIRA)" <xm...@xml.apache.org> on 2007/12/12 04:33:45 UTC

[jira] Created: (XMLBEANS-355) org.apache.xmlbeans.SchemaTypeLoaderException: Simple type does not have a recognized variety

org.apache.xmlbeans.SchemaTypeLoaderException: Simple type does not have a recognized variety
---------------------------------------------------------------------------------------------

                 Key: XMLBEANS-355
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-355
             Project: XMLBeans
          Issue Type: Bug
    Affects Versions:  Version 2.3
            Reporter: Alex Rykov


Attached schema compiles fine. However when attempt to create a top level element in the document is performed the following exception is thrown:
Exception in thread "main" org.apache.xmlbeans.SchemaTypeLoaderException: Simple type does not have a recognized variety (schemaorg_apache_xmlbeans.system.s8237A1B382D07D177DDB8818043C620A.nameelementda1aelemtype) - code 8
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.finishLoadingType(SchemaTypeSystemImpl.java:2659)
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.resolveHandle(SchemaTypeSystemImpl.java:3507)
	at org.apache.xmlbeans.SchemaComponent$Ref.getComponent(SchemaComponent.java:104)
	at org.apache.xmlbeans.SchemaType$Ref.get(SchemaType.java:872)
	at org.apache.xmlbeans.impl.schema.SchemaPropertyImpl.getType(SchemaPropertyImpl.java:92)
	at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createElementType(SchemaTypeImpl.java:965)
	at org.apache.xmlbeans.impl.values.XmlObjectBase.create_element_user(XmlObjectBase.java:893)
	at org.apache.xmlbeans.impl.store.Xobj.getUser(Xobj.java:1657)
	at org.apache.xmlbeans.impl.store.Cur.getUser(Cur.java:2654)
	at org.apache.xmlbeans.impl.store.Xobj.insertElement(Xobj.java:2099)
	at org.apache.xmlbeans.impl.store.Xobj.add_element_user(Xobj.java:2179)
	at com.fortux.bp.bm.model.schema.impl.NameElementDocumentImpl.addNewNameElement(Unknown Source)
	at com.fortux.bp.bm.exchange.management.test.XBeanTest.main(XBeanTest.java:15)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Closed: (XMLBEANS-355) org.apache.xmlbeans.SchemaTypeLoaderException: Simple type does not have a recognized variety

Posted by "Alex Rykov (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rykov closed XMLBEANS-355.
-------------------------------

    Resolution: Invalid

> org.apache.xmlbeans.SchemaTypeLoaderException: Simple type does not have a recognized variety
> ---------------------------------------------------------------------------------------------
>
>                 Key: XMLBEANS-355
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-355
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions:  Version 2.3
>            Reporter: Alex Rykov
>
> Attached schema compiles fine. However when attempt to create a top level element in the document is performed the following exception is thrown:
> Exception in thread "main" org.apache.xmlbeans.SchemaTypeLoaderException: Simple type does not have a recognized variety (schemaorg_apache_xmlbeans.system.s8237A1B382D07D177DDB8818043C620A.nameelementda1aelemtype) - code 8
> 	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.finishLoadingType(SchemaTypeSystemImpl.java:2659)
> 	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.resolveHandle(SchemaTypeSystemImpl.java:3507)
> 	at org.apache.xmlbeans.SchemaComponent$Ref.getComponent(SchemaComponent.java:104)
> 	at org.apache.xmlbeans.SchemaType$Ref.get(SchemaType.java:872)
> 	at org.apache.xmlbeans.impl.schema.SchemaPropertyImpl.getType(SchemaPropertyImpl.java:92)
> 	at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createElementType(SchemaTypeImpl.java:965)
> 	at org.apache.xmlbeans.impl.values.XmlObjectBase.create_element_user(XmlObjectBase.java:893)
> 	at org.apache.xmlbeans.impl.store.Xobj.getUser(Xobj.java:1657)
> 	at org.apache.xmlbeans.impl.store.Cur.getUser(Cur.java:2654)
> 	at org.apache.xmlbeans.impl.store.Xobj.insertElement(Xobj.java:2099)
> 	at org.apache.xmlbeans.impl.store.Xobj.add_element_user(Xobj.java:2179)
> 	at com.fortux.bp.bm.model.schema.impl.NameElementDocumentImpl.addNewNameElement(Unknown Source)
> 	at com.fortux.bp.bm.exchange.management.test.XBeanTest.main(XBeanTest.java:15)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org