Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.3 rc1
-
Fix Version/s: 1.3.4
-
Component/s: XML code generator
-
Labels:None
-
Environment:doesn't matter.
-
Testcase included:yes
-
Number of attachments :
Description
When applying the Java Naming Conventions (case-insensitive by design) to case-sensitive input, result will be clashing definitions. The attached test case shows this for e.g. the input 'm' vs 'M' (in the light of prefixes aka milli and Mega), whose generated enum symbols will both be 'M', therefore producing a clash (and error).
It shouldn't generate an uppercase 'm' for the input string 'm' in the first place.
This issue shall serve both as a reminder to the castor team that xml is case-sensitive as well as giving Werner a place to attach a potential fix to (as talked about on the -user mailinglist).
Activity
Werner Guttmann
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | patch.c2562.20081104.txt [ 37897 ] |
Werner Guttmann
made changes -
| Assignee | Werner Guttmann [ wguttmn ] |
Martin S. Weber
made changes -
| Attachment | namegen-patch [ 37944 ] |
Martin S. Weber
made changes -
| Attachment | namegen-patch [ 37944 ] |
Martin S. Weber
made changes -
| Attachment | namegen-patch.txt [ 37945 ] |
Werner Guttmann
made changes -
| Fix Version/s | 1.3 [ 14917 ] |
Werner Guttmann
made changes -
| Attachment | patch.c2562.20090121.txt [ 39490 ] |
Werner Guttmann
made changes -
| Attachment | patch.c2562.20090121-002.txt [ 39496 ] |
Werner Guttmann
made changes -
| Fix Version/s | 1.3.1 [ 14004 ] | |
| Fix Version/s | 1.3 [ 14917 ] |
Werner Guttmann
made changes -
| Fix Version/s | 1.3.1 [ 14004 ] | |
| Fix Version/s | 1.3.2 [ 13817 ] |
Werner Guttmann
made changes -
| Fix Version/s | 1.3.3 [ 17192 ] | |
| Fix Version/s | 1.3.2 [ 13817 ] |
First patch for review.