WstxLazyException error when using a variable as an HTML attribute in page blueprint

XMLWordPrintable

    • Type: Bug
    • Resolution: Answered
    • Priority: Medium
    • None
    • Affects Version/s: 5.8.9
    • Component/s: None
    • Environment:

      Server
      Linux 2.6.32-431.el6.x86_64
      Apache Tomcat/8.0.23
      Java 1.8.0_51

      I am building a page blueprint that generates a URL in the backend and makes it available to the template. In the template I have the following:

      <a href="<at:var at:name='myUrl'/>">My Text</a>
      

      When I do this, the template is not rendered and an error is returned from the create draft service: [com.ctc.wstx.exc.WstxLazyException] Unexpected '<' in attribute value

      I have tried to escape the '<' with '<' but it still doesn't work. When I use '<', the template is rendered with the link but the link doesn't have the href attribute.

              Assignee:
              Unassigned
              Reporter:
              Deleted Account (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: