Tapestry
  1. Tapestry
  2. TAPESTRY-1600

Cannot render XML from page templates: XML declaration and namespaces are removed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7
    • Fix Version/s: 5.0.8
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Rather than HTML, I want my page to return XML (it's an Atom feed).
      I want this:

      <?xml version="1.0" encoding="UTF-8"?>
      <feed xmlns="http://www.w3.org/2005/Atom">...</feed>

      But the response is being rendered like this:

      <feed>...</feed>

      There are two issues:

      • The XML declaration is missing
      • The Atom namespace is being stripped from the <feed> element
      1. namespace-support-594707.diff
        47 kB
        Fernando Padilla
      2. namespace-support-591544.diff
        48 kB
        Fernando Padilla
      3. namespace-support-586974.diff
        47 kB
        Fernando Padilla

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development