#284: FormPopulationFilter: Allow configuration of entity references used in
documents
-------------------------+--------------------------------------------------
Reporter: david | Owner: david
Type: enhancement | Status: closed
Priority: high | Milestone: 0.11
Component: filter | Version: HEAD
Severity: major | Resolution: worksforme
Keywords: |
-------------------------+--------------------------------------------------
Comment (by [EMAIL PROTECTED]):
Hello,
the current version (0.11) of AgaviFormPopulationFilter uses loadXML to
load the XHTML-markup resulting in errors for HTML-entities. You may use
the parse_xtml_as_xml parameter for the filter to force a call to loadHTML
but that rises new problems. E.g. AgaviFormPopulationFilter sets the xmlns
attribute of the html-tag if it kicks in and leaves the element untouched
if it doesn't. If the user specifies this attribute in his template it may
be doubled, if it is not specified it may not be existent at all in the
output...
As long as I haven't made a huge mistake here it is IMHO really a pain to
use AgaviFormPopulationFilter with XHTML and XML-parsing. The perfect
solution to this is noted above - so please implement this :-)
Thanks so far for making agavi a great framework!
Chris
--
Ticket URL: <http://trac.agavi.org/ticket/284#comment:2>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets