Index: DCWoRMS/trunk/src/test/DEBBTranslator/.project
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/.project	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/.project	(revision 611)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>DEBBTranslator</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/src/Test.java
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/src/Test.java	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/src/Test.java	(revision 611)
@@ -0,0 +1,91 @@
+import java.io.File;
+import java.io.IOException;
+import java.io.StringReader;
+
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamResult;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.DocumentFragment;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+/**
+ * 
+ */
+
+/**
+ * @author gosiaw
+ * 
+ */
+public class Test {
+
+	/**
+	 * 
+	 */
+	public Test() {
+		// TODO Auto-generated constructor stub
+	}
+
+	/**
+	 * @param args
+	 * @throws ParserConfigurationException
+	 * @throws IOException
+	 * @throws SAXException
+	 * @throws TransformerException 
+	 */
+	public static void main(String[] args) throws SAXException, IOException,
+			ParserConfigurationException, TransformerException {
+		DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+//		factory.setValidating(true);
+
+		Document fullSourceDocument = factory.newDocumentBuilder().parse(
+				new File("xml/DEBBComponents.xml"));
+
+		String fragment = "<ComponentId>hlrs_smallServerRoom</ComponentId>";
+
+		factory = DocumentBuilderFactory.newInstance();
+		Document fragmentSourceDocument = factory.newDocumentBuilder().parse(
+				new InputSource(new StringReader(fragment)));
+
+		Element rootElement = fragmentSourceDocument.getDocumentElement();
+		System.out.println("rootElement=" + rootElement.getNodeName());
+		Node parentNode = rootElement.getParentNode();
+//		Node node = fullSourceDocument.importNode(rootElement, true);
+//		Node parentNode = node.getParentNode();
+		System.out.println("parentNode=" + parentNode.getNodeName());
+		
+		DocumentFragment docfrag = fullSourceDocument.createDocumentFragment();
+
+//		while (parentNode.hasChildNodes()) {
+//			docfrag.appendChild(parentNode.removeChild(parentNode.getFirstChild()));
+//		}
+//		docfrag.appendChild(parentNode);
+
+		Element element = fullSourceDocument.getDocumentElement();
+		element.appendChild(docfrag);
+
+		TransformerFactory transformerFactory = TransformerFactory
+				.newInstance();
+		Transformer transformer = transformerFactory.newTransformer();
+
+		DOMSource source = new DOMSource(fragmentSourceDocument);
+		StreamResult transformResult = new StreamResult(
+				new File("xml/Test.xml"));
+
+		// Output to console for testing
+		// StreamResult result = new StreamResult(System.out);
+
+		transformer.transform(source, transformResult);
+
+		System.out.println("File " + "xml/Test.xml" + " saved!");
+
+	}
+}
Index: DCWoRMS/trunk/src/test/DEBBTranslator/src/test/DEBBTranslator/src/DEBB2DCWoRMSTranslator.java
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/src/test/DEBBTranslator/src/DEBB2DCWoRMSTranslator.java	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/src/test/DEBBTranslator/src/DEBB2DCWoRMSTranslator.java	(revision 611)
@@ -0,0 +1,519 @@
+package test.DEBBTranslator.src;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.StringTokenizer;
+
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.OutputKeys;
+import javax.xml.transform.Source;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathConstants;
+import javax.xml.xpath.XPathExpression;
+import javax.xml.xpath.XPathExpressionException;
+import javax.xml.xpath.XPathFactory;
+
+import org.w3c.dom.Attr;
+import org.w3c.dom.Comment;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.xml.sax.SAXException;
+
+/**
+ * 
+ */
+
+/**
+ * @author gosiaw
+ * 
+ */
+public class DEBB2DCWoRMSTranslator {
+
+	// TODO:
+	// 1) Configuration file needed
+	// 2) Get rid of all nasty System.out - log4j instead
+	// 3)
+
+	private static final String DEFAULT_DCWORMS_OUTPUT_FILE_NAME = "xml/DCWORMS_TEST.xml";
+	// private static final String DEFAULT_INPUT_FILE_NAME =
+	// "xml/PLMXML_PSNCRECS.xml";
+	private static final String DEFAULT_PLMXML_INPUT_FILE_NAME = "xml/PLMXML_HLRSSmallServerRoom.xml";
+	private static final String DEFAULT_DEBB_COMPONENT_INPUT_FILE_NAME = "xml/DEBBComponents.xml";
+	private static final String DEFAULT_SCHEMA_NAME = "DCWormsResSchema.xsd";
+	private static final String DEFAULT_DEBB_COMPONENT_TRANSFORMATION_FILE_NAME = "xml/DEBBComponentTranslator.xsl";
+	private static final String DEFAULT_NAMESPACE = "http://www.w3.org/2001/XMLSchema-instance";
+	private static DocumentBuilder xmlDocumentBuilder;
+	private static DocumentBuilderFactory domFactory;
+
+	private static HashMap<String, String> computingResourceClasses = null;
+	private static HashMap<String, String> resourceUnitClasses;
+	private static XPath xpath;
+	private static Document dcwormsDocument;
+
+	/**
+	 * 
+	 */
+	public DEBB2DCWoRMSTranslator() {
+		// TODO Auto-generated constructor stub
+	}
+
+	/**
+	 * @param args
+	 */
+	public static void main(String[] args) {
+		String inputFileName = DEFAULT_PLMXML_INPUT_FILE_NAME;
+		String outputFileName = DEFAULT_DCWORMS_OUTPUT_FILE_NAME;
+
+		if (args != null && args.length > 0) {
+			inputFileName = args[0];
+			if (inputFileName != null && inputFileName.isEmpty() == false) {
+				inputFileName = DEFAULT_PLMXML_INPUT_FILE_NAME;
+			}
+
+			outputFileName = args[1];
+			if (outputFileName != null && outputFileName.isEmpty() == false) {
+				outputFileName = DEFAULT_DCWORMS_OUTPUT_FILE_NAME;
+			}
+		}
+
+		try {
+			initialize();
+
+			// Open and read content of the input file (i.e. PLM XML document)
+			Document plmxmlDocument = readPLMXMLInputFile(inputFileName);
+
+			XPathFactory xpathFactory = XPathFactory.newInstance();
+			xpath = xpathFactory.newXPath();
+			NamespaceContext nsContext = new DEBBNamespaceContext();
+			xpath.setNamespaceContext(nsContext);
+
+			// Find root component (top level DEBB) id
+			XPathExpression expr = xpath
+					.compile("//plm:ProductDef/plm:InstanceGraph/@rootRefs");
+			Object result = expr.evaluate(plmxmlDocument, XPathConstants.NODE);
+			Node rootIdNode = (Node) result;
+			System.out.println(rootIdNode.getNodeName());
+			System.out.println(rootIdNode.getNodeValue());
+
+			// Creating destination, dcworms document
+			dcwormsDocument = xmlDocumentBuilder.newDocument();
+
+			// Creating root, environment, element
+			Element rootElement = dcwormsDocument.createElement("environment");
+
+			//	Information about namespaces and schema validating output xml
+			//	Should be:
+			//	<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	        //	     xsi:noNamespaceSchemaLocation="DCWormsResSchema.xsd">
+			
+			Attr schemaAttribute = dcwormsDocument
+			.createAttribute("xsi:noNamespaceSchemaLocation");
+			schemaAttribute.setValue(DEFAULT_SCHEMA_NAME);
+			Attr namespaceAttribute = dcwormsDocument
+			.createAttribute("xmlns:xsi");
+			namespaceAttribute.setValue(DEFAULT_NAMESPACE);
+			rootElement.setAttributeNode(schemaAttribute);
+			rootElement.setAttributeNode(namespaceAttribute);
+			
+			
+			dcwormsDocument.appendChild(rootElement);
+			Comment comment = dcwormsDocument
+					.createComment("CoolEmAll testbed description");
+			rootElement.appendChild(comment);
+			// rootElement.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance",
+			// "xmlns:xsi", "value");
+
+			// Creating resources element
+			Element resourcesElement = dcwormsDocument
+					.createElement("resources");
+			rootElement.appendChild(resourcesElement);
+
+			// *****************************************************************
+			// Creating (main) scheduler element
+			// TODO: Fill scheduler with reasonable data!
+			Element schedulerElement = dcwormsDocument
+					.createElement("scheduler");
+			comment = dcwormsDocument.createComment("Default scheduler");
+			schedulerElement.appendChild(comment);
+			resourcesElement.appendChild(schedulerElement);
+
+			// *****************************************************************
+			// Transform top level DEBB and all nested DEBBs
+			transformDEBB(plmxmlDocument, dcwormsDocument, resourcesElement,
+					rootIdNode.getNodeValue());
+
+			// *****************************************************************
+			// TODO: Extract information about sensors from PLM XML
+
+			// write the content into xml file
+			saveDCWoRMSOutputFile(outputFileName, dcwormsDocument);
+
+		} catch (ParserConfigurationException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (IOException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (SAXException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (XPathExpressionException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (Exception e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		}
+
+	}
+
+	private static void initialize() throws ParserConfigurationException {
+		domFactory = DocumentBuilderFactory.newInstance();
+		domFactory.setNamespaceAware(true); // never forget this!
+		domFactory.setValidating(true);
+		domFactory.setAttribute(
+				"http://java.sun.com/xml/jaxp/properties/schemaLanguage",
+				"http://www.w3.org/2001/XMLSchema");
+
+		xmlDocumentBuilder = domFactory.newDocumentBuilder();
+
+		// TODO: Check it this is correct!
+		// TODO: Move it to configuration file
+		computingResourceClasses = new HashMap<String, String>();
+		computingResourceClasses.put("ComputeBox2", "ComputeBox2");
+		computingResourceClasses.put("ComputeBox1", "ComputeBox1");
+		computingResourceClasses.put("NodeGroup", "NodeGroup");
+		computingResourceClasses.put("Node", "Node");
+		computingResourceClasses.put("Processor", "Processor");
+
+		resourceUnitClasses = new HashMap<String, String>();
+		resourceUnitClasses.put("Sensor", "Sensor");
+		resourceUnitClasses.put("Memory", "Memory");
+		resourceUnitClasses.put("Baseboard", "Baseboard");
+		resourceUnitClasses.put("CoolingDevice", "CoolingDevice");
+		resourceUnitClasses.put("Storage", "Storage");
+
+	}
+
+	private static Document readPLMXMLInputFile(String inputFileName) {
+		Document plmxmlDocument;
+		try {
+			plmxmlDocument = xmlDocumentBuilder.parse(inputFileName);
+			return plmxmlDocument;
+		} catch (SAXException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (IOException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		}
+		return null;
+	}
+
+	private static Document readDEBBComponentInputFile(String inputFileName) {
+		Document debbComponentDocument;
+		try {
+			debbComponentDocument = xmlDocumentBuilder.parse(inputFileName);
+			return debbComponentDocument;
+		} catch (SAXException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (IOException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		}
+		return null;
+	}
+
+	private static void saveDCWoRMSOutputFile(String outputFileName,
+			Document dcwormsDocument) {
+
+		try {
+			TransformerFactory transformerFactory = TransformerFactory
+					.newInstance();
+			Transformer transformer;
+
+			transformer = transformerFactory.newTransformer();
+			transformer.setOutputProperty(OutputKeys.INDENT, "yes");
+
+			DOMSource source = new DOMSource(dcwormsDocument);
+			StreamResult transformResult = new StreamResult(new File(
+					outputFileName));
+
+			// Output to console for testing
+			// StreamResult result = new StreamResult(System.out);
+
+			transformer.transform(source, transformResult);
+
+			System.out.println("File " + outputFileName + " saved!");
+
+		} catch (TransformerConfigurationException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		} catch (TransformerException e) {
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		}
+
+	}
+
+	/**
+	 * Translates specified DEBB and all its nested sub DEBBS
+	 * 
+	 * @param plmxmlDocument
+	 * @param dcwormsDocument
+	 *            TODO
+	 * @param instanceId
+	 * @return
+	 * @throws Exception
+	 */
+	public static void transformDEBB(Document plmxmlDocument,
+			Document dcwormsDocument, Element debbParentElement,
+			String instanceId) throws Exception {
+
+		if (instanceId == null) {
+			throw new Exception("Null DEBB identifier");
+		}
+		if (plmxmlDocument == null) {
+			throw new Exception("Null PLM XML document");
+		}
+
+		if (debbParentElement == null) {
+			throw new Exception("Null parent element in dcworms document");
+		}
+
+		// Find DEBB with given id and transform it
+		// *****************************************************************
+		// 1) ProductInstance -
+		XPathExpression expr = xpath
+				.compile("//plm:ProductDef/plm:InstanceGraph/plm:ProductInstance[@id='"
+						+ instanceId + "']");
+		Object result = expr.evaluate(plmxmlDocument, XPathConstants.NODE);
+		Node productInstanceNode = (Node) result;
+		Node debbNameNode = productInstanceNode.getAttributes().getNamedItem(
+				"name");
+		System.out.println("name=" + debbNameNode.getNodeValue());
+		Node partRefNode = productInstanceNode.getAttributes().getNamedItem(
+				"partRef");
+		System.out.println("partRef=" + partRefNode.getNodeValue());
+		String partId = partRefNode.getNodeValue().substring(1); // Get rid of #
+		// at
+		// the
+		// beginning
+		// UserData - hostname
+		expr = xpath
+				.compile("plm:UserData/plm:UserValue[@title='hostname']/@value");
+		result = expr.evaluate(productInstanceNode, XPathConstants.NODE);
+		Node debbHostNameNode = (Node) result;
+
+		// UserData - sequence
+		expr = xpath
+				.compile("plm:UserData/plm:UserValue[@title='sequence']/@value");
+		result = expr.evaluate(productInstanceNode, XPathConstants.NODE);
+		Node debbSequenceNode = (Node) result;
+
+		// UserData - label
+		expr = xpath
+				.compile("plm:UserData/plm:UserValue[@title='label']/@value");
+		result = expr.evaluate(productInstanceNode, XPathConstants.NODE);
+		Node debbLabelNode = (Node) result;
+
+		// UserData - location
+		expr = xpath
+				.compile("plm:UserData/plm:UserValue[@title='location']/@value");
+		result = expr.evaluate(productInstanceNode, XPathConstants.NODE);
+		Node debbLocationNode = (Node) result;
+
+		// *****************************************************************
+		// 2) ProductRevisionView
+		expr = xpath
+				.compile("//plm:ProductDef/plm:InstanceGraph/plm:ProductRevisionView[@id='"
+						+ partId + "']");
+		result = expr.evaluate(plmxmlDocument, XPathConstants.NODE);
+		Node productRevisionViewNode = (Node) result;
+		// debbName = productRevisionView.getAttributes().getNamedItem("name");
+		// System.out.println("name=" + debbName.getNodeValue());
+
+		// UserValue (to extract DEBB name, level or DEBBComponent file)
+		// DEBBComponentId
+		expr = xpath
+				.compile("plm:UserData/plm:UserValue[@title='DEBBComponentId']/@value");
+		result = expr.evaluate(productRevisionViewNode, XPathConstants.NODE);
+		Node debbComponentIdNode = (Node) result;
+		if (debbComponentIdNode != null) {
+			System.out.println("debbComponentId="
+					+ debbComponentIdNode.getNodeValue());
+		}
+
+		// DEBBLevel
+		expr = xpath
+				.compile("plm:UserData/plm:UserValue[@title='DEBBLevel']/@value");
+		result = expr.evaluate(productRevisionViewNode, XPathConstants.NODE);
+		Node debbLevelNode = (Node) result;
+		if (debbLevelNode != null) {
+			System.out.println("debbLevel=" + debbLevelNode.getNodeValue());
+		}
+
+		// DEBBComponentFile
+		expr = xpath
+				.compile("plm:UserData/plm:UserValue[@title='DEBBComponentFile']/@value");
+		result = expr.evaluate(productRevisionViewNode, XPathConstants.NODE);
+		Node debbComponentFileNameNode = (Node) result;
+		String debbComponentFileName = null;
+		if (debbComponentFileNameNode != null) {
+			// Default DEBBComponent file is assumed
+			debbComponentFileName = debbComponentFileNameNode.getNodeValue();
+		} else {
+			debbComponentFileName = DEFAULT_DEBB_COMPONENT_INPUT_FILE_NAME;
+		}
+		System.out.println("debbComponentFileToOpen=" + debbComponentFileName);
+
+		// *****************************************************************
+		// Add computingResource element for the DEBB
+		if (debbLevelNode != null) {
+			Element computingResourceElement = dcwormsDocument
+					.createElement("computingResource");
+			Attr nameAttribute = dcwormsDocument.createAttribute("name");
+			nameAttribute.setValue(debbNameNode.getNodeValue());
+			computingResourceElement.setAttributeNode(nameAttribute);
+
+			Attr classAttribute = dcwormsDocument.createAttribute("class");
+			String dcwormsClass = computingResourceClasses.get(debbLevelNode
+					.getNodeValue());
+			classAttribute.setValue(dcwormsClass);
+			computingResourceElement.setAttributeNode(classAttribute);
+
+			Document debbComponentDocument = readDEBBComponentInputFile(debbComponentFileName);
+			System.out.println("debbComponentNode="
+					+ debbComponentIdNode.getNodeValue());
+			expr = xpath.compile("//*[ComponentId='"
+					+ debbComponentIdNode.getNodeValue() + "']");
+			result = expr.evaluate(debbComponentDocument, XPathConstants.NODE);
+			Node debbComponentNode = (Node) result;
+			if (debbComponentNode != null) {
+				System.out.println("debbComponentNode="
+						+ debbComponentNode.getNodeName());
+			}
+			
+			// DOMSource/DOMResult
+			try {
+//				DOMSource domSource = new DOMSource(debbParentElement);
+				DOMSource domSource = new DOMSource(debbComponentNode);
+				Source xsltSource = new StreamSource(
+						DEFAULT_DEBB_COMPONENT_TRANSFORMATION_FILE_NAME);
+				DOMResult domResult = new DOMResult(computingResourceElement);
+//				StreamResult systemOutResult = new StreamResult(System.out);
+				// create an instance of TransformerFactory
+				TransformerFactory transFact = TransformerFactory.newInstance();
+
+				javax.xml.transform.Transformer trans = transFact
+						.newTransformer(xsltSource);
+
+				trans.transform(domSource, domResult);
+				System.out.println("result node=" + domResult.getNode().getNodeName());
+			} catch (NullPointerException npEx) {
+				System.out.println("NullPointerException on debb "
+						+ debbComponentIdNode.getNodeValue());
+			}
+			
+			if (debbHostNameNode != null) {
+				Element parameterElement = dcwormsDocument
+						.createElement("parameter");
+				Attr parameterNameAttribute = dcwormsDocument
+						.createAttribute("name");
+				parameterNameAttribute.setValue("hostname");
+				parameterElement.setAttributeNode(parameterNameAttribute);
+				Element valueElement = dcwormsDocument.createElement("value");
+				valueElement.appendChild(dcwormsDocument
+						.createTextNode(debbHostNameNode.getNodeValue()));
+				parameterElement.appendChild(valueElement);
+				computingResourceElement.appendChild(parameterElement);
+			}
+
+			if (debbSequenceNode != null) {
+				// TODO: Sequence is described unclearly in the deliverable, not
+				// used in any example. Not sure what to do with it.
+				Element parameterElement = dcwormsDocument
+						.createElement("parameter");
+				Attr parameterNameAttribute = dcwormsDocument
+						.createAttribute("name");
+				parameterNameAttribute.setValue("sequence");
+				parameterElement.setAttributeNode(parameterNameAttribute);
+				Element valueElement = dcwormsDocument.createElement("value");
+				valueElement.appendChild(dcwormsDocument
+						.createTextNode(debbSequenceNode.getNodeValue()));
+				parameterElement.appendChild(valueElement);
+				computingResourceElement.appendChild(parameterElement);
+			}
+			debbParentElement.appendChild(computingResourceElement);
+
+			if (debbLabelNode != null) {
+				Element parameterElement = dcwormsDocument
+						.createElement("parameter");
+				Attr parameterNameAttribute = dcwormsDocument
+						.createAttribute("name");
+				parameterNameAttribute.setValue("label");
+				parameterElement.setAttributeNode(parameterNameAttribute);
+				Element valueElement = dcwormsDocument.createElement("value");
+				valueElement.appendChild(dcwormsDocument
+						.createTextNode(debbLabelNode.getNodeValue()));
+				parameterElement.appendChild(valueElement);
+				computingResourceElement.appendChild(parameterElement);
+
+			}
+
+			if (debbLocationNode != null) {
+				Element parameterElement = dcwormsDocument
+						.createElement("parameter");
+				Attr parameterNameAttribute = dcwormsDocument
+						.createAttribute("name");
+				parameterNameAttribute.setValue("location");
+				parameterElement.setAttributeNode(parameterNameAttribute);
+				Element valueElement = dcwormsDocument.createElement("value");
+				valueElement.appendChild(dcwormsDocument
+						.createTextNode(debbLocationNode.getNodeValue()));
+				parameterElement.appendChild(valueElement);
+				computingResourceElement.appendChild(parameterElement);
+			}
+
+			// *****************************************************************
+
+
+			// Find component
+
+			// *****************************************************************
+			// Get nested instances - nested DEBBs and ask them to transform
+			// themselves
+			Node instanceRefsNode = productRevisionViewNode.getAttributes()
+					.getNamedItem("instanceRefs");
+			// Check if anything is nested at all
+			if (instanceRefsNode != null) {
+				String instances = instanceRefsNode.getNodeValue();
+				System.out.println("instances=" + instances);
+				// Separate instance ids
+				StringTokenizer tokenizer = new StringTokenizer(instances, " ");
+				while (tokenizer.hasMoreTokens()) {
+					String instance = tokenizer.nextToken();
+					System.out.println(instance);
+					// Go down in the hierarchy
+					transformDEBB(plmxmlDocument, dcwormsDocument,
+							computingResourceElement, instance);
+					System.out.println();
+				}
+			}
+		}
+	}
+}
Index: DCWoRMS/trunk/src/test/DEBBTranslator/src/test/DEBBTranslator/src/DEBBComponentTranslator.java
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/src/test/DEBBTranslator/src/DEBBComponentTranslator.java	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/src/test/DEBBTranslator/src/DEBBComponentTranslator.java	(revision 611)
@@ -0,0 +1,68 @@
+package test.DEBBTranslator.src;
+
+import java.io.FileOutputStream;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+
+/**
+ * 
+ */
+
+/**
+ * @author gosiaw
+ * 
+ */
+public class DEBBComponentTranslator {
+
+	private static final String DEFAULT_OUTPUT_FILE_NAME = "xml/DEBBComponents_TEST.xml";
+	private static final String DEFAULT_INPUT_FILE_NAME = "xml/DEBBComponents.xml";
+//	private static final String DEFAULT_DEBB_TRANSFORMATION_FILE_NAME = "xml/DEBBTranslator.xsl";
+	private static final String DEFAULT_DEBB_TRANSFORMATION_FILE_NAME = "xml/DEBBComponentTranslator.xsl";
+
+	/**
+	 * 
+	 */
+	public DEBBComponentTranslator() {
+		// TODO Auto-generated constructor stub
+	}
+
+	/**
+	 * @param args
+	 */
+	public static void main(String[] args) {
+		String inputFileName = DEFAULT_INPUT_FILE_NAME;
+		String outputFileName = DEFAULT_OUTPUT_FILE_NAME;
+		String debbTransformationFileName = DEFAULT_DEBB_TRANSFORMATION_FILE_NAME;
+		
+		if (args != null && args.length > 0) {
+			inputFileName = args[0];
+			if (inputFileName != null && inputFileName.isEmpty() == false) {
+				inputFileName = DEFAULT_INPUT_FILE_NAME;
+			}
+
+			outputFileName = args[1];
+			if (outputFileName != null && outputFileName.isEmpty() == false) {
+				outputFileName = DEFAULT_OUTPUT_FILE_NAME;
+			}			
+		}
+
+		try {
+			TransformerFactory tFactory = TransformerFactory.newInstance();
+			
+			
+			
+			Transformer transformer = tFactory
+					.newTransformer(new javax.xml.transform.stream.StreamSource(
+							debbTransformationFileName));
+
+			transformer.transform(new javax.xml.transform.stream.StreamSource(
+					inputFileName),
+					new javax.xml.transform.stream.StreamResult(
+							new FileOutputStream(outputFileName)));
+			System.out.println("File " + inputFileName + " transformed.");
+		} catch (Exception e) {
+			e.printStackTrace();
+		}
+	}
+}
Index: DCWoRMS/trunk/src/test/DEBBTranslator/src/test/DEBBTranslator/src/DEBBNamespaceContext.java
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/src/test/DEBBTranslator/src/DEBBNamespaceContext.java	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/src/test/DEBBTranslator/src/DEBBNamespaceContext.java	(revision 611)
@@ -0,0 +1,45 @@
+package test.DEBBTranslator.src;
+
+import java.util.Iterator;
+
+import javax.xml.XMLConstants;
+import javax.xml.namespace.NamespaceContext;
+
+		
+	
+/**
+ * @author gosiaw
+ * Auxiliary class for handling multiple namespace prefixes
+ *
+ */
+public class DEBBNamespaceContext implements NamespaceContext
+    {	
+		/**
+		 * Gets schema url for namespace prefix 
+		 */
+        public String getNamespaceURI(String prefix)
+        {
+            if (prefix.equals("plm"))
+                return "http://www.plmxml.org/Schemas/PLMXMLSchema";
+            else if (prefix.equals("cim"))
+            	return "http://www.coolemall.eu/DEBBComponent";
+            else
+                return XMLConstants.NULL_NS_URI;
+        }
+        
+        /**
+         * Unnecessary
+         */
+        public String getPrefix(String namespace)
+        {
+        	return null;
+        }
+
+        /**
+         * Unnecessary
+         */
+        public Iterator<String> getPrefixes(String namespace)
+        {
+            return null;
+        }
+    }  
Index: DCWoRMS/trunk/src/test/DEBBTranslator/src/DEBBNamespaceContext.java
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/src/DEBBNamespaceContext.java	(revision 608)
+++ 	(revision )
@@ -1,45 +1,0 @@
-package test.DEBBTranslator.src;
-
-import java.util.Iterator;
-
-import javax.xml.XMLConstants;
-import javax.xml.namespace.NamespaceContext;
-
-		
-	
-/**
- * @author gosiaw
- * Auxiliary class for handling multiple namespace prefixes
- *
- */
-public class DEBBNamespaceContext implements NamespaceContext
-    {	
-		/**
-		 * Gets schema url for namespace prefix 
-		 */
-        public String getNamespaceURI(String prefix)
-        {
-            if (prefix.equals("plm"))
-                return "http://www.plmxml.org/Schemas/PLMXMLSchema";
-            else if (prefix.equals("cim"))
-            	return "http://www.coolemall.eu/DEBBComponent";
-            else
-                return XMLConstants.NULL_NS_URI;
-        }
-        
-        /**
-         * Unnecessary
-         */
-        public String getPrefix(String namespace)
-        {
-        	return null;
-        }
-
-        /**
-         * Unnecessary
-         */
-        public Iterator<String> getPrefixes(String namespace)
-        {
-            return null;
-        }
-    }  
Index: DCWoRMS/trunk/src/test/DEBBTranslator/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/.settings/org.eclipse.jdt.core.prefs	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/.settings/org.eclipse.jdt.core.prefs	(revision 611)
@@ -0,0 +1,12 @@
+#Fri Oct 12 12:45:01 CEST 2012
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Index: DCWoRMS/trunk/src/test/DEBBTranslator/.classpath
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/.classpath	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/.classpath	(revision 611)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+	<classpathentry kind="lib" path="lib/saxon9-unpack.jar"/>
+	<classpathentry kind="lib" path="lib/saxon9he.jar"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources.xml	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources.xml	(revision 611)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+	xsi:noNamespaceSchemaLocation="DCWormsResSchema.xsd">
+	
+	<!-- Simple data center description -->
+	<resources>
+		<computingResource class="DataCenter" name="compRes">
+			<!-- Defined data center contains only 6 processors -->
+			<computingResource class="Processor" count="6">
+				<parameter name="speed">
+					<value>1</value>
+				</parameter>
+			</computingResource>
+		</computingResource>
+		<scheduler class="Cluster" name="cluster">
+			<!-- Definition of scheduling plugin at cluster level -->
+			<schedulingPlugin>
+				<name>example.localplugin.FCFSBF_LocalPlugin</name>
+			</schedulingPlugin>	
+			<!-- Reference to managed resources - cluster manages resources belonging to the defined data center -->
+			<managedComputingResources include="false">
+				<resourceName>compRes</resourceName>
+			</managedComputingResources>
+		</scheduler>	
+	</resources>
+
+</environment>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/DCWORMS_TEST.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/DCWORMS_TEST.xml	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/DCWORMS_TEST.xml	(revision 611)
@@ -0,0 +1,1174 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+             xsi:noNamespaceSchemaLocation="DCWormsResSchema.xsd"><!--CoolEmAll testbed description--><resources>
+      <scheduler><!--Default scheduler--></scheduler>
+      <computingResource class="ComputeBox2" name="HLRS_SmallServerRoom">
+         <resourceUnit class="Storage" type="Disc Library">
+            <amount unit="MB">0</amount>
+            <parameter name="Interface">
+               <value>Interface</value>
+            </parameter>
+            <parameter name="Manufacturer">
+               <value>IBM</value>
+            </parameter>
+         </resourceUnit>
+         <profile>
+            <airThroughputProfile>
+               <parameter name="Class">
+                  <value>CRAH</value>
+               </parameter>
+               <parameter name="MaxPower">
+                  <value>0.0</value>
+               </parameter>
+            </airThroughputProfile>
+         </profile>
+         <profile>
+            <airThroughputProfile>
+               <airThroughputStates>
+                  <airThroughputState>
+                     <name>StateONE</name>
+                     <value>1.5</value>
+                     <powerUsage>2</powerUsage>
+                     <parameter name="ToState">
+                        <value>StateTWO</value>
+                     </parameter>
+                     <parameter name="PowerUsage">
+                        <value>5</value>
+                     </parameter>
+                     <parameter name="Time">
+                        <value>2</value>
+                     </parameter>
+                  </airThroughputState>
+                  <airThroughputState>
+                     <name>StateTWO</name>
+                     <value>2.5</value>
+                     <powerUsage>3</powerUsage>
+                     <parameter name="ToState">
+                        <value>StateONE</value>
+                     </parameter>
+                     <parameter name="PowerUsage">
+                        <value>4</value>
+                     </parameter>
+                     <parameter name="Time">
+                        <value>6</value>
+                     </parameter>
+                  </airThroughputState>
+               </airThroughputStates>
+               <parameter name="Class">
+                  <value>CRAH</value>
+               </parameter>
+               <parameter name="MaxCoolingCapacity">
+                  <value>60000000</value>
+               </parameter>
+               <parameter name="MaxAirThroughput">
+                  <value>0.0</value>
+               </parameter>
+               <parameter name="MaxWaterThroughput">
+                  <value>0.0</value>
+               </parameter>
+               <parameter name="Manufacturer">
+                  <value>Manufacturer</value>
+               </parameter>
+               <parameter name="Product">
+                  <value>Product</value>
+               </parameter>
+               <parameter name="MaxPower">
+                  <value>0.0</value>
+               </parameter>
+            </airThroughputProfile>
+         </profile>
+         <parameter name="Manufacturer">
+            <value>HLRS</value>
+         </parameter>
+         <parameter name="Product">
+            <value>SmallServerRoom</value>
+         </parameter>
+         <parameter name="MaxPower">
+            <value>200000</value>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+            <property name="MinValue">
+               <value>0.0</value>
+            </property>
+            <property name="MaxValue">
+               <value>110.0</value>
+            </property>
+            <property name="Factor">
+               <value>1.0</value>
+            </property>
+            <property name="Accuracy">
+               <value>10.0</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+            <property name="MinValue">
+               <value>0.0</value>
+            </property>
+            <property name="MaxValue">
+               <value>110.0</value>
+            </property>
+            <property name="Factor">
+               <value>1.0</value>
+            </property>
+            <property name="Accuracy">
+               <value>10.0</value>
+            </property>
+         </parameter>
+         <parameter name="location">
+            <value>Room Nr. xxxx, Allmandring 30, 70569 Stuttgart, Germany</value>
+         </parameter>
+         <computingResource class="ComputeBox1" name="Rack01"/>
+         <computingResource class="ComputeBox1" name="Rack02"/>
+         <computingResource class="ComputeBox1" name="Rack04"/>
+         <computingResource class="ComputeBox1" name="Rack03"/>
+         <computingResource class="ComputeBox1" name="Rack05"/>
+         <computingResource class="ComputeBox1" name="Rack06"/>
+         <computingResource class="ComputeBox1" name="Rack07"/>
+         <computingResource class="ComputeBox1" name="Rack08"/>
+         <computingResource class="ComputeBox1" name="Rack09"/>
+         <computingResource class="ComputeBox1" name="Rack10"/>
+         <computingResource class="ComputeBox1" name="Rack11">
+            <resourceUnit class="Storage" type="Diverse">
+               <amount unit="MB">6000</amount>
+               <parameter name="Interface">
+                  <value>2*GBit Ethernet</value>
+               </parameter>
+               <parameter name="Manufacturer">
+                  <value>Christmann</value>
+               </parameter>
+               <parameter name="MaxPower">
+                  <value>350.0</value>
+               </parameter>
+            </resourceUnit>
+            <parameter name="Manufacturer">
+               <value>NEC</value>
+            </parameter>
+            <parameter name="Sensor">
+               <property name="Class">
+                  <value>Temperature</value>
+               </property>
+               <property name="Unit">
+                  <value>Â°C</value>
+               </property>
+            </parameter>
+            <parameter name="label">
+               <value>GAMES Rack</value>
+            </parameter>
+            <computingResource class="Node" name="Rack70"/>
+            <computingResource class="NodeGroup" name="Rack71">
+               <parameter name="Manufacturer">
+                  <value>Christmann</value>
+               </parameter>
+               <parameter name="Product">
+                  <value>RECS</value>
+               </parameter>
+               <parameter name="MaxPower">
+                  <value>0.0</value>
+               </parameter>
+               <parameter name="PowerSupply">
+                  <property name="Manufacturer">
+                     <value>Block</value>
+                  </property>
+                  <property name="Product">
+                     <value>PVSE230/12-15</value>
+                  </property>
+                  <property name="MaxPower">
+                     <value>0.0</value>
+                  </property>
+               </parameter>
+               <parameter name="hostname">
+                  <value>gamescontroller.hlrs.de</value>
+               </parameter>
+               <computingResource class="Node" name="Node1">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n001</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node2">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n002</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node3">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n003</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node4">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n004</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node5">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n005</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node6">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n006</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node7">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n007</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node8">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n008</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node9">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n009</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node10">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n010</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node11">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n011</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node12">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n012</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node13">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n013</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node14">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n014</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node15">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n015</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node16">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n016</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node17">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n017</value>
+                  </parameter>
+               </computingResource>
+               <computingResource class="Node" name="Node18">
+                  <resourceUnit class="Memory">
+                     <amount>4096</amount>
+                  </resourceUnit>
+                  <parameter name="Manufacturer">
+                     <value>Congatec</value>
+                  </parameter>
+                  <parameter name="Product">
+                     <value>conga-BM45/P8400</value>
+                  </parameter>
+                  <parameter name="Baseboard">
+                     <property name="Manufacturer">
+                        <value>Congatec</value>
+                     </property>
+                     <property name="Product">
+                        <value>conga-BM45</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Temperature</value>
+                     </property>
+                     <property name="Unit">
+                        <value>Â°C</value>
+                     </property>
+                  </parameter>
+                  <parameter name="Sensor">
+                     <property name="Class">
+                        <value>Power</value>
+                     </property>
+                     <property name="Unit">
+                        <value>W</value>
+                     </property>
+                  </parameter>
+                  <computingResource class="Processor">
+                     <parameter name="Manufacturer">
+                        <value>Intel</value>
+                     </parameter>
+                     <parameter name="Product">
+                        <value>Core 2 Duo P8400</value>
+                     </parameter>
+                     <parameter name="MaxPower">
+                        <value>25.0</value>
+                     </parameter>
+                     <parameter name="MaxClockSpeed">
+                        <value>2267</value>
+                     </parameter>
+                  </computingResource>
+                  <parameter name="hostname">
+                     <value>n018</value>
+                  </parameter>
+               </computingResource>
+            </computingResource>
+         </computingResource>
+         <computingResource class="ComputeBox1" name="Rack12"/>
+         <computingResource class="ComputeBox1" name="Rack13"/>
+         <computingResource class="ComputeBox1" name="Rack14"/>
+         <computingResource class="ComputeBox1" name="Rack24"/>
+         <computingResource class="ComputeBox1" name="Rack25"/>
+         <computingResource class="ComputeBox1" name="Rack27"/>
+         <computingResource class="ComputeBox1" name="Rack28"/>
+         <computingResource class="ComputeBox1" name="Rack37"/>
+         <computingResource class="ComputeBox1" name="Rack38"/>
+         <computingResource class="ComputeBox1" name="Rack15"/>
+         <computingResource class="ComputeBox1" name="Rack16"/>
+         <computingResource class="ComputeBox1" name="Rack17"/>
+         <computingResource class="ComputeBox1" name="Rack18"/>
+         <computingResource class="ComputeBox1" name="Rack19"/>
+         <computingResource class="ComputeBox1" name="Rack20"/>
+         <computingResource class="ComputeBox1" name="Rack21"/>
+         <computingResource class="ComputeBox1" name="Rack22"/>
+         <computingResource class="ComputeBox1" name="Rack23"/>
+         <computingResource class="ComputeBox1" name="Rack26"/>
+         <computingResource class="ComputeBox1" name="Rack29"/>
+         <computingResource class="ComputeBox1" name="Rack30"/>
+         <computingResource class="ComputeBox1" name="Rack31"/>
+         <computingResource class="ComputeBox1" name="Rack32"/>
+         <computingResource class="ComputeBox1" name="Rack33"/>
+         <computingResource class="ComputeBox1" name="Rack34"/>
+         <computingResource class="ComputeBox1" name="Rack35"/>
+         <computingResource class="ComputeBox1" name="Rack36"/>
+         <computingResource class="ComputeBox1" name="Rack39"/>
+         <computingResource class="ComputeBox1" name="Rack40"/>
+         <computingResource class="ComputeBox1" name="Rack41"/>
+         <computingResource class="ComputeBox1" name="Rack42"/>
+         <computingResource class="ComputeBox1" name="Rack43"/>
+         <computingResource class="ComputeBox1" name="Rack44"/>
+         <computingResource class="ComputeBox1" name="Rack45"/>
+         <computingResource class="ComputeBox1" name="Rack46"/>
+         <computingResource class="ComputeBox1" name="Rack47"/>
+         <computingResource class="ComputeBox1" name="Rack48"/>
+         <computingResource class="ComputeBox1" name="Rack49"/>
+         <computingResource class="ComputeBox1" name="Rack50"/>
+         <computingResource class="ComputeBox1" name="Rack51"/>
+      </computingResource>
+   </resources>
+</environment>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/Test.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/Test.xml	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/Test.xml	(revision 611)
@@ -0,0 +1,1 @@
+<?xml version="1.0" encoding="UTF-8"?><ComponentId>hlrs_smallServerRoom</ComponentId>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/example5.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/example5.xml	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/example5.xml	(revision 611)
@@ -0,0 +1,434 @@
+<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+	xsi:noNamespaceSchemaLocation="../../XSSimResSchema.xsd">
+
+	
+	<!-- CoolEmAll testbed description 
+	P-States characteristics are fabricated-->
+	<resources>
+		<computingResource class="Rack" name="rack">
+			<resourceUnit class="Storage">
+				<amount unit="MB">4915200</amount>
+				<parameter name=""></parameter>
+			</resourceUnit>
+			<parameter name="PSU">
+				<property name="powerUsage">
+					<value unit="W">180</value>
+				</property>
+			</parameter>
+			<computingResource class="RECS" name="recs1">
+				<location>
+					<horizontal>0</horizontal>
+					<vertical>0</vertical>
+					<depth>0</depth>
+				</location>
+				<computingResource class="ComputingNode" count="18">
+					<resourceUnit class="Memory">
+						<amount unit="MB">16384</amount>
+					</resourceUnit>
+					<profile>
+						<powerProfile>
+							<powerStates>
+								<powerState>
+									<name>ON</name>
+									<powerUsage unit="W">400</powerUsage>
+								</powerState>
+								<powerState>
+									<name>OFF</name>
+									<powerUsage unit="W">0</powerUsage>
+								</powerState>
+							</powerStates>
+						</powerProfile>
+						<airThroughputProfile>
+							<airThroughputStates>
+								<airThroughputState>
+									<name>mode1</name>
+									<value unit="m3/h">105</value>
+									<powerUsage unit="W">10.3</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode2</name>
+									<value unit="m3/h">110</value>
+									<powerUsage unit="W">10.9</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode3</name>
+									<value unit="m3/h">115</value>
+									<powerUsage unit="W">11.4</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode4</name>
+									<value unit="m3/h">120</value>
+									<powerUsage unit="W">12.1</powerUsage>
+								</airThroughputState>
+							</airThroughputStates>
+						</airThroughputProfile>
+					</profile>
+					<computingResource class="Processor" type="i7">
+						<parameter name="speed">
+							<value>2</value>
+						</parameter>
+						<profile>
+							<powerProfile>
+								<parameter name="pState">
+									<property name="name">
+										<value>P0</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">3600</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.4</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">103</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P1</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">3400</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.35</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">94</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P2</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">3200</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.3</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">85</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P3</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">3000</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.25</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">76</value>
+									</property>						
+								</parameter>		
+							</powerProfile>
+						</profile>
+						<computingResource class="Core" count="4"/>
+					</computingResource>
+				</computingResource>
+			</computingResource>
+			<computingResource class="RECS" name="recs2">
+				<location>
+					<horizontal>0</horizontal>
+					<vertical>1</vertical>
+					<depth>0</depth>
+				</location>
+				<computingResource class="ComputingNode" count="18">
+					<resourceUnit class="Memory">
+						<amount unit="MB">4096</amount>
+					</resourceUnit>
+					<profile>
+						<powerProfile>
+							<powerStates>
+								<powerState>
+									<name>ON</name>
+									<powerUsage unit="W">360</powerUsage>
+								</powerState>
+								<powerState>
+									<name>OFF</name>
+									<powerUsage unit="W">0</powerUsage>
+								</powerState>
+							</powerStates>
+						</powerProfile>
+						<airThroughputProfile>
+							<airThroughputStates>
+								<airThroughputState>
+									<name>mode1</name>
+									<value unit="m3/h">105</value>
+									<powerUsage unit="W">10.3</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode2</name>
+									<value unit="m3/h">110</value>
+									<powerUsage unit="W">10.9</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode3</name>
+									<value unit="m3/h">115</value>
+									<powerUsage unit="W">11.4</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode4</name>
+									<value unit="m3/h">120</value>
+									<powerUsage unit="W">12.1</powerUsage>
+								</airThroughputState>
+							</airThroughputStates>
+						</airThroughputProfile>
+					</profile>
+					<computingResource class="Processor" type="Atom">
+						<profile>
+							<powerProfile>
+								<parameter name="pState">
+									<property name="name">
+										<value>P0</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">1100</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.16</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">45</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P1</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">1000</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.14</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">40</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P2</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">900</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.12</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">35</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P3</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">800</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.1</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">30</value>
+									</property>						
+								</parameter>		
+							</powerProfile>
+						</profile>
+						<computingResource class="Core" count="2"/>
+					</computingResource>
+				</computingResource>
+			</computingResource>
+			<computingResource class="RECS" name="recs3">
+				<location>
+					<horizontal>0</horizontal>
+					<vertical>2</vertical>
+					<depth>0</depth>
+				</location>
+				<computingResource class="ComputingNode" count="18">
+					<resourceUnit class="Memory">
+						<amount unit="MB">2048</amount>
+					</resourceUnit>
+					<profile>
+						<powerProfile>
+							<powerStates>
+								<powerState>
+									<name>ON</name>
+									<powerUsage unit="W">300</powerUsage>
+								</powerState>
+								<powerState>
+									<name>OFF</name>
+									<powerUsage unit="W">0</powerUsage>
+								</powerState>
+							</powerStates>
+						</powerProfile>
+						<airThroughputProfile>
+							<airThroughputStates>
+								<airThroughputState>
+									<name>mode1</name>
+									<value unit="m3/h">105</value>
+									<powerUsage unit="W">10.3</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode2</name>
+									<value unit="m3/h">110</value>
+									<powerUsage unit="W">10.9</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode3</name>
+									<value unit="m3/h">115</value>
+									<powerUsage unit="W">11.4</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode4</name>
+									<value unit="m3/h">120</value>
+									<powerUsage unit="W">12.1</powerUsage>
+								</airThroughputState>
+							</airThroughputStates>
+						</airThroughputProfile>
+					</profile>
+					<computingResource class="Processor" type="AMD Fusion">
+						<profile>
+							<powerProfile>
+								<parameter name="pState">
+									<property name="name">
+										<value>P0</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">1000</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.15</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">30</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P1</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">866</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.1</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">25</value>
+									</property>						
+								</parameter>		
+							</powerProfile>
+						</profile>
+						<computingResource class="Core" count="2"/>
+					</computingResource>
+				</computingResource>
+			</computingResource>
+			<computingResource class="RECS" name="recs4">
+			 	<location>
+					<horizontal>0</horizontal>
+					<vertical>3</vertical>
+					<depth>0</depth>
+				</location>
+				<computingResource class="ComputingNode" count="18">
+					<resourceUnit class="Memory">
+						<amount unit="MB">2048</amount>
+					</resourceUnit>
+					<profile>
+						<powerProfile>
+							<powerStates>
+								<powerState>
+									<name>ON</name>
+									<powerUsage unit="W">100</powerUsage>
+								</powerState>
+								<powerState>
+									<name>HIBERNATE</name>
+									<powerUsage unit="W">20</powerUsage>
+								</powerState>
+								<powerState>
+									<name>OFF</name>
+									<powerUsage unit="W">0</powerUsage>
+								</powerState>
+							</powerStates>
+						</powerProfile>
+						<airThroughputProfile>
+							<airThroughputStates>
+								<airThroughputState>
+									<name>mode1</name>
+									<value unit="m3/h">105</value>
+									<powerUsage unit="W">10.3</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode2</name>
+									<value unit="m3/h">110</value>
+									<powerUsage unit="W">10.9</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode3</name>
+									<value unit="m3/h">115</value>
+									<powerUsage unit="W">11.4</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode4</name>
+									<value unit="m3/h">120</value>
+									<powerUsage unit="W">12.1</powerUsage>
+								</airThroughputState>
+							</airThroughputStates>
+						</airThroughputProfile>
+					</profile>
+					<computingResource class="Processor" type="ARM">
+						<profile>
+							<powerProfile>
+								<parameter name="pState">
+									<property name="name">
+										<value>P0</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">1000</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.05</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">6</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P1</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">866</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.01</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">4</value>
+									</property>						
+								</parameter>		
+							</powerProfile>
+						</profile>
+						<computingResource class="Core"/>
+					</computingResource>
+				</computingResource>
+			</computingResource>
+		</computingResource>
+
+		<scheduler class="Cluster" name="cluster">
+			<schedulingPlugin>
+				<name>FCFSLocalSchedulingPlugin</name>
+			</schedulingPlugin>		
+			<managedComputingResources include="false">
+				<resourceName>rack</resourceName>
+			</managedComputingResources>
+		</scheduler>
+
+	</resources>
+	
+</environment>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/example5 (1).xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/example5 (1).xml	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/example5 (1).xml	(revision 611)
@@ -0,0 +1,435 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+	xsi:noNamespaceSchemaLocation="DCWormsResSchema.xsd">
+
+	
+	<!-- CoolEmAll testbed description 
+	P-States characteristics are fabricated-->
+	<resources>
+		<computingResource class="Rack" name="rack">
+			<resourceUnit class="Storage">
+				<amount unit="MB">4915200</amount>
+				<parameter name=""></parameter>
+			</resourceUnit>
+			<parameter name="PSU">
+				<property name="powerUsage">
+					<value unit="W">180</value>
+				</property>
+			</parameter>
+			<computingResource class="RECS" name="recs1">
+				<location>
+					<horizontal>0</horizontal>
+					<vertical>0</vertical>
+					<depth>0</depth>
+				</location>
+				<computingResource class="ComputingNode" count="18">
+					<resourceUnit class="Memory">
+						<amount unit="MB">16384</amount>
+					</resourceUnit>
+					<profile>
+						<powerProfile>
+							<powerStates>
+								<powerState>
+									<name>ON</name>
+									<powerUsage unit="W">400</powerUsage>
+								</powerState>
+								<powerState>
+									<name>OFF</name>
+									<powerUsage unit="W">0</powerUsage>
+								</powerState>
+							</powerStates>
+						</powerProfile>
+						<airThroughputProfile>
+							<airThroughputStates>
+								<airThroughputState>
+									<name>mode1</name>
+									<value unit="m3/h">105</value>
+									<powerUsage unit="W">10.3</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode2</name>
+									<value unit="m3/h">110</value>
+									<powerUsage unit="W">10.9</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode3</name>
+									<value unit="m3/h">115</value>
+									<powerUsage unit="W">11.4</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode4</name>
+									<value unit="m3/h">120</value>
+									<powerUsage unit="W">12.1</powerUsage>
+								</airThroughputState>
+							</airThroughputStates>
+						</airThroughputProfile>
+					</profile>
+					<computingResource class="Processor" type="i7">
+						<parameter name="speed">
+							<value>2</value>
+						</parameter>
+						<profile>
+							<powerProfile>
+								<parameter name="pState">
+									<property name="name">
+										<value>P0</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">3600</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.4</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">103</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P1</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">3400</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.35</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">94</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P2</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">3200</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.3</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">85</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P3</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">3000</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.25</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">76</value>
+									</property>						
+								</parameter>		
+							</powerProfile>
+						</profile>
+						<computingResource class="Core" count="4"/>
+					</computingResource>
+				</computingResource>
+			</computingResource>
+			<computingResource class="RECS" name="recs2">
+				<location>
+					<horizontal>0</horizontal>
+					<vertical>1</vertical>
+					<depth>0</depth>
+				</location>
+				<computingResource class="ComputingNode" count="18">
+					<resourceUnit class="Memory">
+						<amount unit="MB">4096</amount>
+					</resourceUnit>
+					<profile>
+						<powerProfile>
+							<powerStates>
+								<powerState>
+									<name>ON</name>
+									<powerUsage unit="W">360</powerUsage>
+								</powerState>
+								<powerState>
+									<name>OFF</name>
+									<powerUsage unit="W">0</powerUsage>
+								</powerState>
+							</powerStates>
+						</powerProfile>
+						<airThroughputProfile>
+							<airThroughputStates>
+								<airThroughputState>
+									<name>mode1</name>
+									<value unit="m3/h">105</value>
+									<powerUsage unit="W">10.3</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode2</name>
+									<value unit="m3/h">110</value>
+									<powerUsage unit="W">10.9</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode3</name>
+									<value unit="m3/h">115</value>
+									<powerUsage unit="W">11.4</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode4</name>
+									<value unit="m3/h">120</value>
+									<powerUsage unit="W">12.1</powerUsage>
+								</airThroughputState>
+							</airThroughputStates>
+						</airThroughputProfile>
+					</profile>
+					<computingResource class="Processor" type="Atom">
+						<profile>
+							<powerProfile>
+								<parameter name="pState">
+									<property name="name">
+										<value>P0</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">1100</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.16</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">45</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P1</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">1000</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.14</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">40</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P2</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">900</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.12</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">35</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P3</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">800</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.1</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">30</value>
+									</property>						
+								</parameter>		
+							</powerProfile>
+						</profile>
+						<computingResource class="Core" count="2"/>
+					</computingResource>
+				</computingResource>
+			</computingResource>
+			<computingResource class="RECS" name="recs3">
+				<location>
+					<horizontal>0</horizontal>
+					<vertical>2</vertical>
+					<depth>0</depth>
+				</location>
+				<computingResource class="ComputingNode" count="18">
+					<resourceUnit class="Memory">
+						<amount unit="MB">2048</amount>
+					</resourceUnit>
+					<profile>
+						<powerProfile>
+							<powerStates>
+								<powerState>
+									<name>ON</name>
+									<powerUsage unit="W">300</powerUsage>
+								</powerState>
+								<powerState>
+									<name>OFF</name>
+									<powerUsage unit="W">0</powerUsage>
+								</powerState>
+							</powerStates>
+						</powerProfile>
+						<airThroughputProfile>
+							<airThroughputStates>
+								<airThroughputState>
+									<name>mode1</name>
+									<value unit="m3/h">105</value>
+									<powerUsage unit="W">10.3</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode2</name>
+									<value unit="m3/h">110</value>
+									<powerUsage unit="W">10.9</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode3</name>
+									<value unit="m3/h">115</value>
+									<powerUsage unit="W">11.4</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode4</name>
+									<value unit="m3/h">120</value>
+									<powerUsage unit="W">12.1</powerUsage>
+								</airThroughputState>
+							</airThroughputStates>
+						</airThroughputProfile>
+					</profile>
+					<computingResource class="Processor" type="AMD Fusion">
+						<profile>
+							<powerProfile>
+								<parameter name="pState">
+									<property name="name">
+										<value>P0</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">1000</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.15</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">30</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P1</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">866</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.1</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">25</value>
+									</property>						
+								</parameter>		
+							</powerProfile>
+						</profile>
+						<computingResource class="Core" count="2"/>
+					</computingResource>
+				</computingResource>
+			</computingResource>
+			<computingResource class="RECS" name="recs4">
+			 	<location>
+					<horizontal>0</horizontal>
+					<vertical>3</vertical>
+					<depth>0</depth>
+				</location>
+				<computingResource class="ComputingNode" count="18">
+					<resourceUnit class="Memory">
+						<amount unit="MB">2048</amount>
+					</resourceUnit>
+					<profile>
+						<powerProfile>
+							<powerStates>
+								<powerState>
+									<name>ON</name>
+									<powerUsage unit="W">100</powerUsage>
+								</powerState>
+								<powerState>
+									<name>HIBERNATE</name>
+									<powerUsage unit="W">20</powerUsage>
+								</powerState>
+								<powerState>
+									<name>OFF</name>
+									<powerUsage unit="W">0</powerUsage>
+								</powerState>
+							</powerStates>
+						</powerProfile>
+						<airThroughputProfile>
+							<airThroughputStates>
+								<airThroughputState>
+									<name>mode1</name>
+									<value unit="m3/h">105</value>
+									<powerUsage unit="W">10.3</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode2</name>
+									<value unit="m3/h">110</value>
+									<powerUsage unit="W">10.9</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode3</name>
+									<value unit="m3/h">115</value>
+									<powerUsage unit="W">11.4</powerUsage>
+								</airThroughputState>
+								<airThroughputState>
+									<name>mode4</name>
+									<value unit="m3/h">120</value>
+									<powerUsage unit="W">12.1</powerUsage>
+								</airThroughputState>
+							</airThroughputStates>
+						</airThroughputProfile>
+					</profile>
+					<computingResource class="Processor" type="ARM">
+						<profile>
+							<powerProfile>
+								<parameter name="pState">
+									<property name="name">
+										<value>P0</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">1000</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.05</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">6</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P1</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">866</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">1.01</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">4</value>
+									</property>						
+								</parameter>		
+							</powerProfile>
+						</profile>
+						<computingResource class="Core"/>
+					</computingResource>
+				</computingResource>
+			</computingResource>
+		</computingResource>
+
+		<scheduler class="Cluster" name="cluster">
+			<schedulingPlugin>
+				<name>FCFSLocalSchedulingPlugin</name>
+			</schedulingPlugin>		
+			<managedComputingResources include="false">
+				<resourceName>rack</resourceName>
+			</managedComputingResources>
+		</scheduler>
+
+	</resources>
+	
+</environment>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/CoolingDeviceExample.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/CoolingDeviceExample.xml	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/CoolingDeviceExample.xml	(revision 611)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CoolingDevice>
+    <ComponentId>hlrs_sSr_RoomCoolingDevice</ComponentId>
+    <Manufacturer>Manufacturer</Manufacturer>
+    <Product>Product</Product>
+    <MaxPower>0.0</MaxPower>
+    <Class>CRAH</Class>
+    <MaxCoolingCapacity>60000000</MaxCoolingCapacity>
+    <MaxAirThroughput>0.0</MaxAirThroughput>
+    <MaxWaterThroughput>0.0</MaxWaterThroughput>
+    <ThroughputProfile>
+        <FlowState>
+            <State>StateONE</State>
+            <Flow>1.5</Flow>
+            <PowerUsage>2</PowerUsage>
+            <Transition>
+                <ToState>StateTWO</ToState>
+                <PowerUsage>5</PowerUsage>
+                <Time>2</Time>
+            </Transition>
+            <State>StateTWO</State>
+            <Flow>2.5</Flow>
+            <PowerUsage>3</PowerUsage>
+           <Transition>
+                <ToState>StateONE</ToState>
+                <PowerUsage>4</PowerUsage>
+                <Time>6</Time>
+            </Transition>                            
+        </FlowState    
+    </ThroughputProfile>    
+</CoolingDevice>    
+
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources1.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources1.xml	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources1.xml	(revision 611)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+	xsi:noNamespaceSchemaLocation="../../simulator/schemas/resources/DCWormsResSchema.xsd">
+	
+	<!-- Simple data center description -->
+	<resources>
+		<computingResource class="DataCenter" name="compRes">
+			<!-- Defined data center contains only 6 processors -->
+			<computingResource class="Processor" count="6"/>
+		</computingResource>
+		<scheduler class="Cluster" name="cluster">
+			<!-- Definition of scheduling plugin at cluster level -->
+			<schedulingPlugin>
+				<name>example.localplugin.FCFSBF_LocalPlugin</name>
+			</schedulingPlugin>	
+			<!-- Reference to managed resources - cluster manages resources belonging to the defined data center -->
+			<managedComputingResources include="false">
+				<resourceName>compRes</resourceName>
+			</managedComputingResources>
+		</scheduler>	
+	</resources>
+
+</environment>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources2.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources2.xml	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources2.xml	(revision 611)
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+	xsi:noNamespaceSchemaLocation="../../simulator/schemas/resources/DCWormsResSchema.xsd">
+	
+	<!-- Data center description with some basic characteristics -->
+	<resources>
+		<computingResource class="DataCenter" name="compRes">
+			<!-- Defined data center contains only 1 rack (if count attribute is not specified a default value=1 is assumed)-->
+			<computingResource class="Rack">
+				<!-- Rack contains storage device with capacity=1000000 (unit according to the user interpretation)-->
+				<resourceUnit class="storage">
+					<amount>1000000</amount>
+				</resourceUnit>
+				<!-- Rack consists of 12 computing nodes, 8 of one type and 4 of another -->
+				<computingResource class="ComputingNode" count="8">
+					<!-- Each of 8 computing nodes contains memory unit=16384 (unit according to the user interpretation)-->
+					<resourceUnit class="memory">
+						<amount>16384</amount>
+					</resourceUnit>
+					<!-- Each of 8 computing nodes contains 2 processors with processing speed=1 MIPS-->
+					<computingResource class="Processor" count="2">
+						<parameter name="speed">
+							<value>1</value>
+						</parameter>
+					</computingResource>
+				</computingResource>	
+				<computingResource class="ComputingNode" count="4">
+					<!-- Each of 4 computing nodes contains memory unit=65536(unit according to the user interpretation)-->
+					<resourceUnit class="memory">
+						<amount>65536</amount>
+					</resourceUnit>
+					<!-- Each of 4 computing nodes contains 2 processors with processing speed=2 MIPS-->
+					<computingResource class="Processor" count="2">
+						<parameter name="speed">
+							<value>2</value>
+						</parameter>
+					</computingResource>
+				</computingResource>		
+			</computingResource>
+		</computingResource>
+		<scheduler class="Cluster" name="cluster">
+			<!-- Definition of scheduling plugin at cluster level -->
+			<schedulingPlugin>
+				<name>example.localplugin.FCFSBF_ClusterPlugin</name>
+			</schedulingPlugin>		
+			<!-- Definition of available queues-->
+			<queues>
+				<queue>
+					<name>queue1</name>
+					<priority>1</priority>
+				</queue>
+				<queue>
+					<name>queue2</name>
+					<priority>2</priority>
+				</queue>
+			</queues>	
+			<!-- Reference to managed resources - cluster manages defined rack and all resources belonging to it -->
+			<managedComputingResources include="true">
+				<resourceName>Rack_0</resourceName>
+			</managedComputingResources>
+		</scheduler>	
+	</resources>
+	
+</environment>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources3.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources3.xml	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources3.xml	(revision 611)
@@ -0,0 +1,213 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+	xsi:noNamespaceSchemaLocation="../../simulator/schemas/resources/DCWormsResSchema.xsd">
+	
+	<!-- Data Center description with energy parameters -->
+	<resources>
+		<computingResource class="DataCenter" name="compRes">
+			<!-- Defined data center contains only 1 rack (if count attribute is not specified a default value=1 is assumed) -->
+			<computingResource class="Rack">
+				<!-- Rack consists of 4 computing nodes, 2 of one type and 2 of another -->
+				<computingResource class="ComputingNode" count="2">
+					<profile>
+						<!-- Definition of computing node power profile -->
+						<powerProfile>
+							<!-- Reference to energy usage estimation plugin -->
+							<energyEstimationPlugin>
+								<name>example.energy.ComputingNodeEnergyEstimationPlugin</name>
+							</energyEstimationPlugin>
+							<!-- Definition of supported power states and corresponding power consumption -->	
+							<!-- Units according to the user interpretation, however statistics chart generator module by default express the values in Watts -->
+							<powerStates>
+								<powerState>
+									<name>ON</name>
+									<powerUsage>150</powerUsage>
+								</powerState>
+								<powerState>
+									<name>OFF</name>
+									<powerUsage>0</powerUsage>
+								</powerState>
+							</powerStates>				
+						</powerProfile>
+					</profile>
+					<!-- Each of 2 computing nodes contains 4 processors-->
+					<computingResource class="Processor" count="4">
+						<profile>
+							<!-- Definition of processor power profile -->
+							<powerProfile>
+								<!-- Reference to energy usage estimation plugin -->
+								<energyEstimationPlugin>
+									<name>example.energy.CPUEnergyEstimationPlugin</name>
+								</energyEstimationPlugin>		
+								<!-- Definition of supported p-states and corresponding frequency and voltage level and power consumption -->
+								<!-- Units according to the user interpretation, however, as far as power usage is concerned, statistics chart generator module by default express the values in Watts -->
+								<parameter name="pState">
+									<property name="name">
+										<value>P0</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">3000</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">0</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">350</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P1</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">2660</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">0</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">343</value>
+									</property>						
+								</parameter>	
+								<parameter name="pState">
+									<property name="name">
+										<value>P2</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">2330</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">0</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">337</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P3</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">2000</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">0</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">330</value>
+									</property>						
+								</parameter>								
+							</powerProfile>
+						</profile>
+					</computingResource>
+				</computingResource>	
+				<computingResource class="ComputingNode" count="2">
+					<profile>
+						<!-- Definition of computing node power profile -->
+						<powerProfile>
+							<!-- Reference to energy usage estimation plugin -->
+							<energyEstimationPlugin>
+								<name>example.energy.ComputingNodeEnergyEstimationPlugin</name>
+							</energyEstimationPlugin>	
+							<!-- Definition of supported power states and corresponding power consumption -->
+							<!-- Units according to the user interpretation, however statistics chart generator module by default express the values in Watts -->
+							<powerStates>
+								<powerState>
+									<name>ON</name>
+									<powerUsage>150</powerUsage>
+								</powerState>
+								<powerState>
+									<name>OFF</name>
+									<powerUsage>0</powerUsage>
+								</powerState>
+							</powerStates>				
+						</powerProfile>
+					</profile>
+					<!-- Each of 2 computing nodes contains 4 processors-->
+					<computingResource class="Processor" count="4">
+						<profile>
+							<!-- Definition of processor power profile -->
+							<powerProfile>
+								<!-- Reference to energy usage estimation plugin -->
+								<energyEstimationPlugin>
+									<name>example.energy.CPUEnergyEstimationPlugin</name>
+								</energyEstimationPlugin>	
+								<!-- Definition of supported p-states and corresponding frequency and voltage level and power consumption -->
+								<!-- Units according to the user interpretation, however, as far as power usage is concerned, statistics chart generator module by default express the values in Watts -->
+								<parameter name="pState">
+									<property name="name">
+										<value>P0</value>
+									</property>	
+									<property name="frequency">
+										<value unit="Hz">3000</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">0</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">350</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P1</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">2660</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">0</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">343</value>
+									</property>						
+								</parameter>	
+								<parameter name="pState">
+									<property name="name">
+										<value>P2</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">2330</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">0</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">337</value>
+									</property>						
+								</parameter>
+								<parameter name="pState">
+									<property name="name">
+										<value>P3</value>
+									</property>	
+									<property name="frequency">
+										<value unit="H`">2000</value>
+									</property>		
+									<property name="voltage">
+										<value unit="V">0</value>
+									</property>
+									<property name="powerUsage">
+										<value unit="W">330</value>
+									</property>						
+								</parameter>								
+							</powerProfile>
+						</profile>
+					</computingResource>
+				</computingResource>	
+			</computingResource>
+		</computingResource>
+		<scheduler class="Cluster" name="cluster">
+			<!-- Definition of scheduling plugin at cluster level -->
+			<!-- Switch between scheduling/power management plugins to observe the difference in power consumption -->
+			<schedulingPlugin>
+				<name>example.localplugin.FCFSBF_ClusterPlugin</name>
+				<!--  <name>example.localplugin.FCFSBF_DFSClusterPlugin</name> -->
+			</schedulingPlugin>
+			<!-- Reference to managed resources - cluster manages resources belonging to the defined data center -->
+			<managedComputingResources include="false">
+				<resourceName>compRes</resourceName>
+			</managedComputingResources>
+		</scheduler>	
+	</resources>
+
+</environment>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources4.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources4.xml	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/resources4.xml	(revision 611)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+	xsi:noNamespaceSchemaLocation="../../simulator/schemas/resources/DCWormsResSchema.xsd">
+	
+	<!-- Data Center description with energy parameters -->
+	<resources>
+		<computingResource class="DataCenter" name="compRes">
+			<!-- Data Center contains of 4 computing nodes belonging to two different classes (with different power consumption level)-->
+			<computingResource class="ComputingNode" count="2">
+				<!-- Defines the computing node category - information can be used by user to facilitate the resource management process within various plugins -->
+				<parameter name="category">
+					<value>A</value>
+				</parameter>
+				<profile>
+					<!-- Definition of computing node power profile -->
+					<powerProfile>
+						<!-- Reference to energy usage estimation plugin -->
+						<energyEstimationPlugin>
+							<name>example.energy.ComputingNodeEnergyEstimationPlugin</name>
+						</energyEstimationPlugin>	
+						<!-- Definition of supported power states and corresponding power consumption -->	
+						<!-- Units according to the user interpretation, however statistics chart generator module by default express the values in Watts -->
+						<powerStates>
+							<powerState>
+								<name>ON</name>
+								<powerUsage>750</powerUsage>
+							</powerState>
+							<powerState>
+								<name>OFF</name>
+								<powerUsage>0</powerUsage>
+							</powerState>
+						</powerStates>				
+					</powerProfile>
+				</profile>
+				<!-- Each of 2 computing nodes contains 4 processors-->
+				<computingResource class="Processor" count="4">
+				</computingResource>
+			</computingResource>	
+			<computingResource class="ComputingNode" count="2">
+				<!-- Defines the computing node category - information can be used by user to facilitate the resource management process within various plugins -->
+				<parameter name="category">
+					<value>B</value>
+				</parameter>
+				<profile>
+					<!-- Definition of computing node power profile -->
+					<powerProfile>
+						<!-- Reference to energy usage estimation plugin -->
+						<energyEstimationPlugin>
+							<name>example.energy.ComputingNodeEnergyEstimationPlugin</name>
+						</energyEstimationPlugin>
+						<!-- Definition of supported power states and corresponding power consumption -->	
+						<!-- Units according to the user interpretation, however statistics chart generator module by default express the values in Watts -->	
+						<powerStates>
+							<powerState>
+								<name>ON</name>
+								<powerUsage>850</powerUsage>
+							</powerState>
+							<powerState>
+								<name>OFF</name>
+								<powerUsage>0</powerUsage>
+							</powerState>
+						</powerStates>				
+					</powerProfile>
+				</profile>
+				<!-- Each of 2 computing nodes contains 4 processors-->
+				<computingResource class="Processor" count="4">
+				</computingResource>
+			</computingResource>	
+		</computingResource>
+		<scheduler class="Cluster" name="cluster">
+			<!-- Definition of scheduling plugin at cluster level -->
+			<!-- Switch between scheduling/power management plugins to observe the difference in power consumption -->
+			<schedulingPlugin>
+				<!-- <name>example.localplugin.FCFSBF_RandomClusterPlugin</name> -->
+				<name>example.localplugin.FCFSBF_NodePowerManagementClusterPlugin</name>
+			</schedulingPlugin>	
+			<!-- Reference to managed resources - cluster manages resources belonging to the defined data center -->
+			<managedComputingResources include="false">
+				<resourceName>compRes</resourceName>
+			</managedComputingResources>
+		</scheduler>	
+	</resources>
+
+</environment>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/DEBBComponents_TEST.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/DEBBComponents_TEST.xml	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/DEBBComponents_TEST.xml	(revision 611)
@@ -0,0 +1,641 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+             xsi:noNamespaceSchemaLocation="DCWormsResSchema.xsd">
+   <resources>
+      <scheduler/>
+      <computingResource class="ComputeBox2" name="hlrs_smallServerRoom">
+         <resourceUnit class="Storage" type="Disc Library">
+            <amount unit="MB">0</amount>
+            <parameter name="Interface">
+               <value>Interface</value>
+            </parameter>
+            <parameter name="Manufacturer">
+               <value>IBM</value>
+            </parameter>
+         </resourceUnit>
+         <profile>
+            <airThroughputProfile>
+               <parameter name="Class">
+                  <value>CRAH</value>
+               </parameter>
+               <parameter name="MaxPower">
+                  <value>0.0</value>
+               </parameter>
+            </airThroughputProfile>
+         </profile>
+         <profile>
+            <airThroughputProfile>
+               <airThroughputStates>
+                  <airThroughputState>
+                     <name>StateONE</name>
+                     <value>1.5</value>
+                     <powerUsage>2</powerUsage>
+                     <parameter name="ToState">
+                        <value>StateTWO</value>
+                     </parameter>
+                     <parameter name="PowerUsage">
+                        <value>5</value>
+                     </parameter>
+                     <parameter name="Time">
+                        <value>2</value>
+                     </parameter>
+                  </airThroughputState>
+                  <airThroughputState>
+                     <name>StateTWO</name>
+                     <value>2.5</value>
+                     <powerUsage>3</powerUsage>
+                     <parameter name="ToState">
+                        <value>StateONE</value>
+                     </parameter>
+                     <parameter name="PowerUsage">
+                        <value>4</value>
+                     </parameter>
+                     <parameter name="Time">
+                        <value>6</value>
+                     </parameter>
+                  </airThroughputState>
+               </airThroughputStates>
+               <parameter name="Class">
+                  <value>CRAH</value>
+               </parameter>
+               <parameter name="MaxCoolingCapacity">
+                  <value>60000000</value>
+               </parameter>
+               <parameter name="MaxAirThroughput">
+                  <value>0.0</value>
+               </parameter>
+               <parameter name="MaxWaterThroughput">
+                  <value>0.0</value>
+               </parameter>
+               <parameter name="Manufacturer">
+                  <value>Manufacturer</value>
+               </parameter>
+               <parameter name="Product">
+                  <value>Product</value>
+               </parameter>
+               <parameter name="MaxPower">
+                  <value>0.0</value>
+               </parameter>
+            </airThroughputProfile>
+         </profile>
+         <parameter name="Manufacturer">
+            <value>HLRS</value>
+         </parameter>
+         <parameter name="Product">
+            <value>SmallServerRoom</value>
+         </parameter>
+         <parameter name="MaxPower">
+            <value>200000</value>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+            <property name="MinValue">
+               <value>0.0</value>
+            </property>
+            <property name="MaxValue">
+               <value>110.0</value>
+            </property>
+            <property name="Factor">
+               <value>1.0</value>
+            </property>
+            <property name="Accuracy">
+               <value>10.0</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+            <property name="MinValue">
+               <value>0.0</value>
+            </property>
+            <property name="MaxValue">
+               <value>110.0</value>
+            </property>
+            <property name="Factor">
+               <value>1.0</value>
+            </property>
+            <property name="Accuracy">
+               <value>10.0</value>
+            </property>
+         </parameter>
+      </computingResource>
+      <computingResource class="ComputeBox1" name="gamesRack">
+         <resourceUnit class="Storage" type="Diverse">
+            <amount unit="MB">6000</amount>
+            <parameter name="Interface">
+               <value>2*GBit Ethernet</value>
+            </parameter>
+            <parameter name="Manufacturer">
+               <value>Christmann</value>
+            </parameter>
+            <parameter name="MaxPower">
+               <value>350.0</value>
+            </parameter>
+         </resourceUnit>
+         <parameter name="Manufacturer">
+            <value>NEC</value>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+         </parameter>
+      </computingResource>
+      <computingResource class="NodeGroup" name="RECS_Sirius">
+         <parameter name="Manufacturer">
+            <value>Christmann</value>
+         </parameter>
+         <parameter name="Product">
+            <value>RECS</value>
+         </parameter>
+         <parameter name="MaxPower">
+            <value>0.0</value>
+         </parameter>
+         <parameter name="PowerSupply">
+            <property name="Manufacturer">
+               <value>Block</value>
+            </property>
+            <property name="Product">
+               <value>PVSE230/12-15</value>
+            </property>
+            <property name="MaxPower">
+               <value>0.0</value>
+            </property>
+         </parameter>
+      </computingResource>
+      <computingResource class="Node" name="node_Core2Duo">
+         <resourceUnit class="Memory">
+            <amount>4096</amount>
+         </resourceUnit>
+         <parameter name="Manufacturer">
+            <value>Congatec</value>
+         </parameter>
+         <parameter name="Product">
+            <value>conga-BM45/P8400</value>
+         </parameter>
+         <parameter name="Baseboard">
+            <property name="Manufacturer">
+               <value>Congatec</value>
+            </property>
+            <property name="Product">
+               <value>conga-BM45</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Power</value>
+            </property>
+            <property name="Unit">
+               <value>W</value>
+            </property>
+         </parameter>
+         <computingResource class="Processor">
+            <parameter name="Manufacturer">
+               <value>Intel</value>
+            </parameter>
+            <parameter name="Product">
+               <value>Core 2 Duo P8400</value>
+            </parameter>
+            <parameter name="MaxPower">
+               <value>25.0</value>
+            </parameter>
+            <parameter name="MaxClockSpeed">
+               <value>2267</value>
+            </parameter>
+         </computingResource>
+      </computingResource>
+      <computingResource class="Node" name="node_i7/8GB">
+         <resourceUnit class="Memory">
+            <amount>8192</amount>
+         </resourceUnit>
+         <parameter name="Manufacturer">
+            <value>kontron</value>
+         </parameter>
+         <parameter name="Product">
+            <value>COMe-bSC2 i7-2715QE ECC</value>
+         </parameter>
+         <parameter name="MaxPower">
+            <value>0.0</value>
+         </parameter>
+         <parameter name="Baseboard">
+            <property name="Manufacturer">
+               <value>kontron</value>
+            </property>
+            <property name="Product">
+               <value>COMe-bSC2</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Power</value>
+            </property>
+            <property name="Unit">
+               <value>W</value>
+            </property>
+         </parameter>
+         <computingResource class="Processor">
+            <parameter name="Manufacturer">
+               <value>Intel</value>
+            </parameter>
+            <parameter name="Product">
+               <value>i7-2715QE</value>
+            </parameter>
+            <parameter name="MaxPower">
+               <value>45.0</value>
+            </parameter>
+            <parameter name="MaxClockSpeed">
+               <value>2100</value>
+            </parameter>
+         </computingResource>
+      </computingResource>
+      <computingResource class="Node" name="node_i7/16GB">
+         <resourceUnit class="Memory">
+            <amount>16384</amount>
+         </resourceUnit>
+         <parameter name="Manufacturer">
+            <value>kontron</value>
+         </parameter>
+         <parameter name="Product">
+            <value>COMe-bSC2 i7-2715QE ECC</value>
+         </parameter>
+         <parameter name="MaxPower">
+            <value>0.0</value>
+         </parameter>
+         <parameter name="Baseboard">
+            <property name="Manufacturer">
+               <value>kontron</value>
+            </property>
+            <property name="Product">
+               <value>COMe-bSC2</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Power</value>
+            </property>
+            <property name="Unit">
+               <value>W</value>
+            </property>
+         </parameter>
+         <computingResource class="Processor">
+            <parameter name="Manufacturer">
+               <value>Intel</value>
+            </parameter>
+            <parameter name="Product">
+               <value>i7-2715QE</value>
+            </parameter>
+            <parameter name="MaxPower">
+               <value>45.0</value>
+            </parameter>
+            <parameter name="MaxClockSpeed">
+               <value>2100</value>
+            </parameter>
+         </computingResource>
+      </computingResource>
+      <computingResource class="Node" name="node_FusionGT56N">
+         <resourceUnit class="Memory">
+            <amount>2048</amount>
+         </resourceUnit>
+         <parameter name="Manufacturer">
+            <value>Congatec</value>
+         </parameter>
+         <parameter name="Product">
+            <value>conga-BAF/T56N</value>
+         </parameter>
+         <parameter name="Baseboard">
+            <property name="Manufacturer">
+               <value>Congatec</value>
+            </property>
+            <property name="Product">
+               <value>conga-BAF</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Power</value>
+            </property>
+            <property name="Unit">
+               <value>W</value>
+            </property>
+         </parameter>
+         <computingResource class="Processor">
+            <parameter name="Manufacturer">
+               <value>AMD</value>
+            </parameter>
+            <parameter name="Product">
+               <value>Fusion G-T56N</value>
+            </parameter>
+            <parameter name="MaxPower">
+               <value>18.0</value>
+            </parameter>
+            <parameter name="MaxClockSpeed">
+               <value>1600</value>
+            </parameter>
+         </computingResource>
+      </computingResource>
+      <computingResource class="Node" name="node_FusionGT40N">
+         <resourceUnit class="Memory">
+            <amount>4096</amount>
+         </resourceUnit>
+         <parameter name="Manufacturer">
+            <value>Congatec</value>
+         </parameter>
+         <parameter name="Product">
+            <value>conga-BAF/T40N</value>
+         </parameter>
+         <parameter name="Baseboard">
+            <property name="Manufacturer">
+               <value>Congatec</value>
+            </property>
+            <property name="Product">
+               <value>conga-BAF</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Power</value>
+            </property>
+            <property name="Unit">
+               <value>W</value>
+            </property>
+         </parameter>
+         <computingResource class="Processor">
+            <parameter name="Manufacturer">
+               <value>AMD</value>
+            </parameter>
+            <parameter name="Product">
+               <value>Fusion G-T40N</value>
+            </parameter>
+            <parameter name="MaxPower">
+               <value>9.0</value>
+            </parameter>
+            <parameter name="MaxClockSpeed">
+               <value>800</value>
+            </parameter>
+         </computingResource>
+      </computingResource>
+      <computingResource class="Node" name="node_AtomZ530">
+         <resourceUnit class="Memory">
+            <amount>2048</amount>
+            <parameter name="Manufacturer">
+               <value>Kingston</value>
+            </parameter>
+            <parameter name="Product">
+               <value>KVR800D2S6/2G</value>
+            </parameter>
+         </resourceUnit>
+         <parameter name="Manufacturer">
+            <value>Toradex</value>
+         </parameter>
+         <parameter name="Product">
+            <value>Woodpecker Z530</value>
+         </parameter>
+         <parameter name="Baseboard">
+            <property name="Manufacturer">
+               <value>Toradex</value>
+            </property>
+            <property name="Product">
+               <value>Woodpecker Z5xx 1.1</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Power</value>
+            </property>
+            <property name="Unit">
+               <value>W</value>
+            </property>
+         </parameter>
+         <computingResource class="Processor">
+            <parameter name="Manufacturer">
+               <value>Intel</value>
+            </parameter>
+            <parameter name="Product">
+               <value>Atom Z530</value>
+            </parameter>
+            <parameter name="MaxPower">
+               <value>2.0</value>
+            </parameter>
+            <parameter name="MaxClockSpeed">
+               <value>1600</value>
+            </parameter>
+         </computingResource>
+      </computingResource>
+      <computingResource class="Node" name="node_AtomZ510">
+         <resourceUnit class="Memory">
+            <amount>2048</amount>
+            <parameter name="Manufacturer">
+               <value>Kingston</value>
+            </parameter>
+            <parameter name="Product">
+               <value>KVR800D2S6/2G</value>
+            </parameter>
+         </resourceUnit>
+         <parameter name="Manufacturer">
+            <value>Toradex</value>
+         </parameter>
+         <parameter name="Product">
+            <value>Woodpecker Z510</value>
+         </parameter>
+         <parameter name="Baseboard">
+            <property name="Manufacturer">
+               <value>Toradex</value>
+            </property>
+            <property name="Product">
+               <value>Woodpecker Z5xx 1.1</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Power</value>
+            </property>
+            <property name="Unit">
+               <value>W</value>
+            </property>
+         </parameter>
+         <computingResource class="Processor">
+            <parameter name="Manufacturer">
+               <value>Intel</value>
+            </parameter>
+            <parameter name="Product">
+               <value>Atom Z510</value>
+            </parameter>
+            <parameter name="MaxPower">
+               <value>2.0</value>
+            </parameter>
+            <parameter name="MaxClockSpeed">
+               <value>1600</value>
+            </parameter>
+         </computingResource>
+      </computingResource>
+      <computingResource class="Node" name="node_AtomD510">
+         <resourceUnit class="Memory">
+            <amount>4096</amount>
+         </resourceUnit>
+         <parameter name="Manufacturer">
+            <value>Manufacturer</value>
+         </parameter>
+         <parameter name="Product">
+            <value>Product</value>
+         </parameter>
+         <parameter name="Baseboard">
+            <property name="Manufacturer">
+               <value>Manufacturer</value>
+            </property>
+            <property name="Product">
+               <value>Product</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Temperature</value>
+            </property>
+            <property name="Unit">
+               <value>Â°C</value>
+            </property>
+         </parameter>
+         <parameter name="Sensor">
+            <property name="Class">
+               <value>Power</value>
+            </property>
+            <property name="Unit">
+               <value>W</value>
+            </property>
+         </parameter>
+         <computingResource class="Processor">
+            <parameter name="Manufacturer">
+               <value>Intel</value>
+            </parameter>
+            <parameter name="Product">
+               <value>Atom D510</value>
+            </parameter>
+            <parameter name="MaxPower">
+               <value>13.0</value>
+            </parameter>
+            <parameter name="MaxClockSpeed">
+               <value>1600</value>
+            </parameter>
+            <profile>
+               <powerProfile>
+                  <powerStates>
+                     <powerState>
+                        <name>0</name>
+                        <powerUsage>13.0</powerUsage>
+                        <transition>
+                           <to>1</to>
+                           <powerUsage>0.0</powerUsage>
+                           <time>0.001</time>
+                        </transition>
+                        <parameter name="Voltage">
+                           <value>0.0</value>
+                        </parameter>
+                        <parameter name="Frequency">
+                           <value>1600.0</value>
+                        </parameter>
+                     </powerState>
+                     <powerState>
+                        <name>1</name>
+                        <powerUsage>9.0</powerUsage>
+                        <transition>
+                           <to>0</to>
+                           <powerUsage>0.0</powerUsage>
+                           <time>0.001</time>
+                        </transition>
+                        <parameter name="Voltage">
+                           <value>0.0</value>
+                        </parameter>
+                        <parameter name="Frequency">
+                           <value>1400.0</value>
+                        </parameter>
+                     </powerState>
+                  </powerStates>
+               </powerProfile>
+            </profile>
+         </computingResource>
+      </computingResource>
+      <computingResource class="CoolingDevice" name="RECS_Sirius_Fan">
+         <parameter name="MaxPower">
+            <value>5.0</value>
+         </parameter>
+      </computingResource>
+      <computingResource class="CoolingDevice" name="hlrs_sSr_RoomCoolingDevice">
+         <parameter name="Manufacturer">
+            <value>Manufacturer</value>
+         </parameter>
+         <parameter name="Product">
+            <value>Product</value>
+         </parameter>
+         <parameter name="MaxPower">
+            <value>0.0</value>
+         </parameter>
+      </computingResource>
+   </resources>
+</environment>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/DEBBComponents.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/DEBBComponents.xml	(revision 557)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/DEBBComponents.xml	(revision 611)
@@ -14,4 +14,35 @@
 			<Class>CRAH</Class>
 		</CoolingDevice>
+		<CoolingDevice>
+			<Manufacturer>Manufacturer</Manufacturer>
+			<Product>Product</Product>
+			<MaxPower>0.0</MaxPower>
+			<Class>CRAH</Class>
+			<MaxCoolingCapacity>60000000</MaxCoolingCapacity>
+			<MaxAirThroughput>0.0</MaxAirThroughput>
+			<MaxWaterThroughput>0.0</MaxWaterThroughput>
+			<ThroughputProfile>
+				<FlowState>
+					<State>StateONE</State>
+					<Flow>1.5</Flow>
+					<PowerUsage>2</PowerUsage>
+					<Transition>
+						<ToState>StateTWO</ToState>
+						<PowerUsage>5</PowerUsage>
+						<Time>2</Time>
+					</Transition>
+				</FlowState>
+				<FlowState>
+					<State>StateTWO</State>
+					<Flow>2.5</Flow>
+					<PowerUsage>3</PowerUsage>
+					<Transition>
+						<ToState>StateONE</ToState>
+						<PowerUsage>4</PowerUsage>
+						<Time>6</Time>
+					</Transition>
+				</FlowState>
+			</ThroughputProfile>
+		</CoolingDevice>
 		<Sensor>
 			<Class>Temperature</Class>
@@ -63,5 +94,5 @@
 		<Product>RECS</Product>
 		<MaxPower>0.0</MaxPower>
-		
+
 		<!-- Repeating 18 times for all fans omitted -->
 		<PowerSupply>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/Ustalenia.txt
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/Ustalenia.txt	(revision 611)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/Ustalenia.txt	(revision 611)
@@ -0,0 +1,23 @@
+sensor
+
+storage
+
+baseboard
+
+memory
+
+cooling device
+
+processor
+
+DEBBComponent
+**************
+Baseboard - parameter
+Processor - computingResource
+Memory - resourceUnit
+Storage - resourceUnit
+CoolingDevice - parameter
+
+PLMXML
+**************
+Sensor - parameter
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/DCWormsResSchema.xsd
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/DCWormsResSchema.xsd	(revision 557)
+++ DCWoRMS/trunk/src/test/DEBBTranslator/xml/DCWormsResSchema.xsd	(revision 611)
@@ -299,5 +299,5 @@
 		<xs:sequence>
 			<xs:element name="airThroughputEstimationPlugin" type="airThroughputEstimationPluginType" minOccurs="0"></xs:element>
-			<xs:element name="airThroughputStates" type="airThroughputStatesType" minOccurs="0"></xs:element>
+			<xs:element name="airThroughputStates" type="airThroughputStatesType" minOccurs="0" maxOccurs="unbounded"></xs:element>
 			<xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element>
 		</xs:sequence>
@@ -311,4 +311,5 @@
 			<xs:element name="airThroughputState" type="airThroughputStateType" minOccurs="1" maxOccurs="unbounded"></xs:element>
 		</xs:sequence>
+		<xs:attribute name="name" type="xs:string" use="optional"/>
 	</xs:complexType>
 	
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/PLMXML_HLRSRECSv2.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/PLMXML_HLRSRECSv2.xml	(revision 557)
+++ 	(revision )
@@ -1,372 +1,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Edited for validating plmxml schema -->
-<PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"
-	xmlns:vis="PLMXMLTcVisSchema" schemaVersion="6" date="2012-07-16" time="11:30:47"
-	author="HLRS 0.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://www.plmxml.org/Schemas/PLMXMLSchema PLMXMLSchema.xsd">
-
-	<!-- Original <PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema" 
-		xmlns:vis="PLMXMLTcVisSchema" schemaVersion="6" date="2012-07-16" time="11:30:47" 
-		author="HLRS 0.1.0"> -->
-	<ProductDef id="id1">
-		<!-- The rootRefs is important and refers to the root ProductInstance (id). -->
-		<InstanceGraph id="id2" rootRefs="inst72_1">
-
-			<!-- Generic Description for all nodes of the same kind (here three types 
-				for HLRS second phase including geometry and reference to DEBBComponent type 
-				definition -->
-			<!-- To have distinct identifier for the different installations, idxx/instxx 
-				are used in a way that 71/72/.. is HLRS, 81/82/.. is PSNC. This is relevant 
-				for the Nodes within RECS and their views -->
-			<ProductRevisionView id="id72_01_1" name="NodeGeometry">
-				<UserData id="id72_01_2">
-					<UserValue value="Node" title="DEBBLevel"></UserValue>
-					<UserValue value="node_i7/8GB" title="DEBBComponentId"></UserValue>
-				</UserData>
-				<!-- The NodeBoard representation is probably the one for the Core2Duo 
-					Nodes, but since it is the only one available, it is used for all types of 
-					nodes within RECS -->
-				<Representation id="id1072_01_1" format="VRML"
-					location=".\objects\NodeBoard.wrl"></Representation>
-			</ProductRevisionView>
-			<ProductRevisionView id="id73_01_1" name="NodeGeometry">
-				<UserData id="id73_01_2">
-					<UserValue value="Node" title="DEBBLevel"></UserValue>
-					<UserValue value="node_FusionGT56N" title="DEBBComponentId"></UserValue>
-				</UserData>
-				<Representation id="id1073_01_1" format="VRML"
-					location=".\objects\NodeBoard.wrl"></Representation>
-			</ProductRevisionView>
-			<ProductRevisionView id="id74_01_1" name="NodeGeometry">
-				<UserData id="id74_01_2">
-					<UserValue value="Node" title="DEBBLevel"></UserValue>
-					<UserValue value="node_AtomZ530" title="DEBBComponentId"></UserValue>
-				</UserData>
-				<Representation id="id1074_01_1" format="VRML"
-					location=".\objects\NodeBoard.wrl"></Representation>
-			</ProductRevisionView>
-
-			<!-- Concrete description of a specific physical node including position 
-				(transform) and instance details (i.e. hostname) -->
-			<ProductInstance id="inst72_01_1" name="Node1"
-				partRef="#id72_01_1">
-				<UserData id="id72_01_1_1">
-					<!-- hostnames not align to Instance names since instance names are 
-						according to the naming in the RECS (right back to right front, then left 
-						front to left back), while the nodes of one type are grouped together back 
-						6 nodes one type, then the other type and the last type in front. As result 
-						nodes would be named out of their group what leads to irritations, therefore 
-						name them according to their group. So also clockwise as in the recs but 
-						only within the group -->
-					<UserValue value="n_i7_1" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_01">0
-					1 0 0 -1 0 0 0 0 0 1 0 0.175 0.084 0.005 1
-				</Transform>
-			</ProductInstance>
-			<!-- Same for the next node -->
-			<ProductInstance id="inst72_01_2" name="Node2"
-				partRef="#id72_01_1">
-				<UserData id="id72_01_2_1">
-					<UserValue value="n_i7_2" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_02">0 1 0 0 -1 0 0 0 0 0 1 0 0.175 0.194 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_3" name="Node3"
-				partRef="#id72_01_1">
-				<UserData id="id72_01_3_1">
-					<UserValue value="n_i7_3" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_03">0 1 0 0 -1 0 0 0 0 0 1 0 0.175 0.304 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_4" name="Node4"
-				partRef="#id73_01_1">
-				<UserData id="id72_01_4_1">
-					<UserValue value="n_a_1" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_04">0 1 0 0 -1 0 0 0 0 0 1 0 0.175 0.414 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_5" name="Node5"
-				partRef="#id73_01_1">
-				<UserData id="id72_01_5_1">
-					<UserValue value="n_a_2" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_05">0 1 0 0 -1 0 0 0 0 0 1 0 0.175 0.524 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_6" name="Node6"
-				partRef="#id73_01_1">
-				<UserData id="id72_01_6_1">
-					<UserValue value="n_a_3" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_06">0 1 0 0 -1 0 0 0 0 0 1 0 0.175 0.634 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_7" name="Node7"
-				partRef="#id74_01_1">
-				<UserData id="id72_01_7_1">
-					<UserValue value="n_f_1" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_07">0 1 0 0 -1 0 0 0 0 0 1 0 0.175 0.744 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_8" name="Node8"
-				partRef="#id74_01_1">
-				<UserData id="id72_01_8_1">
-					<UserValue value="n_f_2" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_08">0 1 0 0 -1 0 0 0 0 0 1 0 0.175 0.854 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_9" name="Node9"
-				partRef="#id74_01_1">
-				<UserData id="id72_01_9_1">
-					<UserValue value="n_f_3" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_09">0 1 0 0 -1 0 0 0 0 0 1 0 0.175 0.964 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_10" name="Node10"
-				partRef="#id74_01_1">
-				<UserData id="id72_01_10_1">
-					<UserValue value="n_f_4" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_10">0 -1 0 0 1 0 0 0 0 0 1 0 0.245 0.192 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_11" name="Node11"
-				partRef="#id74_01_1">
-				<UserData id="id72_01_11_1">
-					<UserValue value="n_f_5" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_11">0 -1 0 0 1 0 0 0 0 0 1 0 0.245 0.302 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_12" name="Node12"
-				partRef="#id74_01_1">
-				<UserData id="id72_01_12_1">
-					<UserValue value="n_f_6" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_12">0 -1 0 0 1 0 0 0 0 0 1 0 0.245 0.412 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_13" name="Node13"
-				partRef="#id73_01_1">
-				<UserData id="id72_01_13_1">
-					<UserValue value="n_a_4" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_13">0 -1 0 0 1 0 0 0 0 0 1 0 0.245 0.522 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_14" name="Node14"
-				partRef="#id73_01_1">
-				<UserData id="id72_01_14_1">
-					<UserValue value="n_a_5" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_14">0 -1 0 0 1 0 0 0 0 0 1 0 0.245 0.632 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_15" name="Node15"
-				partRef="#id73_01_1">
-				<UserData id="id72_01_15_1">
-					<UserValue value="n_a_6" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_15">0 -1 0 0 1 0 0 0 0 0 1 0 0.245 0.742 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_16" name="Node16"
-				partRef="#id72_01_1">
-				<UserData id="id72_01_16_1">
-					<UserValue value="n_i7_4" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_16">0 -1 0 0 1 0 0 0 0 0 1 0 0.245 0.852 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_01_17" name="Node17"
-				partRef="#id72_01_1">
-				<UserData id="id72_01_17_1">
-					<UserValue value="n_i7_5" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_17">0 -1 0 0 1 0 0 0 0 0 1 0 0.245 0.962 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-			<!-- And the same for the last node -->
-			<ProductInstance id="inst72_01_18" name="Node18"
-				partRef="#id72_01_1">
-				<UserData id="id72_01_18_1">
-					<UserValue value="n_i7_6" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_01_18">0 -1 0 0 1 0 0 0 0 0 1 0 0.245 1.062 0.005
-					1
-				</Transform>
-			</ProductInstance>
-
-
-			<!-- Generic Description for all sensors of the same kind (i.e. temperature 
-				on one kind of node -->
-			<ProductRevisionView id="id72_02_1" name="SensorGeometry">
-				<Representation id="id1072_02_1" format="VRML"
-					location=".\objects\Sensor.wrl"></Representation>
-			</ProductRevisionView>
-
-			<!-- Concrete description for one specific sensor -->
-			<ProductInstance id="inst72_02_1" name="Sensor1"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_01">1 0 0 0 0 1 0 0 0 0 1 0 -0.021 0.136 0.0 1</Transform>
-			</ProductInstance>
-
-			<!-- The same for all other sensors of that kind -->
-			<ProductInstance id="inst72_02_2" name="Sensor2"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_02">1 0 0 0 0 1 0 0 0 0 1 0 -0.021 0.246 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_3" name="Sensor3"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_03">1 0 0 0 0 1 0 0 0 0 1 0 -0.021 0.356 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_4" name="Sensor4"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_04">1 0 0 0 0 1 0 0 0 0 1 0 -0.021 0.466 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_5" name="Sensor5"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_05">1 0 0 0 0 1 0 0 0 0 1 0 -0.021 0.576 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_6" name="Sensor6"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_06">1 0 0 0 0 1 0 0 0 0 1 0 -0.021 0.686 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_7" name="Sensor7"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_07">1 0 0 0 0 1 0 0 0 0 1 0 -0.021 0.796 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_8" name="Sensor8"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_08">1 0 0 0 0 1 0 0 0 0 1 0 -0.021 0.906 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_9" name="Sensor9"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_09">1 0 0 0 0 1 0 0 0 0 1 0 -0.021 1.016 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_10" name="Sensor10"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_10">1 0 0 0 0 1 0 0 0 0 1 0 0.444 0.136 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_11" name="Sensor11"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_11">1 0 0 0 0 1 0 0 0 0 1 0 0.444 0.246 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_12" name="Sensor12"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_12">1 0 0 0 0 1 0 0 0 0 1 0 0.444 0.356 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_13" name="Sensor13"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_13">1 0 0 0 0 1 0 0 0 0 1 0 0.444 0.466 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_14" name="Sensor14"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_14">1 0 0 0 0 1 0 0 0 0 1 0 0.444 0.576 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_15" name="Sensor15"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_15">1 0 0 0 0 1 0 0 0 0 1 0 0.444 0.686 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_16" name="Sensor16"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_16">1 0 0 0 0 1 0 0 0 0 1 0 0.444 0.796 0.0 1</Transform>
-			</ProductInstance>
-
-			<ProductInstance id="inst72_02_17" name="Sensor17"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_17">1 0 0 0 0 1 0 0 0 0 1 0 0.444 0.906 0.0 1</Transform>
-			</ProductInstance>
-
-			<!-- The last sensor of that kind -->
-			<ProductInstance id="inst72_02_18" name="Sensor18"
-				partRef="#id72_02_1">
-				<Transform id="id72_02_18">1 0 0 0 0 1 0 0 0 0 1 0 0.444 1.016 0.0 1</Transform>
-			</ProductInstance>
-
-			<!-- Generic description of a RECS including an assembly, in this all 
-				nodes (inst72_01_x) and for each on sensor (inst72_02_x) -->
-			<ProductRevisionView id="id72" name="DefRack72"
-				instanceRefs="inst72_01_1 inst72_01_2 inst72_01_3 inst72_01_4 inst72_01_5 inst72_01_6 inst72_01_7 inst72_01_8 inst72_01_9 inst72_01_10 inst72_01_11 inst72_01_12 inst72_01_13 inst72_01_14 inst72_01_15 inst72_01_16 inst72_01_17 inst72_01_18 inst72_02_1 inst72_02_2 inst72_02_3 inst72_02_4 inst72_02_5 inst72_02_6 inst72_02_7 inst72_02_8 inst72_02_9 inst72_02_10 inst72_02_11 inst72_02_12 inst72_02_13 inst72_02_14 inst72_02_15 inst72_02_16 inst72_02_17 inst72_02_18"
-				type="assembly">
-				<UserData id="id72_1">
-					<!-- DEBBLevel is one of the following: Node, NodeGroup, Computebox1, 
-						ComputeBox2, maybe extended by Sensor, CoolingDevice, Powersupply, ... -->
-					<UserValue value="NodeGroup" title="DEBBLevel"></UserValue>
-					<!-- DEBBComponent Id is the reference to the ComponentId in the DEBBComponents 
-						XML file -->
-					<UserValue value="RECS_Sirius" title="DEBBComponentId"></UserValue>
-				</UserData>
-				<Representation id="id1071" format="VRML"
-					location=".\objects\recscase.wrl"></Representation>
-			</ProductRevisionView>
-
-			<!-- Concrete description of a specific RECS -->
-			<ProductInstance id="inst72_1" name="Rack72" partRef="#id72">
-				<UserData id="id72_1_1">
-					<!-- title="hostname" is on of the possible titles, currently only hostname 
-						is in use, maybe others are added like config options, other identifiers, 
-						etc. -->
-					<UserValue value="gamescontroller.hlrs.de" title="hostname"></UserValue>
-				</UserData>
-				<Transform id="id72_2">1 0 0 0 0 1 0 0 0 0 1 0 0.075 -0.317 1.003
-					1
-				</Transform>
-			</ProductInstance>
-
-		</InstanceGraph>
-	</ProductDef>
-</PLMXML>
Index: DCWoRMS/trunk/src/test/DEBBTranslator/xml/PLMXML_TEST.xml
===================================================================
--- DCWoRMS/trunk/src/test/DEBBTranslator/xml/PLMXML_TEST.xml	(revision 557)
+++ 	(revision )
@@ -1,1 +1,0 @@
-/plm:ProductDef
