{"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":"UPDATE"},{"name":"CREATE"},{"name":"READ"}]},{"resourceType":"PIN","capabilities":[{"name":"DELETE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"READ"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":12196177,"authorName":"Marc Prior","from":"Marc Prior &lt;mail@marcprior.de&gt;","profile":"lin4trans","replyTo":"LIST","senderId":"uT92iwW8pIOIXdPUXsyZ2mfsaFC_YAQeRtpC7w3W7tQrtxrct4FqOW829DvbAtiHafwmP3uH_HBSEDCv_zzfMhJUgEIF","spamInfo":{"isSpam":false,"reason":"12"},"subject":"Re: [OmT] Trying toxic, getting errors","postDate":"1251371317","msgId":15160,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PDRBOTY2OTM1LjQwNTA4MDVAbWFyY3ByaW9yLmRlPg==","inReplyToHeader":"PDRBOTY2MEM1LjgwMDAyQGFic2FtYWlsLmNvLnphPg==","referencesHeader":"PDRBOTY2MEM1LjgwMDAyQGFic2FtYWlsLmNvLnphPg=="},"prevInTopic":15158,"nextInTopic":15161,"prevInTime":15159,"nextInTime":15161,"topicId":15157,"numMessagesInTopic":22,"msgSnippet":"Samuel, In the TTX files I ve seen, the XML declaration is on a line of its own. So you have:  ","rawEmail":"Return-Path: &lt;mail@marcprior.de&gt;\r\nX-Sender: mail@marcprior.de\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nX-Received: (qmail 11952 invoked from network); 27 Aug 2009 11:09:57 -0000\r\nX-Received: from unknown (69.147.108.200)\n  by m2.grp.re1.yahoo.com with QMQP; 27 Aug 2009 11:09:57 -0000\r\nX-Received: from unknown (HELO mo-p00-ob.rzone.de) (81.169.146.162)\n  by mta1.grp.re1.yahoo.com with SMTP; 27 Aug 2009 11:09:57 -0000\r\nX-RZG-AUTH: :IW0NeWCleu3NCLZrvwV6ORkX9kpsdepz7ym3QvLwqKG/CxzSJ1M8iwLyPql+M1M=\r\nX-RZG-CLASS-ID: mo00\r\nX-Received: from [192.168.0.139] (p5086C4C0.dip.t-dialin.net [80.134.196.192])\n\tby post.strato.de (fruni mo58) (RZmta 21.0)\n\twith ESMTP id p006a1l7RB7b99 for &lt;OmegaT@yahoogroups.com&gt;;\n\tThu, 27 Aug 2009 13:08:38 +0200 (MEST)\r\nMessage-ID: &lt;4A966935.4050805@marcprior.de&gt;\r\nDate: Thu, 27 Aug 2009 13:08:37 +0200\r\nUser-Agent: Thunderbird 2.0.0.23 (X11/20090817)\r\nMIME-Version: 1.0\r\nTo: OmegaT@yahoogroups.com\r\nReferences: &lt;4A9660C5.80002@absamail.co.za&gt;\r\nIn-Reply-To: &lt;4A9660C5.80002@absamail.co.za&gt;\r\nContent-Type: text/plain; charset=ISO-8859-1; format=flowed\r\nContent-Transfer-Encoding: 7bit\r\nX-Originating-IP: 81.169.146.162\r\nX-eGroups-Msg-Info: 1:12:0:0:0\r\nFrom: Marc Prior &lt;mail@marcprior.de&gt;\r\nSubject: Re: [OmT] Trying toxic, getting errors\r\nX-Yahoo-Group-Post: member; u=12196177; y=B-c--RWeBGjsqqlTi6PocoFzxiDmlgpXJ8f1qZCvnUbsAkQC\r\nX-Yahoo-Profile: lin4trans\r\n\r\nSamuel,\n\nIn the TTX files I&#39;ve seen, the XML declaration is on a line of its own. \nSo you have:\n\n&lt;?xml version=&#39;1.0&#39;?&gt;\n&lt;TRADOStag Version=&quot;2.0&quot;&gt;&lt;FrontMatter&gt;&lt;ToolSettings \nCreationDate=&quot;20090827T131612Z&quot; CreationTool=&quot;SDLX XConvert&quot; \nCreationToolVersion=&quot;1.0&quot;/&gt;&lt;UserSettings DataType=&quot;XML&quot; \nO-Encoding=&quot;windows-1252&quot; SettingsName=&quot;OpenTag&quot; \nSettingsPath=&quot;C:&#92;Program Files&#92;SDL International&#92;SDLX Lite&#92;opentag.ini&quot; \nSourceLanguage=&quot;EN-US&quot; TargetLanguage=&quot;AF-01&quot; TargetDefaultFont=&quot;Arial&quot; \nSourceDocumentPath=&quot;mungemungemungemunge&gt;&lt;/FrontMatter&gt;&lt;Body&gt;&lt;Raw&gt;&lt;ut \nType=&quot;start&quot; Style=&quot;external&quot; RightEdge=&quot;angle&quot; \nDisplayText=&quot;HTML&quot;&gt;&lt;HTML&gt;&lt;/ut&gt;\n\n&lt;toxic&gt; then comes on the second line.\n\nIn your example, there appears to be no line break after the \ndeclaration, so the opening toxic tag doesn&#39;t come directly after it. I \ndon&#39;t know what effect that has upon Toxic (and I don&#39;t have time to \ninvestigate right now) but you could try inserting a line break after \n&lt;?xml version=&#39;1.0&#39;?&gt; in the original TTX file and seeing whether it \nmakes a difference.\n\nI&#39;d be VERY interested in knowing whether TTX files without a line break \nafter the XML declaration are &quot;normal&quot;. Are you 100% sure that Trados \noutput the TTX file like that?\n\nIt may be that there is a line break but Toxic isn&#39;t recognizing it as \nsuch (possibly because of OS-dependent differences in line breaks).\n\n&gt; Yep, if I remove the stuff between the XML tag and the TOXIC tag, OmegaT \nopens it without complaint.\n\n\nThat ties in with what I&#39;ve just written. &lt;toxic&gt; should come directly \nafter the XML declaration.\n\nFor experimentation purposes you can do something like that (&quot;remove the \nstuff...&quot;)  but it defeats me why anyone would want to do this in the \ncontext of a job. I mean, you wouldn&#39;t open project_save.tmx, delete \neverything up to the first tu, then express surprise when at some point \ndown the line you don&#39;t end up with a properly translated file.\n\nThe above applies to Toxic 0.2.0, by the way, not to some earlier \nversions. You could try reverting to an earlier version, but whatever \nyou do, don&#39;t tox and detox with different versions - I guarantee \ndisaster if you do that.\n\nMarc\n\n\nSamuel Murray (Ugchelen) wrote:\n&gt; G&#39;day everyone\n&gt;\n&gt; I&#39;m trying toxic and getting some errors.  Let me see if I got this right:\n&gt;\n&gt; 1. OmegaT 2.0.2\n&gt; 2. Toxic 0.2.0 for Windows\n&gt; 3. I added &quot;.tox&quot; to the XLIFF file filter\n&gt; 4. Trying to load a new project with the tox in it... get this error \n&gt; message (from OmegaT):\n&gt;\n&gt; XML document structures must start and end within the same entity.\n&gt;\n&gt; If this means that the same tag has to be at the top and bottom of the \n&gt; tox file, well... it aint.  The final tag in the tox file is &lt;/toxic&gt; \n&gt; but the first few lines of the tox file is this:\n&gt;\n&gt; &lt;?xml version=&#39;1.0&#39;?&gt;&lt;TRADOStag Version=&quot;2.0&quot;&gt;&lt;FrontMatter&gt;&lt;ToolSettings \n&gt; CreationDate=&quot;20090827T131612Z&quot; CreationTool=&quot;SDLX XConvert&quot; \n&gt; CreationToolVersion=&quot;1.0&quot;/&gt;&lt;UserSettings DataType=&quot;XML&quot; \n&gt; O-Encoding=&quot;windows-1252&quot; SettingsName=&quot;OpenTag&quot; \n&gt; SettingsPath=&quot;C:&#92;Program Files&#92;SDL International&#92;SDLX Lite&#92;opentag.ini&quot; \n&gt; SourceLanguage=&quot;EN-US&quot; TargetLanguage=&quot;AF-01&quot; TargetDefaultFont=&quot;Arial&quot; \n&gt; SourceDocumentPath=&quot;mungemungemungemunge&gt;&lt;/FrontMatter&gt;&lt;Body&gt;&lt;Raw&gt;&lt;ut \n&gt; Type=&quot;start&quot; Style=&quot;external&quot; RightEdge=&quot;angle&quot; \n&gt; DisplayText=&quot;HTML&quot;&gt;&lt;HTML&gt;&lt;/ut&gt;\n&gt; &lt;toxic&gt;\n&gt;\n&gt; Samuel\n&gt;\n&gt;\n&gt; ------------------------------------\n&gt;\n&gt; The OmegaT Project Philosophy:\n&gt; http://www.omegat.org/en/philosophy.html\n&gt; The OmegaT Project and You:\n&gt; http://www.omegat.org/en/involved.html\n&gt;\n&gt; OmegaT contributors should join the &quot;omegat-development&quot; group\n&gt; OmegaT localizers should join the &quot;omegat-l10n&quot; group\n&gt; http://sourceforge.net/mail/?group_id=68187\n&gt;\n&gt; IRC channel: http://java.freenode.net//index.php?channel=omegat\n&gt; or: irc://irc.freenode.net/omegat\n&gt; Bug reports, feature requests, OmegaT test versions etc...:\n&gt; http://sourceforge.net/projects/omegat/\n&gt;\n&gt; ------------------------------------\n&gt;\n&gt; Yahoo! Groups Links\n&gt;\n&gt;\n&gt;\n&gt;\n&gt;   \n\n\n"}}