Re: Re: Re: xforms:output mediatype="text/html" and canvas element?

Posted by fl.schmitt(ops-users) on
URL: https://discuss.orbeon.com/xforms-output-mediatype-text-html-and-canvas-element-tp2549084p3006726.html

Hi Alessandro,

> So I am not sure why the <xhtml:canvas> wouldn't show. Your code was
> pasted as is in your email, and the markup didn't make it. If this is
> still an issue, could you resend your test case as an attachment?

thank you for your reply - i think the problem was caused by JTidy
stripping unknown elements. The patch that i've proposed later [1]
allows the declaration of "new" elements that JTidy won't touch. The
patch contains such a declaration regarding the canvas tag, and with
JTidy modified in that manner, the canvas example works fine.

But as Eric wrote [2], it's not quite efficient to (re-)load the JTidy
config file every time when htmlStringToDocument() is called, so i will
try to modify the patch as soon as possible.

florian

[1]
http://forge.ow2.org/tracker/index.php?func=detail&aid=315508&group_id=168&atid=350209
and
http://orbeon-forms-ops-users.24843.n4.nabble.com/RfE-Tagsoup-configuration-in-properties-local-xml-td2550129.html#a2718520

[2]
http://orbeon-forms-ops-users.24843.n4.nabble.com/RfE-Tagsoup-configuration-in-properties-local-xml-tp2550129p3005023.html


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws