<?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: Pass Chinese character through CMLAppAspect class in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107545#M75333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We believe the culprit is xmlsec 1.4.0 after reading:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41462" rel="nofollow noopener noreferrer"&gt;http://issues.apache.org/bugzilla/show_bug.cgi?id=41462&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Canonicalization engine in xmlsec was revamped between versions 1.4.0 and 1.4.1.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just downloaded the Alfresco 2.1 SDK and saw that it still includes xmlsec 1.4.0.&amp;nbsp; I strongly suggest moving to xmlsec 1.4.1 to fix this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2007 13:05:47 GMT</pubDate>
    <dc:creator>gblomqui</dc:creator>
    <dc:date>2007-10-18T13:05:47Z</dc:date>
    <item>
      <title>Pass Chinese character through CMLAppAspect class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107540#M75328</link>
      <description>I am going to upload a excel file onto Alfresco 2.1 through remote web service, file name and description are the parameter of CMLAddAspect class.&amp;nbsp;&amp;nbsp; But unfortunately, some character (such as 0x6) happen to conflict with XML that make SAXParser stops. Anyone konws how to avoid or encrypt these charc</description>
      <pubDate>Fri, 06 Jul 2007 09:06:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107540#M75328</guid>
      <dc:creator>liao1108</dc:creator>
      <dc:date>2007-07-06T09:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Chinese character through CMLAppAspect class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107541#M75329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm afraid this isn't something I've encountered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps you could package your example into a Unit test that we can execute here.&amp;nbsp; That will help us determine whether this can be resolved with some configuration or whether we have a bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 09:11:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107541#M75329</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2007-07-13T09:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Chinese character through CMLAppAspect class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107542#M75330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We reproduced the same problem with Alfresco 2.0 running on JBoss.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To reproduce, change the &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.sample.webservice.SamplesBase&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; class in the Alfresco Web Services SDK Samples to include &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Utils.createNamedValue(Constants.PROP_TITLE, "Ã£Æ’â€˜Ã£Æ’Â¼Ã£Æ’Ë†Ã£Æ’Å&amp;nbsp;Ã£Æ’Â¼Ã£Æ’â€”Ã£Æ’Â­Ã£Æ’â€¢Ã£â€šÂ¡Ã£â€šÂ¤Ã£Æ’Â«Ã£&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 19:46:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107542#M75330</guid>
      <dc:creator>gblomqui</dc:creator>
      <dc:date>2007-10-15T19:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Chinese character through CMLAppAspect class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107543#M75331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A bit of clarification,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The text I used as the title combines Katakana, Hirigana, Kanji, the numeral "3", and spaces.&amp;nbsp; We tried weeding out various parts of the statement by alphabet type, and realized this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;1. The Katakana characters, the numeral "3" and the spaces all transmit over the Web Service interface without issues&lt;BR /&gt;2. The Hirigana characters transmit, but they get mangled&lt;BR /&gt;3. The Kanji characters generate the exception from my previous post&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 19:55:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107543#M75331</guid>
      <dc:creator>gblomqui</dc:creator>
      <dc:date>2007-10-15T19:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Chinese character through CMLAppAspect class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107544#M75332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using TCP Monitor we've been able to find that the SOAP Envelope is getting decoded on the client before it gets sent across the wire.&amp;nbsp; At least, TCP Monitor is showing the SOAP Envelope with the decoded (and munged) characters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When debugging and stepping through the client code, I can see that the multibyte characters are encoded as XML entities (for instance "&amp;amp;#x30D1;" for "Ã£Æ’â€˜" and "&amp;amp;#x60C5;" for "Ã¦Æ’â€¦").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, since TCP Monitor is showing the decoded (and munged) characters, I suspect that somewhere along the line, Axis is realizing that the character set encoding of the SOAP Envelope is UTF-8 and decodes the Envelope before transmission.&amp;nbsp; But, we're still tracking that down.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 17:56:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107544#M75332</guid>
      <dc:creator>gblomqui</dc:creator>
      <dc:date>2007-10-17T17:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Chinese character through CMLAppAspect class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107545#M75333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We believe the culprit is xmlsec 1.4.0 after reading:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41462" rel="nofollow noopener noreferrer"&gt;http://issues.apache.org/bugzilla/show_bug.cgi?id=41462&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Canonicalization engine in xmlsec was revamped between versions 1.4.0 and 1.4.1.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just downloaded the Alfresco 2.1 SDK and saw that it still includes xmlsec 1.4.0.&amp;nbsp; I strongly suggest moving to xmlsec 1.4.1 to fix this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 13:05:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107545#M75333</guid>
      <dc:creator>gblomqui</dc:creator>
      <dc:date>2007-10-18T13:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Chinese character through CMLAppAspect class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107546#M75334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for investigating this thus far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this updated jar fixes this issue please let us know and we'll look at upgrading the jar before the next release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 15:04:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107546#M75334</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2007-10-18T15:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Chinese character through CMLAppAspect class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107547#M75335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No problem.&amp;nbsp; Glad to help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We replaced the xmlsec-1.4.0 library with xmlsec-1.4.1 and it solved our problem.&amp;nbsp; We're now able to submit "Ã£Æ’â€˜Ã£Æ’Â¼Ã£Æ’Ë†Ã£Æ’Å&amp;nbsp;Ã£Æ’Â¼Ã£Æ’â€”Ã£Æ’Â­Ã£Æ’â€¢Ã£â€šÂ¡Ã£â€šÂ¤Ã£Æ’Â«Ã£&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 16:31:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107547#M75335</guid>
      <dc:creator>gblomqui</dc:creator>
      <dc:date>2007-10-19T16:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Chinese character through CMLAppAspect class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107548#M75336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had a similar problem… In my custom application I tried to perform a search against the Alfresco repository using web services. When the search string included slovenian characters (Ã„&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2007 22:14:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-chinese-character-through-cmlappaspect-class/m-p/107548#M75336</guid>
      <dc:creator>fiki</dc:creator>
      <dc:date>2007-11-01T22:14:28Z</dc:date>
    </item>
  </channel>
</rss>

