Tapestry 5
  1. Tapestry 5
  2. TAP5-713

Change template parser to not use StAX, as it is not (yet) compatible with Google App Engine

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.5
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      The StAX APIs are not on the GAE "white list".

      Should be reasonable ot change the code, by using a SAX parser that parses the template into a list of tokens, and then iterate down the token list as we do today using StAX. End result will be fewer dependencies to boot.

      1. SaxTemplateParserImpl.java
        31 kB
        Christian Köberl
      2. SaxTemplateParserImpl.java
        30 kB
        Christian Köberl
      3. SaxTemplateParserImpl.java
        30 kB
        Christian Köberl
      4. SaxTemplateParserImpl.java
        23 kB
        Christian Köberl
      5. SaxTemplateParserImpl.java
        21 kB
        Christian Köberl

        Activity

        Howard M. Lewis Ship created issue -
        Christian Köberl made changes -
        Field Original Value New Value
        Attachment SaxTemplateParserImpl.java [ 12414081 ]
        Christian Köberl made changes -
        Attachment SaxTemplateParserImpl.java [ 12414141 ]
        Christian Köberl made changes -
        Attachment SaxTemplateParserImpl.java [ 12414943 ]
        Christian Köberl made changes -
        Attachment SaxTemplateParserImpl.java [ 12415729 ]
        Christian Köberl made changes -
        Attachment SaxTemplateParserImpl.java [ 12418885 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Summary Change template parser to not use STAX, as it is not (yet) compatible with Google App Engine Change template parser to not use StAX, as it is not (yet) compatible with Google App Engine
        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.2.0 [ 12314122 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development