{"id":291,"date":"2006-03-09T08:59:00","date_gmt":"2006-03-09T08:59:00","guid":{"rendered":"http:\/\/www.sgmlguru.org\/wp\/?p=291"},"modified":"2015-01-14T18:35:32","modified_gmt":"2015-01-14T18:35:32","slug":"xmetal-linux-update","status":"publish","type":"post","link":"http:\/\/www.sgmlguru.org\/wp\/?p=291","title":{"rendered":"XMetaL Linux Update"},"content":{"rendered":"<p>I&#8217;ve been toying with <span style=\"font-weight: bold;\">XMetaL<\/span> on Linux and <span style=\"font-weight: bold;\">Wine<\/span>, with varying degrees of success.  It&#8217;s quite obvious that the <span style=\"font-weight: bold;\">XMetaL<\/span>\/<span style=\"font-weight: bold;\">Wine<\/span>\/Linux combo isn&#8217;t ready for prime time just yet, but it&#8217;s <span style=\"font-style: italic;\">so close<\/span>.<\/p>\n<p>I&#8217;ve had some interesting problems along the way, most importantly that the <span style=\"font-weight: bold;\">Save As<\/span> function isn&#8217;t reliable. Or rather, it doesn&#8217;t work with relative paths. If you want to save a file, but only enter a filename in the dialog, <span style=\"font-weight: bold;\">XMetaL<\/span> says things like &#8220;File is read-only&#8221; or &#8220;File doesn&#8217;t exist&#8221;. A little investigating shows that the save component is unable to fill in the correct path to the file, and therefore cannot find the location. This problem is cured by entering a Windows-like path to the file, for example, <span style=\"font-style: italic;\">D:myfile.xml<\/span>. (Note that your home directory is <span style=\"font-style: italic;\">D:<\/span> in <span style=\"font-weight: bold;\">Wine<\/span>.)<\/p>\n<p>The absolute path problem can be a character encoding problem (for example, the save component could very well use some weird Windows keymap scheme instead of pure Unicode; <span style=\"font-weight: bold;\">XMetaL<\/span> is supposed to run on Windows 98, an OS not known for its Unicode capabilities) but there are other variables in the equation, too. For one, I suspect that <span style=\"font-weight: bold;\">Wine&#8217;s<\/span> file path translation also matters.<\/p>\n<p>A lesser, but still annoying, problem is that a saved <span style=\"font-weight: bold;\">XMetaL<\/span> window size  (when starting the application) doesn&#8217;t work at all if you&#8217;ve set <span style=\"font-weight: bold;\">Wine<\/span> to Windows 98 mode. It works more often in Windows 2000 or XP modes, but not every time, which I don&#8217;t understand at all. Also, <span style=\"font-weight: bold;\">XMetaL<\/span> forgets the view mode (tag view, normal view, etc), for some reason, not necessarily the same.<\/p>\n<p>On the other hand, I&#8217;ve successfully been able to use (most parts of) <span style=\"font-weight: bold;\">X4<\/span>, an <span style=\"font-weight: bold;\">XMetaL<\/span> authoring environment that we developed at <span style=\"font-style: italic;\">Information &#038; Media<\/span> a few years ago. This is good news since while I can live with writing in <span style=\"font-weight: bold;\">OpenOffice<\/span>, it doesn&#8217;t beat a real XML editor with a decent authoring DTD and environment.<\/p>\n<p>I expect that <span style=\"font-weight: bold;\">Wine 1.0<\/span>, when out, can solve some of the current problems. I&#8217;ll keep you posted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been toying with XMetaL on Linux and Wine, with varying degrees of success. It&#8217;s quite obvious that the XMetaL\/Wine\/Linux combo isn&#8217;t ready for prime time just yet, but it&#8217;s so close. I&#8217;ve had some interesting problems along the way, most importantly that the Save As function isn&#8217;t reliable. Or rather, it doesn&#8217;t work with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/291"}],"collection":[{"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=291"}],"version-history":[{"count":0,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/291\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=291"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}