Enumeration Code generation Issue

View: New views
5 Messages — Rating Filter:   Alert me  

Enumeration Code generation Issue

by anshuk_geronimo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello All,

I am using the jibx 1.2.1 for code generation from xml schema. There are two different simple types defined for which the enumeration is also there. When I am generating the code, one enum class is generating completely fine, with the toString and convert and all the relevant enum values.
The other enum class is generated but with no values/convert & tostring methods.

Has anyone faced a similar issue like this earlier.
Please let me know for any workarounds.

Regards,
Anshuk Pal Chaudhuri
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
jibx-users mailing list
jibx-users@...
https://lists.sourceforge.net/lists/listinfo/jibx-users

Re: Enumeration Code generation Issue

by anshuk_geronimo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did anybody find any workaround for the below mentioned piece. I am still stuck with the same.

Regards,
Anshuk Pal Chaudhuri
________________________________________
From: Anshuk Pal Chaudhuri [Anshuk_Chaudhuri@...]
Sent: Thursday, October 29, 2009 8:22 PM
To: JiBX users
Subject: [jibx-users] Enumeration Code generation Issue

Hello All,

I am using the jibx 1.2.1 for code generation from xml schema. There are two different simple types defined for which the enumeration is also there. When I am generating the code, one enum class is generating completely fine, with the toString and convert and all the relevant enum values.
The other enum class is generated but with no values/convert & tostring methods.

Has anyone faced a similar issue like this earlier.
Please let me know for any workarounds.

Regards,
Anshuk Pal Chaudhuri
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
jibx-users mailing list
jibx-users@...
https://lists.sourceforge.net/lists/listinfo/jibx-users
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
jibx-users mailing list
jibx-users@...
https://lists.sourceforge.net/lists/listinfo/jibx-users

Parent Message unknown Re: Enumeration Code generation Issue

by anshuk_geronimo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Helo Dennis,

Dou you think that I should put this as a jira bug ?

Regards,
Anshuk Pal Chaudhuri
Infosys Technologies Ltd.
________________________________________
From: Anshuk Pal Chaudhuri
Sent: Tuesday, November 03, 2009 4:41 AM
To: dms@...
Subject: FW: Enumeration Code generation Issue

Hello Dennis,

Any pointers for the below mentioned issue.

Regards,
Anshuk Pal Chaudhuri
________________________________________
From: Anshuk Pal Chaudhuri [Anshuk_Chaudhuri@...]
Sent: Monday, November 02, 2009 9:26 PM
To: JiBX users
Subject: Re: [jibx-users] Enumeration Code generation Issue

Did anybody find any workaround for the below mentioned piece. I am still stuck with the same.

Regards,
Anshuk Pal Chaudhuri
________________________________________
From: Anshuk Pal Chaudhuri [Anshuk_Chaudhuri@...]
Sent: Thursday, October 29, 2009 8:22 PM
To: JiBX users
Subject: [jibx-users] Enumeration Code generation Issue

Hello All,

I am using the jibx 1.2.1 for code generation from xml schema. There are two different simple types defined for which the enumeration is also there. When I am generating the code, one enum class is generating completely fine, with the toString and convert and all the relevant enum values.
The other enum class is generated but with no values/convert & tostring methods.

Has anyone faced a similar issue like this earlier.
Please let me know for any workarounds.

Regards,
Anshuk Pal Chaudhuri
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
jibx-users mailing list
jibx-users@...
https://lists.sourceforge.net/lists/listinfo/jibx-users
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
jibx-users mailing list
jibx-users@...
https://lists.sourceforge.net/lists/listinfo/jibx-users
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jibx-users mailing list
jibx-users@...
https://lists.sourceforge.net/lists/listinfo/jibx-users

Re: Enumeration Code generation Issue

by DSosnoski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Anshuk,

Could you try using the 1.2.2 test build at
http://www.jibx.org/jibx_1_2_2-SNAPSHOT.zip If that doesn't handle your
enumerations properly, please create a Jira and attach a sample project
to demonstrate the problem.

Thanks, and sorry for the delayed response.

  - Dennis

Dennis M. Sosnoski
XML and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Anshuk Pal Chaudhuri wrote:

> Helo Dennis,
>
> Dou you think that I should put this as a jira bug ?
>
> Regards,
> Anshuk Pal Chaudhuri
> Infosys Technologies Ltd.
> ________________________________________
> From: Anshuk Pal Chaudhuri
> Sent: Tuesday, November 03, 2009 4:41 AM
> To: dms@...
> Subject: FW: Enumeration Code generation Issue
>
> Hello Dennis,
>
> Any pointers for the below mentioned issue.
>
> Regards,
> Anshuk Pal Chaudhuri
> ________________________________________
> From: Anshuk Pal Chaudhuri [Anshuk_Chaudhuri@...]
> Sent: Monday, November 02, 2009 9:26 PM
> To: JiBX users
> Subject: Re: [jibx-users] Enumeration Code generation Issue
>
> Did anybody find any workaround for the below mentioned piece. I am still stuck with the same.
>
> Regards,
> Anshuk Pal Chaudhuri
> ________________________________________
> From: Anshuk Pal Chaudhuri [Anshuk_Chaudhuri@...]
> Sent: Thursday, October 29, 2009 8:22 PM
> To: JiBX users
> Subject: [jibx-users] Enumeration Code generation Issue
>
> Hello All,
>
> I am using the jibx 1.2.1 for code generation from xml schema. There are two different simple types defined for which the enumeration is also there. When I am generating the code, one enum class is generating completely fine, with the toString and convert and all the relevant enum values.
> The other enum class is generated but with no values/convert & tostring methods.
>
> Has anyone faced a similar issue like this earlier.
> Please let me know for any workarounds.
>
> Regards,
> Anshuk Pal Chaudhuri
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
> for the use of the addressee(s). If you are not the intended recipient, please
> notify the sender by e-mail and delete the original message. Further, you are not
> to copy, disclose, or distribute this e-mail or its contents to any other person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
> every reasonable precaution to minimize this risk, but is not liable for any damage
> you may sustain as a result of any virus in this e-mail. You should carry out your
> own virus checks before opening the e-mail or attachment. Infosys reserves the
> right to monitor and review the content of all messages sent to or from this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> jibx-users mailing list
> jibx-users@...
> https://lists.sourceforge.net/lists/listinfo/jibx-users
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> jibx-users mailing list
> jibx-users@...
> https://lists.sourceforge.net/lists/listinfo/jibx-users
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> jibx-users mailing list
> jibx-users@...
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>
>  

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jibx-users mailing list
jibx-users@...
https://lists.sourceforge.net/lists/listinfo/jibx-users

Re: Enumeration Code generation Issue

by anshuk_geronimo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Dennis,

Created the jira issue for the same.

https://jira.codehaus.org/browse/JIBX-347


Regards,
Anshuk Pal Chaudhuri
________________________________________
From: Dennis Sosnoski [dms@...]
Sent: Saturday, November 14, 2009 3:21 AM
To: JiBX users
Subject: Re: [jibx-users] Enumeration Code generation Issue

Hi Anshuk,

Could you try using the 1.2.2 test build at
http://www.jibx.org/jibx_1_2_2-SNAPSHOT.zip If that doesn't handle your
enumerations properly, please create a Jira and attach a sample project
to demonstrate the problem.

Thanks, and sorry for the delayed response.

  - Dennis

Dennis M. Sosnoski
XML and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Anshuk Pal Chaudhuri wrote:

> Helo Dennis,
>
> Dou you think that I should put this as a jira bug ?
>
> Regards,
> Anshuk Pal Chaudhuri
> Infosys Technologies Ltd.
> ________________________________________
> From: Anshuk Pal Chaudhuri
> Sent: Tuesday, November 03, 2009 4:41 AM
> To: dms@...
> Subject: FW: Enumeration Code generation Issue
>
> Hello Dennis,
>
> Any pointers for the below mentioned issue.
>
> Regards,
> Anshuk Pal Chaudhuri
> ________________________________________
> From: Anshuk Pal Chaudhuri [Anshuk_Chaudhuri@...]
> Sent: Monday, November 02, 2009 9:26 PM
> To: JiBX users
> Subject: Re: [jibx-users] Enumeration Code generation Issue
>
> Did anybody find any workaround for the below mentioned piece. I am still stuck with the same.
>
> Regards,
> Anshuk Pal Chaudhuri
> ________________________________________
> From: Anshuk Pal Chaudhuri [Anshuk_Chaudhuri@...]
> Sent: Thursday, October 29, 2009 8:22 PM
> To: JiBX users
> Subject: [jibx-users] Enumeration Code generation Issue
>
> Hello All,
>
> I am using the jibx 1.2.1 for code generation from xml schema. There are two different simple types defined for which the enumeration is also there. When I am generating the code, one enum class is generating completely fine, with the toString and convert and all the relevant enum values.
> The other enum class is generated but with no values/convert & tostring methods.
>
> Has anyone faced a similar issue like this earlier.
> Please let me know for any workarounds.
>
> Regards,
> Anshuk Pal Chaudhuri
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
> for the use of the addressee(s). If you are not the intended recipient, please
> notify the sender by e-mail and delete the original message. Further, you are not
> to copy, disclose, or distribute this e-mail or its contents to any other person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
> every reasonable precaution to minimize this risk, but is not liable for any damage
> you may sustain as a result of any virus in this e-mail. You should carry out your
> own virus checks before opening the e-mail or attachment. Infosys reserves the
> right to monitor and review the content of all messages sent to or from this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> jibx-users mailing list
> jibx-users@...
> https://lists.sourceforge.net/lists/listinfo/jibx-users
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> jibx-users mailing list
> jibx-users@...
> https://lists.sourceforge.net/lists/listinfo/jibx-users
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> jibx-users mailing list
> jibx-users@...
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jibx-users mailing list
jibx-users@...
https://lists.sourceforge.net/lists/listinfo/jibx-users
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jibx-users mailing list
jibx-users@...
https://lists.sourceforge.net/lists/listinfo/jibx-users