<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi all -<div class=""><br class=""></div><div class="">I'm new to the Open Microscopy effort but it looks really nice, thank you.</div><div class=""><br class=""></div><div class="">It's always dangerous to post a bug as one's first message, but I think there's a bug in dumpXML. I'm using Matlab, but it tells me that the object is loci.formats.ome.OMEXMLMetadataImpl</div><div class=""><br class=""></div><div class="">If I call </div><div class=""><br class=""></div><div class="">r = bfGetReader('~/Downloads/myfile.lif');</div><div class="">m=r.getMetadataStore();</div><div class="">x = char(m.dumpXML()); % char converts Java string to Matlab character string</div><div class="">str2text('myfilename.xml',x); % my own function that simply writes text files <a href="https://github.com/VH-Lab/vhlab-toolbox-matlab.git" class="">https://github.com/VH-Lab/vhlab-toolbox-matlab.git</a></div><div class="">s = xml2struct('myfilename.xml')</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I get a fatal error because the encoding type described in opening of the xml string in x is UTF-8 but the actual encoding of the document is iso-8859-1. If I edit the x string manually, it can be processed correctly.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Best</div><div class="">Steve</div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="" style="float: none; display: inline !important;">------------------------------------------</span><br class=""><span class="" style="float: none; display: inline !important;">Stephen D. Van Hooser, PhD</span><br class=""><br class=""><span class="" style="float: none; display: inline !important;">Associate Professor of Biology</span><br class=""><span class="" style="float: none; display: inline !important;">Brandeis University</span><br class=""><span class="" style="float: none; display: inline !important;">781-736-2721 (phone)</span><br class=""><span class="">{</span><a href="http://www.vhlab.org" class="">www</a><span class="">,</span><a href="http://wiki.vhlab.org" class="">wiki</a><span class="">,</span><a href="http://code.vhlab.org" class="">code</a><span class="">,</span><a href="http://dataclass.vhlab.org" class="">dataclass</a>,<a href="https://twitter.com/VanHooserLab/" class="">twitter</a><span class="">}.</span><a href="http://vhlab.org" class="">vhlab.org</a></div></div></div></div></div>
</div>
<br class=""></body></html>