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
Affects Versions: 5.0.4, 5.0.3, 5.0.5
Reporter: David Peterson
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]