[QFJ-528] Message generator doesn't sanitize value descriptions before using them as identifiers. Created: 27/May/10 Updated: 27/May/10 |
|
Status: | Open |
Project: | QuickFIX/J |
Component/s: | Message Generation |
Affects Version/s: | 1.4.0 |
Fix Version/s: | None |
Type: | Bug | Priority: | Default |
Reporter: | Serkan Kaba | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | None | ||
Environment: |
Windows 7 ıIBM JDK6 |
Description |
Message generator uses enum value descriptions as constant names but doesn't sanitize them before using them as identifiers. Since the value is a free format string the generator produces invalid/uncompilable code. I think the description tag value should be sanitized as a valid Java identifier before it's used. Thanks in advance. Serkan KABA |