[webkit-reviews] review requested: [Bug 9901] XSLTProcessor cannot parse text nodes for INPUT ELEMENTS in an XSLT stylesheet : [Attachment 9702] proposed fix

bugzilla-request-daemon at opendarwin.org bugzilla-request-daemon at opendarwin.org
Wed Jul 26 13:22:17 PDT 2006


Alexey Proskuryakov <ap at nypop.com> has asked  for review:
Bug 9901: XSLTProcessor cannot parse text nodes for INPUT ELEMENTS in an XSLT
stylesheet
http://bugzilla.opendarwin.org/show_bug.cgi?id=9901

Attachment 9702: proposed fix
http://bugzilla.opendarwin.org/attachment.cgi?id=9702&action=edit

------- Additional Comments from Alexey Proskuryakov <ap at nypop.com>
Make sure to write a closing tag if an element has child nodes, to make the
output valid XML. We don't care that HTML may forbid the closing tag if the
element in question has child nodes.

It's a bit surprising that XSLTProcessor goes from DOM to XML document via a
serialized representation (though this helped to find this bug :) ).



More information about the webkit-reviews mailing list