displaying embedded xs:base64binary encoded image

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

displaying embedded xs:base64binary encoded image

Adrian Baker
I notice this limitation described in the OPS documentation (http://www.orbeon.com/ops/doc/reference-xforms-ng#output-mediatype):

    "It is not yet possible to directly embed image data in an XForms instance using the xs:base64Binary type."

Is this a limitation of OPS, or of XForms?

Adrian




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: displaying embedded xs:base64binary encoded image

Erik Bruchez
Administrator
OPS. I don't think browsers have any support for displaying an image
from a stream of bytes, so making this work would probably require
decoding the image, saving it somewhere on the server (session, disk?),
and making it accessible through an external URL to the client - and
also making sure there is a reasonable expiration policy for that data.

Any other idea?

-Erik

Adrian Baker wrote:
> I notice this limitation described in the OPS documentation
> (http://www.orbeon.com/ops/doc/reference-xforms-ng#output-mediatype):
>
>     "It is not yet possible to directly embed image data in an XForms
> instance using the xs:base64Binary type."
>
> Is this a limitation of OPS, or of XForms?
>
> Adrian

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws