Tapestry 5
  1. Tapestry 5
  2. TAP5-507

Comments between the DOCTYPE and the root element now cause render errors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.0
    • Fix Version/s: 5.1.0.0
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      This is related to the change to a StAX parser.

      [ERROR] pages.Index Render queue error in CompositeRenderCommand[Comment[Design by Free CSS Templates
      http://www.freecsstemplates.org
      Released for free under a Creative Commons Attribution 2.5 License

      Name : Radiance
      Description: Fixed-width design for blogs and small websites.
      Version : 1.0
      Released : 20071007], Starthttp://www.w3.org/1999/xhtml html, DefineNamespace[ http://www.w3.org/1999/xhtml], Starthttp://www.w3.org/1999/xhtml head, Starthttp://www.w3.org/1999/xhtml title, Text[Tapestry360: SVN Admin], End, End, Starthttp://www.w3.org/1999/xhtml body, Comment[start header], Starthttp://www.w3.org/1999/xhtml div, AttributeNS[ id "logo"], Starthttp://www.w3.org/1999/xhtml h1, Starthttp://www.w3.org/1999/xhtml a, AttributeNS[ href "http://tapestry.formos.com"], AttributeNS[ shape "rect"], Text[Tapestry360: SVN Admin], End, End, Starthttp://www.w3.org/1999/xhtml p, Text[
      Subversion self adminstration for
      ], Starthttp://www.w3.org/1999/xhtml a, AttributeNS[ href "http://tapestry.formos.com/"], AttributeNS[ shape "rect"], Text[Tapestry360], End, Text[
      projects.
      ], End, End, Starthttp://www.w3.org/1999/xhtml div, AttributeNS[ id "menu"], Starthttp://www.w3.org/1999/xhtml ul]: This markup writer does not have a current element. The current element is established with the first call to element() and is maintained across subsequent calls.
      java.lang.IllegalStateException: This markup writer does not have a current element. The current element is established with the first call to element() and is maintained across subsequent calls.
      at org.apache.tapestry5.internal.services.MarkupWriterImpl.ensureCurrentElement(MarkupWriterImpl.java:133)
      at org.apache.tapestry5.internal.services.MarkupWriterImpl.comment(MarkupWriterImpl.java:187)
      at org.apache.tapestry5.internal.structure.CommentPageElement.render(CommentPageElement.java:38)

        Activity

        Howard M. Lewis Ship made changes -
        Fix Version/s 5.1.0.0 [ 12313428 ]
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development