Hi Kelvin, Thank you for looking at this so fast. As mentioned in the other thread, this probably has to do with my inclusion of the -arrayAccessors switch when creating the static SDOs. Sorry about that missing piece. Here are the commands I'm using to generate my source:
set javaExe=C:\ibmsdk1.4.2_sr4-1\bin\java set output=. set schemaLocation=..\schema\sdd-20070427_44 set sdo_cp=lib\org.eclipse.emf.codegen_2.2.2.v200705020400.jar;lib\org.eclipse.emf.codegen.ecore_2.2.2.v200705020400.jar;lib\org.eclipse.emf.common_2.2.1.v200705020400.jar;lib\org.eclipse.emf.ecore_2.2.3.v200705020400.jar;lib\org.eclipse.emf.ecore.change_2.2.1.v200705020400.jar;lib\org.eclipse.emf.ecore.xmi_2.2.3.v200705020400.jar;lib\sdo-api-r2.1-1.0-incubating-SNAPSHOT.jar;lib\tuscany-sdo-impl-1.0-incubating-SNAPSHOT.jar;lib\tuscany-sdo-tools-1.0-incubating-SNAPSHOT.jar;lib\org.eclipse.xsd_2.2.3.v200705020400.jar set options=-cp %sdo_cp% org.apache.tuscany.sdo.generate.XSD2JavaGenerator -arrayAccessors -targetDirectory %output% %javaExe% %options% "%schemaLocation%\xmldsig-core-schema.xsd" Please let me know if you still can't recreate this issue. Thanks, -Chris On 5/10/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
Chris, I don't see this field being generated at all. I'm generating using code from the SDO trunk. Which version of SDO are you using? Regards, Kelvin. On 10/05/07, Chris Mildebrandt <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm having issues generating static SDOs from my schema. The schema can > be found here: > > http://www.w3.org/2000/09/xmldsig > > There are a few 2-dimensional arrays being created incorrectly as a > part of xmldsig-core-schema.xsd. For example: > > protected static final byte[][] X509SKI_EEMPTY_ARRAY = new byte[] [0]; > > This should probably be: > > protected static final byte[][] X509SKI_EEMPTY_ARRAY = new byte[0] [0]; > > Does that sound correct? Or maybe it shouldn't be a 2-dimensional array? > > Let me know if you need additional information. Thanks, > -Chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]