<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear ome-devel list members<br>
<br>
I am trying to import an OME-TIFF file (see attachment)  into OMERO 4.1
using OMERO.importer. However, the import fails with the Error message
"java.lang.IllegalArgumentException: Invalid series: 0".<br>
<br>
- The OME header of the file is according to the newest OME schema
(<a class="moz-txt-link-freetext" href="http://www.openmicroscopy.org/Schemas/OME/2009-09/ome.xsd">http://www.openmicroscopy.org/Schemas/OME/2009-09/ome.xsd</a>).<br>
- XML is valid according to <a class="moz-txt-link-freetext" href="http://www.validome.org/xml/validate/">http://www.validome.org/xml/validate/</a><br>
- The OME validator at <a class="moz-txt-link-freetext" href="http://validator.openmicroscopy.org.uk/">http://validator.openmicroscopy.org.uk/</a> tells
that the file is invalid and gives the following error message:<br>
<br>
"File schema: No schema found - using
<a class="moz-txt-link-freetext" href="http://www.openmicroscopy.org/Schemas/OME/2008-09">http://www.openmicroscopy.org/Schemas/OME/2008-09</a> (Standard V1)
<p> </p>
<ul>
  <li> <span>The file is <strong>invalid</strong>. </span> </li>
  <li> <span>The file is an OME-TIFF. </span> </li>
  <li> <span>The file's xml could be parsed. </span> </li>
  <li> <span>The file was not checked for internal consistency. </span>
  </li>
  <li> <span>The OME-TIFF data appears consistent with the OME-TIFF
metadata. </span> </li>
  <li> <span>No custom attributes were found. </span> </li>
</ul>
Element '{<a class="moz-txt-link-freetext" href="http://www.openmicroscopy.org/Schemas/OME/2009-09">http://www.openmicroscopy.org/Schemas/OME/2009-09</a>}OME': No
matching global declaration available for the validation root."<br>
<br>
Now I wonder why the validator says that it does not find the schema.
Is there a mistake in the way I define the use of the new 2009-09
schema in my XML? This is my OME header of the OME-TIFF file (also see
attachment):<br>
<br>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;OME
xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.openmicroscopy.org/Schemas/OME/2009-09">"http://www.openmicroscopy.org/Schemas/OME/2009-09"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
xsi:schemaLocation=<a class="moz-txt-link-rfc2396E" href="http://www.openmicroscopy.org/Schemas/OME/2009-09http://www.openmicroscopy.org/Schemas/OME/2009-09/ome.xsd">"http://www.openmicroscopy.org/Schemas/OME/2009-09
http://www.openmicroscopy.org/Schemas/OME/2009-09/ome.xsd"</a>&gt;&lt;Image
ID="urn:lsid:hifo.uzh.ch:Image:943704370950:0"&gt;&lt;AcquiredDate&gt;1988-04-07T18:39:09&lt;/AcquiredDate&gt;&lt;Description&gt;Hello
World&lt;/Description&gt;&lt;Pixels
ID="urn:lsid:hifo.uzh.ch:Pixels:691459359378:0" Type="uint16"
DimensionOrder="XYZTC" SizeC="1" SizeX="256" SizeY="256" SizeZ="1"
SizeT="1"&gt;&lt;TiffData&gt;&lt;/TiffData&gt;&lt;/Pixels&gt;&lt;/Image&gt;&lt;/OME&gt;<br>
<br>
<br>
Thank you in advance for any help!<br>
<br>
Best regards,<br>
Dominik<br>
<br>
</body>
</html>