private void parseOmdlFile(Document xml, OmdlInputAdapter omdlInputAdapter) throws BadOmdlXmlFormatException{
Element rootEl = xml.getDocumentElement();
String rootNodename = rootEl.getNodeName();
String namespace = rootEl.getNamespaceURI();
if (rootNodename!=WORKSPACE){
throw new BadOmdlXmlFormatException("Root node must be <" + WORKSPACE + ">");
}
// TODO - which is it - spec examples show both?
if (namespace!=NAMESPACE && namespace!=NAMESPACE+"/"){
throw new BadOmdlXmlFormatException("Default xml namespace must be " + NAMESPACE);
}
//child <identifier> - omit
//child <goal> - omit
//child <status> - omit
//child <description> - omit