[ https://issues.apache.org/jira/browse/TAP5-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joost Schouten updated TAP5-584: -------------------------------- Attachment: TAP-584_patch.txt Patch fixing the problem. Also added a test to check that the head and meta are not added if the root element is not html > Omit genrator meta when root element is not html > ------------------------------------------------ > > Key: TAP5-584 > URL: https://issues.apache.org/jira/browse/TAP5-584 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Affects Versions: 5.1.0.2 > Reporter: Joost Schouten > Priority: Minor > Attachments: TAP-584_patch.txt > > > When using tapestry to generate xml which is not xhtml, the generator meta > should be omitted. Currently tapestry will add a head and generator meta to > every root element if the SymbolConstants.OMIT_GENERATOR_META == false. > Solution: check if the root element name is html, if not, don't add even with > SymbolConstants.OMIT_GENERATOR_META == false. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.