Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-528

Message generator doesn't sanitize value descriptions before using them as identifiers.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Default
    • Resolution: Unresolved
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: Message Generation
    • 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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              skaba Serkan Kaba
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: