Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
Version 1.0.3
-
None
-
Windows 2000, j2sdk1.4.2_04
Description
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