PropertyFactory propertyFactory = context.getPropertyFactory();
context.getNamespaceRegistry().register("nsx", "http://www.example.com/namespaces");
context.getNamespaceRegistry().register("other", "http://www.example.com/other");
uriPropertyName = context.getValueFactories().getNameFactory().create("nsx:uri");
additionalNamespaceProperties = new Property[] {
propertyFactory.create(nameFactory.create("nsx:something"), "Some value"),
propertyFactory.create(nameFactory.create("nsx:something2"), "Some value2"),
propertyFactory.create(nameFactory.create("other:something2"), "Some other value2")};
// Set up the repository that we'll be using ...
source = new InMemoryRepositorySource();