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-586974.diff
        47 kB
        Fernando Padilla
      2. namespace-support-591544.diff
        48 kB
        Fernando Padilla
      3. namespace-support-594707.diff
        47 kB
        Fernando Padilla

        Issue Links

          Activity

          David Peterson created issue -
          Fernando Padilla made changes -
          Field Original Value New Value
          Attachment namespace-support-20070806.diff [ 12365196 ]
          Fernando Padilla made changes -
          Attachment namespace-support-20070813.diff [ 12365801 ]
          Fernando Padilla made changes -
          Attachment namespace-support-20070813b.diff [ 12365803 ]
          Jon McCarty made changes -
          Component/s tapestry-core [ 12311285 ]
          Fernando Padilla made changes -
          Attachment namespace-support-20071021.diff [ 12368105 ]
          Fernando Padilla made changes -
          Attachment namespace-support-586974.diff [ 12368109 ]
          Fernando Padilla made changes -
          Link This issue is duplicated by TAPESTRY-1621 [ TAPESTRY-1621 ]
          Fernando Padilla made changes -
          Affects Version/s 5.0.7 [ 12312802 ]
          Affects Version/s 5.0 [ 12312018 ]
          Affects Version/s 5.0.6 [ 12312544 ]
          Fernando Padilla made changes -
          Attachment namespace-support-591544.diff [ 12368907 ]
          Fernando Padilla made changes -
          Attachment namespace-support-591544.diff [ 12368907 ]
          Fernando Padilla made changes -
          Attachment namespace-support-591544.diff [ 12368908 ]
          Fernando Padilla made changes -
          Attachment namespace-support-20070806.diff [ 12365196 ]
          Fernando Padilla made changes -
          Attachment namespace-support-20070813.diff [ 12365801 ]
          Fernando Padilla made changes -
          Attachment namespace-support-20070813b.diff [ 12365803 ]
          Fernando Padilla made changes -
          Attachment namespace-support-20071021.diff [ 12368105 ]
          Fernando Padilla made changes -
          Attachment namespace-support-594707.diff [ 12369463 ]
          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 -
          Fix Version/s 5.0.8 [ 12312898 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          Mark Thomas made changes -
          Workflow jira [ 12407026 ] Default workflow, editable Closed status [ 12567864 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12567864 ] jira [ 12590993 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development