[xwiki-devs] Warning: <iframe> escaping malformed URI reference

Raffaele Viola raffovi at gmail.com
Tue Feb 5 15:45:42 CET 2008


Hi all,

im using this macro to include HTML file into my page

#macro(displayppt $zipname $htmlname)
    #set ($url = $xwiki.zipexplorer.getFileLink($doc, "$zipname",
"$htmlname"))
    <iframe src="$url" frameborder="0" scrolling="0" width="800"
height="600"></iframe>
#end

It works but when I try to export my page in PDF the generated PDF doesn't
contains the included file and in the console appears something like
Warning: <iframe> escaping malformed URI reference.

the URI
/xwiki/bin/download/Discussione/MasterPlan/Piano%20Principale.zip/Piano
Principale.htm
is traslated in:
file:/C:/workspace%2Dxwiki/apache%2Dtomcat%2D5.5.25/work/Catalina/localhost/xwiki/h5khbL0n/
Discussione.MasterPlan.Piano Principale.zip/Piano Principale.htm

Regards
Raffo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/devs/attachments/20080205/172a3eb2/attachment.html 


More information about the devs mailing list