Last Comment Bug 297083 - Support non-text Label attribute types
: Support non-text Label attribute types
Product: Core Graveyard
Classification: Graveyard
Component: XForms (show other bugs)
: Trunk
: All All
-- normal (vote)
: ---
Assigned To: xforms
: Stephen Pride
Depends on:
Blocks: 326372 326373
  Show dependency treegraph
Reported: 2005-06-08 08:55 PDT by jhp (no longer active)
Modified: 2016-07-15 14:46 PDT (History)
4 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Description User image jhp (no longer active) 2005-06-08 08:55:39 PDT
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.
Comment 1 User image aaronr 2007-02-23 10:23:13 PST
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).
Comment 2 User image Leigh L. Klotz, Jr. 2007-02-23 10:26:04 PST
Is text/html or application/xhtml+xml also planned?
Comment 3 User image aaronr 2007-02-23 10:32:56 PST
(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.
Comment 4 User image David Bolter [:davidb] 2016-02-04 12:20:14 PST
RIP xforms

Note You need to log in before you can comment on or make changes to this bug.