You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2005/03/15 00:32:28 UTC

[jira] Closed: (XMLBEANS-56) Expected element namespace@http://xml.apache.org/xmlbeans/2004/02/xbean/config instead of extension@http://xml.apache.org/xmlbeans/2004/02/xbean/config

     [ http://issues.apache.org/jira/browse/XMLBEANS-56?page=history ]
     
Jacob Danner closed XMLBEANS-56:
--------------------------------


See comments above, closing

> Expected element namespace@http://xml.apache.org/xmlbeans/2004/02/xbean/config instead of extension@http://xml.apache.org/xmlbeans/2004/02/xbean/config
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: XMLBEANS-56
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-56
>      Project: XMLBeans
>         Type: Bug
>   Components: Compiler
>     Versions: Version 1.0.3
>  Environment: Windows 2000, j2sdk1.4.2_04
>     Reporter: Mehul Jasani
>     Assignee: Jacob Danner
>      Fix For: Version 2 Beta 1, Version 2 Beta 2, Version 2

>
> Created following config file:
> <xb:config xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config"
>            xmlns:ep="http://openuri.org/easypo">
>   <xb:namespace uri="http://openuri.org/easypo">
>     <xb:package>com.easypo</xb:package>
>   </xb:namespace>
>   
>   <xb:namespace uri="##any">
>     <xb:prefix>Xml</xb:prefix>
>     <xb:suffix>Bean</xb:suffix>
>   </xb:namespace>
> <xb:extension for="com.easypo.XmlCustomerBean">
>     <xb:interface name="myPackage.Foo">
>         <xb:staticHandler>myPackage.FooHandler</xb:staticHandler>
>     </xb:interface>
> </xb:extension>
>   <xb:qname name="ep:purchase-order" javaname="purchaseOrderXXX"/>
> </xb:config>
> Getting following error message while running scomp as follows:
> C:\xmlbeans\xmlbeans-1.0.3\schemas\easypo>scomp -src C:\xmlbeans\xmlbeans-1.0.3\
> schemas\easypo\test C:\xmlbeans\xmlbeans-1.0.3\schemas\easypo\easypo.xsd -out te
> st.jar C:\xmlbeans\xmlbeans-1.0.3\schemas\easypo\easypo.xsdconfig
> easypo.xsdconfig:0: error: Expected element namespace@http://xml.apache.org/xmlb
> eans/2004/02/xbean/config instead of extension@http://xml.apache.org/xmlbeans/20
> 04/02/xbean/config here in element config@http://xml.apache.org/xmlbeans/2004/02
> /xbean/config
> Time to build schema type system: 1.332 seconds
> BUILD FAILED

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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