Currently, the Label code only supports text attributes, but we should support
other types, such as image or SVG labels. From
> Maybe the correct thing would be to do this in XBL (when our XBL patch
> is in) and then insert different anonymous content based on the mime type of
> the external document.
This is what currently happens. We start loading an external resource for xf:label if it has @src on it. When the stream starts coming back, we check to see what the content type is. If it is not "text/plain", we throw an error and quit out. This bug is to add support for more types (like images or SVG).
Is text/html or application/xhtml+xml also planned?
(In reply to comment #2)
> Is text/html or application/xhtml+xml also planned?
As planned as imgages and SVG :-) They'll all *probably* work right now. Just need to take the time to test them to make sure.