You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jon McCarty (JIRA)" <de...@tapestry.apache.org> on 2007/10/03 08:13:50 UTC

[jira] Updated: (TAPESTRY-1600) Cannot render XML from page templates: XML declaration and namespaces are removed

     [ https://issues.apache.org/jira/browse/TAPESTRY-1600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon McCarty updated TAPESTRY-1600:
----------------------------------

    Component/s: tapestry-core

> Cannot render XML from page templates: XML declaration and namespaces are removed
> ---------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1600
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1600
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.3, 5.0.4, 5.0.5
>            Reporter: David Peterson
>         Attachments: namespace-support-20070806.diff, namespace-support-20070813.diff, namespace-support-20070813b.diff
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org