<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Base64 encoded content in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/base64-encoded-content/m-p/92426#M63170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Why is this and is there a way to circumvent this behavior?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe the JSR-170 specification dictates this…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The value of each non-BINARY content repository property is &lt;BR /&gt;converted to string form (according to 6.2.6 Property Type &lt;BR /&gt;Conversion). BINARY values are Base64 encoded. In both &lt;BR /&gt;cases the resulting string is included as XML text within an &lt;BR /&gt;&amp;lt;sv:value&amp;gt; element within the &amp;lt;sv&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;roperty&amp;gt; element. &lt;BR /&gt;Entity references are used to escape characters which &lt;BR /&gt;should not be included as literals within XML text (see 6.4.4 &lt;BR /&gt;Escaping of Values).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This does prevent importing the system view into some other JCR compliant repository&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Which implementation? It may be that they are not compliant.&amp;nbsp; I'll have to double check the spec.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2007 15:28:05 GMT</pubDate>
    <dc:creator>davidc</dc:creator>
    <dc:date>2007-06-18T15:28:05Z</dc:date>
    <item>
      <title>Base64 encoded content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/base64-encoded-content/m-p/92425#M63169</link>
      <description>Hi all,I have noticed that the content exported with session.exportSystemView(), gets Base 64 encoded in the class org.alfresco.jcr.exporter.JCRSystemXMLExporter.Why is this and is there a way to circumvent this behavior?This does prevent importing the system view into some other JCR compliant repos</description>
      <pubDate>Mon, 18 Jun 2007 09:53:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/base64-encoded-content/m-p/92425#M63169</guid>
      <dc:creator>legolas</dc:creator>
      <dc:date>2007-06-18T09:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Base64 encoded content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/base64-encoded-content/m-p/92426#M63170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Why is this and is there a way to circumvent this behavior?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe the JSR-170 specification dictates this…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The value of each non-BINARY content repository property is &lt;BR /&gt;converted to string form (according to 6.2.6 Property Type &lt;BR /&gt;Conversion). BINARY values are Base64 encoded. In both &lt;BR /&gt;cases the resulting string is included as XML text within an &lt;BR /&gt;&amp;lt;sv:value&amp;gt; element within the &amp;lt;sv&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;roperty&amp;gt; element. &lt;BR /&gt;Entity references are used to escape characters which &lt;BR /&gt;should not be included as literals within XML text (see 6.4.4 &lt;BR /&gt;Escaping of Values).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This does prevent importing the system view into some other JCR compliant repository&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Which implementation? It may be that they are not compliant.&amp;nbsp; I'll have to double check the spec.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 15:28:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/base64-encoded-content/m-p/92426#M63170</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2007-06-18T15:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Base64 encoded content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/base64-encoded-content/m-p/92427#M63171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your quick response David. You are right about the spec, but I was not aware that creating a content item using the web client resulted in a binary property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought that creating content using the inline editor resulted in ASCII content only, I am only entering HTML content. I doubled checked my exported system view and indeed noticed that the type of the cm:content property indeed is set to binary. I think this is causing the confusion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do I need to do the change the type of the cm:content property such that it'll be seen as string i/o binary?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the actual definition in dictionaryModel.xml, but that caused problems when storing the content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll give a brief overview of our project to sketch the background of this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are working on a system that uses alfresco as its web content authoring CMS and after a certain workflow will publish the content to some kind of JCR compliant repository, could be alfresco as well. That repository runs in the same JVM as JBoss Portal does. Some Portlets communicate with the repository using JCR only and show the content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So now I need to come up with a solution that transfers the content from the authoring CMS to the published CMS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marcel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 06:04:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/base64-encoded-content/m-p/92427#M63171</guid>
      <dc:creator>legolas</dc:creator>
      <dc:date>2007-06-19T06:04:04Z</dc:date>
    </item>
  </channel>
</rss>

