[Webkit-unassigned] [Bug 10419] XSLTProcessor transformToFragment always returns NULL

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Aug 16 09:31:39 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10419





------- Comment #5 from j_mckitrick at yahoo.com  2006-08-16 09:31 PDT -------
(In reply to comment #4)
> Apparently, createFragmentFromSource() chokes on the XML declaration in a
> string produced by transformToString(), and rightfully so.
> 
> To work around this problem while we are fixing it, you can inhibit XML
> declaration printout:
> 
> <xsl:output method="xml" omit-xml-declaration="yes"/>
> 
> Of course, this is not an issue with HTML fragments.
> 

Excellent!  It works just fine for now.
Even though you will fix the bug, perhaps the output declaration would be a
good idea anyway for documentation purposes.
I also changed the method to html and found that fixed a couple of other
issues.  So maybe that's the best way to deal with it?


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list