*/
public void testAttributeCharsPeriod() throws Exception {
//test attributes with xml special chars
final ResourceXMLGenerator gen = new ResourceXMLGenerator(test1);
//add a node
final NodeEntryImpl node = new NodeEntryImpl("test1", "test1name");
node.setDescription("test desc");
node.setUsername("test user");
final HashMap<String, String> attributes = new HashMap<String, String>();
attributes.put("my.attr", "myattrvalue");
attributes.put("another.attribute", "test value");
node.setAttributes(attributes);
gen.addNode(node);
gen.generate();
assertTrue(test1.exists());
assertTrue(test1.isFile());