I think your problem has already been fixed:
https://issues.apache.org/jira/browse/TUSCANY-1853
Frank.
"Stanislaw T. Findeisen" <[EMAIL PROTECTED]> wrote on
03/22/2008 01:37:57 PM:
> Hello
>
> I am having the following problem with XSD2JavaGenerator:
>
> private static GlobusFactoryImpl instance = null;
> public static GlobusFactoryImpl init()
> {
> if (instance != null ) return instance;
> instance = new GlobusFactoryImpl();
>
> // Initialize dependent packages
> CommonFactory CommonFactoryInstance = CommonFactory.INSTANCE;
> AccountFactory AccountFactoryInstance = AccountFactory.INSTANCE;
> RebFactory RebFactoryInstance = RebFactory.INSTANCE;
> InternalFactory InternalFactoryInstance = InternalFactory.INSTANCE;
> PaymentFactory PaymentFactoryInstance = PaymentFactory.INSTANCE;
> pl.raiffeisen.esb.types.card.account.AccountFactory
> pl.raiffeisen.esb.types.card.account.AccountFactoryInstance =
>
> ^^^^^^^^^^^^^^^^^^^ This is a syntax error!
>
> pl.raiffeisen.esb.types.card.account.AccountFactory.INSTANCE;
> CardFactory CardFactoryInstance = CardFactory.INSTANCE;
> DepositFactory DepositFactoryInstance = DepositFactory.INSTANCE;
> ProductFactory ProductFactoryInstance = ProductFactory.INSTANCE;
> CustomerFactory CustomerFactoryInstance = CustomerFactory.INSTANCE;
> LoanFactory LoanFactoryInstance = LoanFactory.INSTANCE;
> pl.raiffeisen.esb.types.globus.GlobusFactory
> pl.raiffeisen.esb.types.globus.GlobusFactoryInstance =
>
> ^^^^^^^^^^^^^^^^^^^ This is a syntax error!
>
> pl.raiffeisen.esb.types.globus.GlobusFactory.INSTANCE;
>
> // Create package meta-data objects
> instance.createMetaData();
>
> // Initialize created meta-data
> instance.initializeMetaData();
>
> // Mark meta-data to indicate it can't be changed
> //theGlobusFactoryImpl.freeze(); //FB do we need to freeze / should
> we freeze ????
>
> return instance;
> }
>
> It seems that in case of class name conflict (when the import cannot be
> generated) full class name is used, but unfortunately the variable name
> is invalid.
>
> Moreover, all those statements in "Initialize dependent packages"
> section do nothing, I think.
>
> Do you have any comments?
> Or patches, maybe? :-)
>
> Unfortunately I am not an author of relevant XSD Schema files, which in
> this project are quite big. I will try to figure out if they are doing
> something strange with them, but in the meanime you, Tuscany Developers,
> could perhaps take a look at your variable name generation routine.
>
> Thanks!
> STF
>
> ---------------------------------------------------------------------
> 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]