3 users online. Create an account or sign in to join them.Users
Display Event XML in Source may break XML parsing
A for , submitted by michael-e on 07 March 2010
Announcement
Symphony's issue tracker has been moved to Github.
Issues are displayed here for reference only and cannot be created or edited.
Browse
Closed#250: Display Event XML in Source may break XML parsing
Why is this comment not inserted before the closing tag?
Not sure I’m keen on the idea of modifying the output like that.
We are actually considering deprecating the feature since it poses quite a few problems.
Historically the “Display event XML in source” idea was there as a workaround for losing event XML when you put ?debug on a page that has handled your post data. If you turn “Display event XML in source”, you can see the debug by putting ?debug in the form action instead.
Not really an issue. Recommend turning off the displaying of event XML should it be interfering.
This issue is closed.
If you deliver XML pages via Symphony as well as HTML pages, you have to be very careful with the “Display event XML in source” option in
config.php. XML parsing may break if the comment is appended to the end of the document (i.e. *after the closing root tag of the XML).So I thought: Why is this comment not inserted before the closing tag? At the moment I can’t think of any side effects, but maybe there is a good reason not to change the current behavior?