Exporting web content as xml, when it contains a multimedia paragraph with flv 
video
------------------------------------------------------------------------------------

                 Key: MAGNOLIA-1985
                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1985
             Project: Magnolia
          Issue Type: Bug
    Affects Versions: 3.0.1
         Environment: Windows Server 2003
            Reporter: Chris Allan
         Assigned To: Boris Kraft


When I try to export a branch of our site from the website repository, the xml 
output halts after reaching a page with a multimedia paragraph in, including a 
flash flv video. When trying to import this xml file it fails, reporting 
Caused by: org.xml.sax.SAXParseException: The value of attribute "sv:name" 
associated with an element type "sv:property" must not contain the '<' 
character.

This is the latter end of the xml export, with the offending '<' towards the 
bottom i.e. <sv:property sv:name="mgnl:ac<!DOCTYPE................

      <sv:node sv:name="mod1">
        <sv:property sv:name="jcr:primaryType" sv:type="Name">
          <sv:value>mgnl:content</sv:value>
        </sv:property>
        <sv:property sv:name="jcr:mixinTypes" sv:type="Name">
          <sv:value>mix:versionable</sv:value>
        </sv:property>
        <sv:property sv:name="jcr:uuid" sv:type="String">
          <sv:value>6a34cf79-c52f-4482-9dd7-4d9e1be408c4</sv:value>
        </sv:property>
        <sv:property sv:name="title" sv:type="String">
          <sv:value>Film Module 1 - Synchrotron Background</sv:value>
        </sv:property>
        <sv:node sv:name="MetaData">
          <sv:property sv:name="jcr:primaryType" sv:type="Name">
            <sv:value>mgnl:metaData</sv:value>
          </sv:property>
          <sv:property sv:name="jcr:uuid" sv:type="String">
            <sv:value>bade5e05-874c-4bb3-b562-41aec93f5d92</sv:value>
          </sv:property>
          <sv:property sv:name="mgnl:authorid" sv:type="String">
            <sv:value>shf56</sv:value>
          </sv:property>
          <sv:property sv:name="mgnl:creationdate" sv:type="Date">
            <sv:value>2007-08-24T11:45:11.841+01:00</sv:value>
          </sv:property>
          <sv:property sv:name="mgnl:lastmodified" sv:type="Date">
            <sv:value>2007-08-29T08:48:08.040+01:00</sv:value>
          </sv:property>
          <sv:property sv:name="mgnl:activated" sv:type="Boolean">
            <sv:value>true</sv:value>
          </sv:property>
          <sv:property sv:name="mgnl:template" sv:type="String">
            <sv:value>siteDesignerLayout</sv:value>
          </sv:property>
          <sv:property sv:name="mgnl:lastaction" sv:type="Date">
            <sv:value>2007-08-29T09:39:33.898+01:00</sv:value>
          </sv:property>
          <sv:property sv:name="mgnl:activatorid" sv:type="String">
            <sv:value>superuser</sv:value>
          </sv:property>
        </sv:node>
        <sv:node sv:name="layoutBody">
          <sv:property sv:name="jcr:primaryType" sv:type="Name">
            <sv:value>mgnl:contentNode</sv:value>
          </sv:property>
          <sv:property sv:name="jcr:mixinTypes" sv:type="Name">
            <sv:value>mix:versionable</sv:value>
          </sv:property>
          <sv:property sv:name="jcr:uuid" sv:type="String">
            <sv:value>701d1fb6-98dc-4563-81aa-30c60ce1ffd3</sv:value>
          </sv:property>
          <sv:property sv:name="showLeftColumn" sv:type="String">
            <sv:value>true</sv:value>
          </sv:property>
          <sv:property sv:name="showRightColumn" sv:type="String">
            <sv:value>false</sv:value>
          </sv:property>
          <sv:property sv:name="browserTitelBreadcrumb" sv:type="String">
            <sv:value>true</sv:value>
          </sv:property>
          <sv:property sv:name="bodyTableAlign" sv:type="String">
            <sv:value>margin-right:auto;</sv:value>
          </sv:property>
          <sv:property sv:name="ignoreInherit" sv:type="String">
            <sv:value>false</sv:value>
          </sv:property>
          <sv:node sv:name="MetaData">
            <sv:property sv:name="jcr:primaryType" sv:type="Name">
              <sv:value>mgnl:metaData</sv:value>
            </sv:property>
            <sv:property sv:name="jcr:uuid" sv:type="String">
              <sv:value>9246833e-adda-4d40-ae90-1ead2083115f</sv:value>
            </sv:property>
            <sv:property sv:name="mgnl:authorid" sv:type="String">
              <sv:value>shf56</sv:value>
            </sv:property>
            <sv:property sv:name="mgnl:creationdate" sv:type="Date">
              <sv:value>2007-08-24T11:46:08.308+01:00</sv:value>
            </sv:property>
            <sv:property sv:name="mgnl:lastmodified" sv:type="Date">
              <sv:value>2007-08-24T12:19:54.694+01:00</sv:value>
            </sv:property>
            <sv:property sv:name="mgnl:ac<!DOCTYPE html PUBLIC "-//W3C//DTD 
XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html>
  <head>
    <title>Magnolia</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link href="/.resources/admin-css/admin-all.css" type="text/css" 
rel="stylesheet" />
  </head>
  <body id="mgnl" class="mgnlBgLight mgnlImportExport">
    <h2>Export</h2>
    <form method="get" action="">
      <div class="formelement">
        <label for="mgnlRepository">Repository</label>
        <select name="mgnlRepository">
          <option>website</option>
          <option>users</option>
          <option>mgnlVersion</option>
          <option>config</option>
          <option>userroles</option>
          <option>mgnlSystem</option>
          <option>packages</option>
          <option>Store</option>
          <option>Expressions</option>
          <option>dms</option>
          <option>usergroups</option>
        </select>
      </div>
      <div class="formelement">
        <label for="mgnlPath">Base path</label>
        <input name="mgnlPath" value="/" />
      </div>
      <div class="formelement">
        <label for="mgnlKeepVersions">Keep versions</label>
        <input name="mgnlKeepVersions" value="true" type="checkbox" />
      </div>
      <div class="formelement">
        <label for="mgnlFormat">Format XML</label>
        <input name="mgnlFormat" value="true" type="checkbox" />
      </div>
      <div class="formelement">
        <label for="ext">Compression</label>
        <select name="ext">
          <option selected="selected" value=".xml">Xml</option>
          <option value=".zip">Zip</option>
          <option value=".gz">Gzip</option>
        </select>
      </div>
      <input type="hidden" name="command" value="exportxml" />
      <input type="submit" name="exportxml" value='Export' />
    </form>
  </body>
</html>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to