void () { XmlNSDescriptor NSDescriptor = createDescriptor( "<xsd:schema xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">" + "<xsd:element name=\"purchaseOrder\" type=\"PurchaseOrderType\"/>" + "<xsd:element name=\"comment\" type=\"xsd:string\"/>" + "</xsd:schema>"); XmlElementDescriptor elementDescriptor = NSDescriptor.getElementDescriptor(XmlTestUtil.tag("purchaseOrder", getProject())); assertEquals("purchaseOrder", elementDescriptor.getName()); elementDescriptor = NSDescriptor.getElementDescriptor(XmlTestUtil.tag("comment", getProject())); assertEquals("comment", elementDescriptor.getName()); }