((Element)doc.createElement("test")).setAttributeNode(uri);
Attr uri1=doc.createAttribute("id");
uri1.setNodeValue("!!!test=2");
doc.createElement("test1").setAttributeNode(uri1);
ResourceResolver.registerAtStart(OldResourceResolverSpi.class.getName());
ResourceResolver resolver=ResourceResolver.getInstance(uri, "test");
ResourceResolver resolver1=ResourceResolver.getInstance(uri1, "test1");
ResourceResolver resolver2=ResourceResolver.getInstance(uri1, "test2");
resolver2.resolve(uri1, "test2");
resolver.resolve(uri, "test");
resolver1.resolve(uri1, "test1");
};