Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4025

fragment-component parser fails to parse string-literals with special chars

XMLWordPrintable

    • ZK 8.6.0 S1
    • None

      Steps to Reproduce

      run fragment-parse-errors.zul

      Actual Result

      several parse errors show up

      Failed to parse the content: Lexical error on line 2. Unrecognized text.
      ...omething', data='aaa_bbb')">'_' in strin
      -----------------------^
      
      Failed to parse the content: Lexical error on line 2. Unrecognized text. 
      ...omething', data='aaa+bbb')">'+' in strin 
      -----------------------^
      
      Failed to parse the content: Lexical error on line 2. Unrecognized text. 
      ...omething', data='aaa-bbb')">'-' in strin 
      -----------------------^
      ...
      

      Expected Result

      allow special characters in EL string literals
      or provide/document an alternative escape syntax

            rudyhuang rudyhuang
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 3 hours Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - 3 hours Remaining Estimate - 1 hour
                3h