<div dir="ltr">Hi,<div><br></div><div>Michael: This problem would occur if WiscScan was ever deployed to use a non-release version of Bio-Formats. Ask the WiscScan programmers to search the Git commit history for changes to the Bio-Formats JAR files, to see which versions were committed when.</div><div><br></div><div>OME team: it would be nice if Bio-Formats could make a "best effort" to transform these sorts of files, by attempting to treat them as one or more released schema versions before giving up on the XSLT forward transform.</div><div><br></div><div>Regards,</div><div>Curtis</div><div class="gmail_extra"><br clear="all"><div><div class="m_7310625695265709534gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px">--</span></div><div><span style="font-size:12.8px">Curtis Rueden</span><br></div><div><span style="font-size:12.8px">LOCI software architect - <a href="http://loci.wisc.edu/software" target="_blank">http://loci.wisc.edu/software</a></span></div><div>ImageJ2 lead, Fiji maintainer - <span style="font-size:12.8px"><a href="http://imagej.net/User:Rueden" target="_blank">http://imagej.net/User:<wbr>Rueden</a></span></div><div>Did you know ImageJ has a forum? <a href="http://forum.imagej.net/" target="_blank">http://forum.imagej.net/</a></div><div><br></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Nov 9, 2016 at 2:03 PM, Michael Pinkert <span dir="ltr"><<a href="mailto:mpinkert@wisc.edu" target="_blank">mpinkert@wisc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for solving that Roger!<br>
<br>
That solution makes sense, though it is rather confusing that we would be encountering this problem now. We've been using the software for years without problems, but I guess an update either messed up the references or made the improper reference a requirement when it wasn't before.<br>
<br>
I'll have to talk to the more knowledgeable coders on this issue, and look around to see if other people are still having this problem.<br>
<br>
Best regards,<br>
Michael Pinkert<br>
<span class="m_7310625695265709534im m_7310625695265709534HOEnZb"><br>
-----Original Message-----<br>
From: ome-users [mailto:<a href="mailto:ome-users-bounces@lists.openmicroscopy.org.uk" target="_blank">ome-users-bounces@list<wbr>s.openmicroscopy.org.uk</a>] On Behalf Of Roger Leigh<br>
Sent: Wednesday, November 9, 2016 4:20 AM<br>
To: <a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.openmicroscopy<wbr>.org.uk</a><br>
Subject: Re: [ome-users] Bug report for version 2012-06 OME-XML in Fiji, seen in grid/collection stitching<br>
<br>
</span><div class="m_7310625695265709534HOEnZb"><div class="m_7310625695265709534h5">On 08/11/16 19:50, Michael Pinkert wrote:<br>
> Hi Mark,<br>
><br>
> I just uploaded 9 files, from a much smaller sample image set. I tried using the ImageJ/Fiji stitching algorithm again with this smaller sample size and it ran into the same problem, with the same warning. It seems not to be reading the metadata correctly, because it was interpreting different Z-slices as different T-time points.<br>
><br>
> This problem occurred after a recent Fiji/ImageJ update and applies to older sets of images that I've already stitched; I don't think there's anything wrong with the formatting of the images.<br>
<br>
Dear Michael,<br>
<br>
I've taken a look at your files, and the problem is that the XML schema is invalid. Using bftools' xmlvalid program:<br>
<br>
% ./tools/xmlvalid ~/images/17416/FijiTester.ome.<wbr>xml Parsing schema path <a href="https://raw.github.com/openmicroscopy/openmicroscopy/schema-2012-06/components/specification/InProgress/ome.xsd" rel="noreferrer" target="_blank">https://raw.github.com/openmic<wbr>roscopy/openmicroscopy/schema-<wbr>2012-06/components/specificati<wbr>on/InProgress/ome.xsd</a><br>
Validating /home/rleigh/images/17416/Fiji<wbr>Tester.ome.xml<br>
Error parsing schema at<br>
<a href="https://raw.github.com/openmicroscopy/openmicroscopy/schema-2012-06/components/specification/InProgress/ome.xsd" rel="noreferrer" target="_blank">https://raw.github.com/openmic<wbr>roscopy/openmicroscopy/schema-<wbr>2012-06/components/specificati<wbr>on/InProgress/ome.xsd</a><br>
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document '<a href="https://raw.github.com/openmicroscopy/openmicroscopy/schema-2012-06/components/specification/InProgress/ome.xsd" rel="noreferrer" target="_blank">https://raw.github.com/openmi<wbr>croscopy/openmicroscopy/schema<wbr>-2012-06/components/specificat<wbr>ion/InProgress/ome.xsd</a>',<br>
because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.<br>
<br>
% ./tools/xmlvalid ~/images/17416/FijiTester_C0_T<wbr>P0_SP0_FW0.ome.tiff<br>
Parsing schema path<br>
<a href="https://raw.github.com/openmicroscopy/openmicroscopy/schema-2012-06/components/specification/InProgress/ome.xsd" rel="noreferrer" target="_blank">https://raw.github.com/openmic<wbr>roscopy/openmicroscopy/schema-<wbr>2012-06/components/specificati<wbr>on/InProgress/ome.xsd</a><br>
Validating /home/rleigh/images/17416/Fiji<wbr>Tester_C0_TP0_SP0_FW0.ome.tiff<br>
Error parsing schema at<br>
<a href="https://raw.github.com/openmicroscopy/openmicroscopy/schema-2012-06/components/specification/InProgress/ome.xsd" rel="noreferrer" target="_blank">https://raw.github.com/openmic<wbr>roscopy/openmicroscopy/schema-<wbr>2012-06/components/specificati<wbr>on/InProgress/ome.xsd</a><br>
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document '<a href="https://raw.github.com/openmicroscopy/openmicroscopy/schema-2012-06/components/specification/InProgress/ome.xsd" rel="noreferrer" target="_blank">https://raw.github.com/openmi<wbr>croscopy/openmicroscopy/schema<wbr>-2012-06/components/specificat<wbr>ion/InProgress/ome.xsd</a>',<br>
because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.<br>
<br>
<br>
The schema which is being used here is an invalid URL, and was never a released schema. I'm not sure why any software would be using that.<br>
<br>
You can find sample files using the old 2012-06 schema here:<br>
<a href="http://downloads.openmicroscopy.org/images/OME-TIFF/2012-06/" rel="noreferrer" target="_blank">http://downloads.openmicroscop<wbr>y.org/images/OME-TIFF/2012-06/</a><br>
They are using a root element like this:<br>
<br>
<OME xmlns="<a href="http://www.openmicroscopy.org/Schemas/OME/2012-06" rel="noreferrer" target="_blank">http://www.openmicrosco<wbr>py.org/Schemas/OME/2012-06</a>"<br>
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="noreferrer" target="_blank">http://www.w3.org/2<wbr>001/XMLSchema-instance</a>"<br>
xmlns:ROI="<a href="http://www.openmicroscopy.org/Schemas/ROI/2012-06" rel="noreferrer" target="_blank">http://www.openmicr<wbr>oscopy.org/Schemas/ROI/2012-06</a><wbr>"<br>
xmlns:SA="<a href="http://www.openmicroscopy.org/Schemas/SA/2012-06" rel="noreferrer" target="_blank">http://www.openmicro<wbr>scopy.org/Schemas/SA/2012-06</a>"<br>
xmlns:SPW="<a href="http://www.openmicroscopy.org/Schemas/SPW/2012-06" rel="noreferrer" target="_blank">http://www.openmicr<wbr>oscopy.org/Schemas/SPW/2012-06</a><wbr>"<br>
xmlns:Bin="<a href="http://www.openmicroscopy.org/Schemas/BinaryFile/2012-06" rel="noreferrer" target="_blank">http://www.openmicr<wbr>oscopy.org/Schemas/BinaryFile/<wbr>2012-06</a>"<br>
<br>
xsi:schemaLocation="<a href="http://www.openmicroscopy.org/Schemas/OME/2012-06" rel="noreferrer" target="_blank">http://www<wbr>.openmicroscopy.org/Schemas/<wbr>OME/2012-06</a><br>
<a href="http://www.openmicroscopy.org/Schemas/OME/2012-06/ome.xsd" rel="noreferrer" target="_blank">http://www.openmicroscopy.org/<wbr>Schemas/OME/2012-06/ome.xsd</a>"><br>
<br>
while your samples do this:<br>
<br>
<OME xmlns="<a href="http://www.openmicroscopy.org/Schemas/OME/2012-06" rel="noreferrer" target="_blank">http://www.openmicrosco<wbr>py.org/Schemas/OME/2012-06</a>"<br>
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="noreferrer" target="_blank">http://www.w3.org/2<wbr>001/XMLSchema-instance</a>"<br>
<br>
xsi:schemaLocation="<a href="http://www.openmicroscopy.org/Schemas/OME/2012-06" rel="noreferrer" target="_blank">http://www<wbr>.openmicroscopy.org/Schemas/<wbr>OME/2012-06</a><br>
<a href="https://raw.github.com/openmicroscopy/openmicroscopy/schema-2012-06/components/specification/InProgress/ome.xsd" rel="noreferrer" target="_blank">https://raw.github.com/openmic<wbr>roscopy/openmicroscopy/schema-<wbr>2012-06/components/specificati<wbr>on/InProgress/ome.xsd</a>"><br>
<br>
It's the schemaLocation which is wrong, making the file invalid. If you fix that up, and the rest of the file is valid for the 2012-06 schema, it should then work correctly.<br>
<br>
<br>
Kind regards,<br>
Roger<br>
<br>
--<br>
Dr Roger Leigh -- Open Microscopy Environment Wellcome Trust Centre for Gene Regulation and Expression, College of Life Sciences, University of Dundee, Dow Street,<br>
Dundee DD1 5EH Scotland UK Tel: (01382) 386364<br>
<br>
The University of Dundee is a registered Scottish Charity, No: SC015096 ______________________________<wbr>_________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.openmicroscopy<wbr>.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">http://lists.openmicroscopy.or<wbr>g.uk/mailman/listinfo/ome-user<wbr>s</a><br>
______________________________<wbr>_________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.openmicroscopy<wbr>.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">http://lists.openmicroscopy.or<wbr>g.uk/mailman/listinfo/ome-user<wbr>s</a><br>
</div></div></blockquote></div><br></div></div>