I am currently using the new release of OME XML (2011-06) and i would like to make new types. So I would like to make my own types in a <SemanticTypeDefinitions> section but it seems to be invalid. When I try to validate my xml file with the bio format command tools xmlvalid, i get :
- Code: Select all
Validating C:\***\test2.xml
cvc-complex-type.2.4.a: Invalid content was found starting with element 'SemanticTypeDefinitions'. One of '{"http://www.openmicroscopy.org/Schemas/OME/2011-06": Project, "http://www.openmicroscopy.org/Schemas/OME/2011-06":Dataset, "http://www.openmicroscopy.org/Schemas/OME/2011-06":Experiment, "http://www.openmicroscopy.org/Schemas/SPW/2011-06":Plate, "http://www.openmicroscopy.org/Schemas/SPW/2011-06":Screen, "http://www.openmicroscopy.org/Schemas/OME/2011-06":Experimenter, "http://www.openmicroscopy.org/Schemas/OME/2011-06":Group, "http://www.openmicroscopy.org/Schemas/OME/2011-06":Instrument, "http://www.openmicroscopy.org/Schemas/OME/2011-06":Image, "http://www.openmicroscopy.org/Schemas/SA/2011-06":StructuredAnnotations, "http://www.openmicroscopy.org/Schemas/ROI/2011-06":ROI, "http://www.openmicroscopy.org/Schemas/OME/2011-06":BinaryOnly}' is expected.
Error validating document: 1 errors found
It seems that the STD namespace is not recognized.
The header of my file XML file is :
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!-- Warning: this comment is an OME-XML metadata block, which contains crucial dimensional parameters and other important metadata. Please edit cautiously (if at all), and back up the original data before doing so. For more information, see the OME-TIFF web site: http://ome-xml.org/wiki/OmeTiff. -->
<OME
xmlns="http://www.openmicroscopy.org/Schemas/OME/2011-06"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:STD="http://www.openmicroscopy.org/Schemas/STD/2009-09"
xsi:schemaLocation="http://www.openmicroscopy.org/Schemas/OME/2011-06
http://www.openmicroscopy.org/Schemas/OME/2011-06/ome.xsd
http://www.openmicroscopy.org/Schemas/STD/2009-09
http://www.openmicroscopy.org/Schemas/STD/2009-09/STD.xsd">
So where is the problem ?
Thanks for your help,
Kind regards;
Marius