{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"READ_DATA"},{"name":"CREATE"},{"name":"READ"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"READ"}]},{"resourceType":"PIN","capabilities":[{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"READ"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":229380146,"authorName":"Jean-Christophe Helary","from":"Jean-Christophe Helary &lt;fusion@mx6.tiki.ne.jp&gt;","profile":"jc_helary","replyTo":"LIST","senderId":"GmAFbRahFLlODcNdoAhcbr_YwzONG5-p_ZvMqoWLpWXtvThDGNAPAK9Df_ZjYf5fcL6TN9i5wGKOxON2xd3DzyCTQLqHI9KhfMeEQEh-9P5Rgo-Bpg","spamInfo":{"isSpam":false,"reason":"12"},"subject":"OmegaT level 2 TMX parsing (Re: [M4T] Re: TMX memories and tags)","postDate":"1233193634","msgId":12944,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PEE1OUMyNzFBLUVGMzAtNDg2Ni1CNDVFLTQwQzE0MTY3QjYxN0BteDYudGlraS5uZS5qcD4=","inReplyToHeader":"PDQ0MWQwNmUyLTExNmMtNDEzOC1iY2IxLTU1YmNlZDlmZGQ0M0BsMzNnMjAwMHByaS5nb29nbGVncm91cHMuY29tPg==","referencesHeader":"PDI0ZGRiZWEzLTc0OTUtNDMxZi1hNGU5LTRjZDUxZDhjZDY2M0B3MjRnMjAwMHByZC5nb29nbGVncm91cHMuY29tPiAgPDYyQjI3OTMyLThGREEtNEJCOS1CRDcwLTUzNjUyQTQ0NTlBRkBteDYudGlraS5uZS5qcD4gPDcwOWZkZGEzMDkwMTI4MDEyNGgyYjkwMzU2OXk1MmNiZTFlMDFmOGM4MWQ0QG1haWwuZ21haWwuY29tPiAgPDdjOTM5ZDNhLTRhMWMtNGZhNy04MTRiLWM1MjkwYmQ0MDA1N0BxMzBnMjAwMHZibi5nb29nbGVncm91cHMuY29tPiAgPDcwOWZkZGEzMDkwMTI4MDMxMHc0YTFhMTgyNnUyNDhmMTEwMTBlZTE2OWU2QG1haWwuZ21haWwuY29tPiAgPDYxMmZhMjYyLTNkZTYtNDhmYi1hYzMzLTg4YjY3YTI0OGNlZUB5MjNnMjAwMHByZS5nb29nbGVncm91cHMuY29tPiAgPDkzNEQ0QTMyLTNGQUUtNEE3RC1BMTZGLUE3MDBFM0JBNUFDNEBteDYudGlraS5uZS5qcD4gPGFhYzRlMjJmLWRiYTMtNGY1ZS05ZWFkLTE0NTQ5ZmFmNDc2NUBiMzhnMjAwMHByZi5nb29nbGVncm91cHMuY29tPiA8NDQxZDA2ZTItMTE2Yy00MTM4LWJjYjEtNTViY2VkOWZkZDQzQGwzM2cyMDAwcHJpLmdvb2dsZWdyb3Vwcy5jb20+"},"prevInTopic":0,"nextInTopic":0,"prevInTime":12943,"nextInTime":12945,"topicId":12944,"numMessagesInTopic":1,"msgSnippet":"... Hugues, In fact it is. And [brandelune] is me. Last night I discused with Didier, the code maintainer and we looked at what were the related RFEs or bug","rawEmail":"Return-Path: &lt;fusion@mx6.tiki.ne.jp&gt;\r\nX-Sender: fusion@mx6.tiki.ne.jp\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nX-Received: (qmail 82723 invoked from network); 29 Jan 2009 01:47:18 -0000\r\nX-Received: from unknown (66.218.67.94)\n  by m54.grp.scd.yahoo.com with QMQP; 29 Jan 2009 01:47:18 -0000\r\nX-Received: from unknown (HELO smtp10.tiki.ne.jp) (218.40.30.107)\n  by mta15.grp.scd.yahoo.com with SMTP; 29 Jan 2009 01:47:18 -0000\r\nX-Received: from [192.168.11.6] (pl080.nas933.takamatsu.nttpc.ne.jp [210.136.182.80])\n\t(authenticated bits=0)\n\tby smtp10.tiki.ne.jp (8.13.8/8.13.8) with ESMTP id n0T1lEKk093776\n\t(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);\n\tThu, 29 Jan 2009 10:47:15 +0900 (JST)\n\t(envelope-from fusion@mx6.tiki.ne.jp)\r\nCc: OmegaT@yahoogroups.com\r\nMessage-Id: &lt;A59C271A-EF30-4866-B45E-40C14167B617@mx6.tiki.ne.jp&gt;\r\nTo: mac-for-translators@googlegroups.com\r\nIn-Reply-To: &lt;441d06e2-116c-4138-bcb1-55bced9fdd43@l33g2000pri.googlegroups.com&gt;\r\nContent-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes\r\nContent-Transfer-Encoding: 7bit\r\nMime-Version: 1.0 (Apple Message framework v930.3)\r\nDate: Thu, 29 Jan 2009 10:47:14 +0900\r\nReferences: &lt;24ddbea3-7495-431f-a4e9-4cd51d8cd663@w24g2000prd.googlegroups.com&gt;  &lt;62B27932-8FDA-4BB9-BD70-53652A4459AF@mx6.tiki.ne.jp&gt; &lt;709fdda30901280124h2b903569y52cbe1e01f8c81d4@mail.gmail.com&gt;  &lt;7c939d3a-4a1c-4fa7-814b-c5290bd40057@q30g2000vbn.googlegroups.com&gt;  &lt;709fdda30901280310w4a1a1826u248f11010ee169e6@mail.gmail.com&gt;  &lt;612fa262-3de6-48fb-ac33-88b67a248cee@y23g2000pre.googlegroups.com&gt;  &lt;934D4A32-3FAE-4A7D-A16F-A700E3BA5AC4@mx6.tiki.ne.jp&gt; &lt;aac4e22f-dba3-4f5e-9ead-14549faf4765@b38g2000prf.googlegroups.com&gt; &lt;441d06e2-116c-4138-bcb1-55bced9fdd43@l33g2000pri.googlegroups.com&gt;\r\nX-Mailer: Apple Mail (2.930.3)\r\nX-Originating-IP: 218.40.30.107\r\nX-eGroups-Msg-Info: 1:12:0:0:0\r\nFrom: Jean-Christophe Helary &lt;fusion@mx6.tiki.ne.jp&gt;\r\nSubject: OmegaT level 2 TMX parsing (Re: [M4T] Re: TMX memories and tags)\r\nX-Yahoo-Group-Post: member; u=229380146; y=p0FomeQvRDU0uKtunX9XqJ_5mntj40yD07HEprTql56tk9HOkQ\r\nX-Yahoo-Profile: jc_helary\r\n\r\nOn jeudi 29 janv. 09, at 04:41, Hugues wrote:\n\n&gt;&gt; Maybe that is the RFE you were looking for? -&gt;http://sourceforge.net/tracker2/?func=detail&aid=1988491&group_id=681 \n&gt;&gt; ...\n&gt;\n&gt; You can forget this, sorry. This is clearly not a reference to the RFE\n&gt; you&#39;ve mentioned before...\n\nHugues,\n\nIn fact it is. And [brandelune] is me.\n\nLast night I discused with Didier, the code maintainer and we looked  \nat what were the related RFEs or bug reports.\n\nWhat happens is that the current implementation of &quot;level 2&quot; TMX files  \nworks only for OmegaT generated files. OmegaT&#39;s level 2 contain the  \noriginal &lt;fn&gt; tags encapsulated within TMX tags. Since OmegaT ignores  \nthe encapsulation tags, what shows is the original OmegaT tag, the  \n&lt;fn&gt; thing, and thus you can have exact matches from there.\n\nWhen working from TMX generated by other tools, it does not work that  \nway. The encapsulated contents is shown and you don&#39;t have matches  \nwith the source anymore.\n\nSo the current RFE suggest, until we have a better way to deal with  \nencapsulation tags, that when the TMX is identified as being generated  \nby OmegaT, it is parsed as it is today, and when it is identified as  \nbeing generated by another tool, it ignores the encapsulated contents.\n\n\nAlso, when I wrote that you should remove the encapsulated contents, I  \nwas a little extreme.\n\nWhat you can do instead, and with a few regular expressions you should  \nbe able to do that, is replace the encapsulated contents of your  \nTrados files so that it looks like an OmegaT file.\n\n\nHere is an OmegaT generated (pseudo) level 2 segment:\n\n&lt;tuv xml:lang=&quot;EN&quot;&gt;\n         &lt;seg&gt;&lt;bpt i=&#39;0&#39; x=&#39;0&#39;&gt;&lt;f0&gt;&lt;/bpt&gt;&lt;ph x=&#39;1&#39;&gt;&lt;s1/&gt;&lt;/ \nph&gt;1-2&lt;ept i=&#39;0&#39;&gt;&lt;/f0&gt;&lt;/ept&gt;&lt;bpt i=&#39;2&#39; x=&#39;2&#39;&gt;&lt;f2&gt;&lt;/bpt&gt;  \nRoles of Public Corporations&lt;ept i=&#39;2&#39;&gt;&lt;/f2&gt;&lt;/ept&gt;&lt;/seg&gt;\n       &lt;/tuv&gt;\n\nYou see that if you remove the encapsulating tags you get:\n\n&lt;tuv xml:lang=&quot;EN&quot;&gt;\n         &lt;seg&gt;&lt;f0&gt;&lt;s1/&gt;1-2&lt;/f0&gt;&lt;f2&gt; Roles of  \nPublic Corporations&lt;/f2&gt;&lt;/seg&gt;\n       &lt;/tuv&gt;\n\nWhich is what you want OmegaT to display as far as matches are  \nconcerned.\n\nI never tried that, but you could certainly search for\n\n\t&lt;bpt i=&#39;0&#39; x=&#39;0&#39;&gt;{_style contents_ &lt;/bpt&gt;\n\nand replace it by\n\n\t&lt;bpt i=&#39;0&#39; x=&#39;0&#39;&gt;&lt;f0&gt;&lt;/bpt&gt;\n\nThen search for\n\n\t&lt;ept i=&#39;0&#39;&gt;}&lt;/ept&gt;\n\nand replace it by\n\n\t&lt;ept i=&#39;0&#39;&gt;&lt;/f0&gt;&lt;/ept&gt;\n\n\nThe number after the &quot;f&quot; is irrelevant.\n\n\n\n\nJean-Christophe Helary\n\n------------------------------------\nhttp://mac4translators.blogspot.com/\n\n\n"}}