Hi,
I'm experiencing difficulty in getting some schema's, provided to my by
a third party, processed in scomp. My error is appended to the end of
this email. My question is, is this a problem with the schema's or with
scomp?
Cheers
Tom
$ scomp -dl -out commonProperties.jar commonProperties.xsd
Time to build schema type system: 2.188 seconds
Time to generate code: 5.218 seconds
c:\DOCUME~1\TOMKOB~1\LOCALS~1\Temp\xbean38967.d\src\net\opengis\swe\DataGroupDocument2.java:34:
addNewDataGroup() in net.opengis.swe.DataGroupDocument2 clashes with
addNewDataGroup() in net.opengis.swe.DataGroupDocument; attempting to
use incompatible return type
found : net.opengis.swe.DataGroupDocument2.DataGroup
required: net.opengis.swe.GroupBaseType
net.opengis.swe.DataGroupDocument2.DataGroup addNewDataGroup();
^
c:\DOCUME~1\TOMKOB~1\LOCALS~1\Temp\xbean38967.d\src\net\opengis\swe\DataGroupDocument2.java:24:
getDataGroup() in net.opengis.swe.DataGroupDocument2 clashes with
getDataGroup() in net.opengis.swe.DataGroupDocument; attempting to use
incompatible return type
found : net.opengis.swe.DataGroupDocument2.DataGroup
required: net.opengis.swe.GroupBaseType
net.opengis.swe.DataGroupDocument2.DataGroup getDataGroup();
^
c:\DOCUME~1\TOMKOB~1\LOCALS~1\Temp\xbean38967.d\src\net\opengis\swe\impl\DataGroupDocument2Impl.java:66:
addNewDataGroup() in net.opengis.swe.impl.DataGroupDocument2Impl cannot
implement addNewDataGroup() in net.opengis.swe.DataGroupDocument;
attempting to use incompatible return type
found : net.opengis.swe.DataGroupDocument2.DataGroup
required: net.opengis.swe.GroupBaseType
public net.opengis.swe.DataGroupDocument2.DataGroup addNewDataGroup()
^
c:\DOCUME~1\TOMKOB~1\LOCALS~1\Temp\xbean38967.d\src\net\opengis\swe\impl\DataGroupDocument2Impl.java:30:
getDataGroup() in net.opengis.swe.impl.DataGroupDocument2Impl cannot
implement getDataGroup() in net.opengis.swe.DataGroupDocument;
attempting to use incompatible return type
found : net.opengis.swe.DataGroupDocument2.DataGroup
required: net.opengis.swe.GroupBaseType
public net.opengis.swe.DataGroupDocument2.DataGroup getDataGroup()
^
c:\DOCUME~1\TOMKOB~1\LOCALS~1\Temp\xbean38967.d\src\net\opengis\swe\DataArrayDocument2.java:34:
addNewDataArray1() in net.opengis.swe.DataArrayDocument2 clashes with
addNewDataArray1() in net.opengis.swe.DataArrayDocument; attempting to
use incompatible return type
found : net.opengis.swe.DataArrayDocument2.DataArray
required: net.opengis.swe.ArrayBaseType
net.opengis.swe.DataArrayDocument2.DataArray addNewDataArray1();
^
c:\DOCUME~1\TOMKOB~1\LOCALS~1\Temp\xbean38967.d\src\net\opengis\swe\DataArrayDocument2.java:24:
getDataArray1() in net.opengis.swe.DataArrayDocument2 clashes with
getDataArray1() in net.opengis.swe.DataArrayDocument; attempting to use
incompatible return type
found : net.opengis.swe.DataArrayDocument2.DataArray
required: net.opengis.swe.ArrayBaseType
net.opengis.swe.DataArrayDocument2.DataArray getDataArray1();
^
c:\DOCUME~1\TOMKOB~1\LOCALS~1\Temp\xbean38967.d\src\net\opengis\swe\impl\DataArrayDocument2Impl.java:66:
addNewDataArray1() in net.opengis.swe.impl.DataArrayDocument2Impl cannot
implement addNewDataArray1() in net.opengis.swe.DataArrayDocument;
attempting to use incompatible return type
found : net.opengis.swe.DataArrayDocument2.DataArray
required: net.opengis.swe.ArrayBaseType
public net.opengis.swe.DataArrayDocument2.DataArray addNewDataArray1()
^
c:\DOCUME~1\TOMKOB~1\LOCALS~1\Temp\xbean38967.d\src\net\opengis\swe\impl\DataArrayDocument2Impl.java:30:
getDataArray1() in net.opengis.swe.impl.DataArrayDocument2Impl cannot
implement getDataArray1() in net.opengis.swe.DataArrayDocument;
attempting to use incompatible return type
found : net.opengis.swe.DataArrayDocument2.DataArray
required: net.opengis.swe.ArrayBaseType
public net.opengis.swe.DataArrayDocument2.DataArray getDataArray1()
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
8 errors
BUILD FAILED
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]