Changeset 2758


Ignore:
Timestamp:
05/07/07 19:20:09 (13 years ago)
Author:
melissa
Message:

Fixed bug in custom semantic type definition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/ome/OMEXMLMetadataStore.java

    r2682 r2758  
    105105      Element el = DOMUtil.createChild(root.getDOMElement(), 
    106106        "SemanticTypeDefinitions"); 
     107      OMEXMLNode node = OMEXMLNode.createNode(el);  
     108      node.setAttribute("xmlns",  
     109        "http://www.openmicroscopy.org/XMLschemas/STD/RC2/STD.xsd");  
    107110      el = DOMUtil.createChild(el, "SemanticType"); 
    108       OMEXMLNode node = OMEXMLNode.createNode(el); 
     111      node = OMEXMLNode.createNode(el); 
    109112      node.setAttribute("Name", "OriginalMetadata"); 
    110113      node.setAttribute("AppliesTo", "I"); 
Note: See TracChangeset for help on using the changeset viewer.