<?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: Unicode string as NamedValue in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unicode-string-as-namedvalue/m-p/193575#M146705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem was that alfresco-web-service-client.jar library I used was from 2.9B distribution(I am hitting 2.9B community content server), and dependency libs bcprov-jdk15-136.jar and xmlsec-1.4.0.jar were not adequate(remained old from 2.1 dist). I should have used bcprov-jdk15-137.jar and xmlsec-1.4.1.jar which are deployed along with 2.9B distribution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2008 09:30:09 GMT</pubDate>
    <dc:creator>amarinkovic</dc:creator>
    <dc:date>2008-10-13T09:30:09Z</dc:date>
    <item>
      <title>Unicode string as NamedValue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unicode-string-as-namedvalue/m-p/193573#M146703</link>
      <description>I'm accessing Alfresco content server via web service and importing some content into it. I'm trying to import it as a custom type and want&amp;nbsp; to set UTF-8(cyrillic) string on a property of that type we previously defined in our custom model. I keep getting Sax parser exception&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.xml.sax.SAXParseExc</description>
      <pubDate>Thu, 09 Oct 2008 08:14:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unicode-string-as-namedvalue/m-p/193573#M146703</guid>
      <dc:creator>amarinkovic</dc:creator>
      <dc:date>2008-10-09T08:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode string as NamedValue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unicode-string-as-namedvalue/m-p/193574#M146704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe I was a little bit confusing. How do I import content with cyrillic NamedValue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;BR /&gt;NamedValue[] namedValueProperties = new NamedValue[2];&lt;BR /&gt;&lt;BR /&gt;namedValueProperties[0] = Utils.createNamedValue(Constants.PROP_NAME, name );&lt;BR /&gt;namedValueProperties[1] = Utils.createNamedValue("{my.custom.model}myProperty", "CYRILLIC STRING!"); &lt;BR /&gt;&lt;BR /&gt;CMLCreate create = new CMLCreate("1", parentReference, null, null, null, documentType, namedValueProperties);&lt;BR /&gt;CML cml = new CML();&lt;BR /&gt;cml.setCreate(new CMLCreate[]{create});&lt;BR /&gt;UpdateResult[] results = null;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;results = WebServiceFactory.getRepositoryService().update(cml);&lt;BR /&gt;} catch (…)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;BR /&gt;} &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2008 15:51:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unicode-string-as-namedvalue/m-p/193574#M146704</guid>
      <dc:creator>amarinkovic</dc:creator>
      <dc:date>2008-10-09T15:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode string as NamedValue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unicode-string-as-namedvalue/m-p/193575#M146705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem was that alfresco-web-service-client.jar library I used was from 2.9B distribution(I am hitting 2.9B community content server), and dependency libs bcprov-jdk15-136.jar and xmlsec-1.4.0.jar were not adequate(remained old from 2.1 dist). I should have used bcprov-jdk15-137.jar and xmlsec-1.4.1.jar which are deployed along with 2.9B distribution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 09:30:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unicode-string-as-namedvalue/m-p/193575#M146705</guid>
      <dc:creator>amarinkovic</dc:creator>
      <dc:date>2008-10-13T09:30:09Z</dc:date>
    </item>
  </channel>
</rss>

