PDF export fails when HTML macro is used

XMLWordPrintable

      The HTML macro is:

      {html}<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="160" height="136" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
      <param name="SRC" value="http://192.168.0.1:80/qtmedia/Media/ThinkDifferent_i.jpg">
      <param name="HREF" value="http://192.168.0.1:80/qtmedia/Media/ThinkDifferent.qtl">
      <param name="TYPE" value="video/quicktime">
      <param name="AUTOPLAY" value="false">
      <param name="CONTROLLER" value="false">
      <param name="TARGET" value="quicktimeplayer">
      <embed src="http://132.185.125.247:80/qtmedia/Media/ThinkDifferent_i.jpg" href="http://192.168.0.1:80/qtmedia/Media/ThinkDifferent.qtl" target=quicktimeplayer type="video/quicktime" width="160" height="136" autoplay="false" controller="false" pluginspage="http://www.apple.com/quicktime/download/">
      </embed>
      </object> {html}

      The error is:

      Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Attribute name "margin-top:margin-top" must be followed by the ' = ' character.
      at com.icl.saxon.om.Builder.build(Builder.java:273)
      at com.icl.saxon.Controller.transform(Controller.java:936)
      at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:164)

      If we can't guarantee that the contents of an HTML macro will be exportable, we should probably strip it silently during the export.

              Assignee:
              Unassigned
              Reporter:
              Charles Miller (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: