MappingAttribute usenamespace = (MappingAttribute)license.getAttributes().get(0);
assertEquals("usenamespace", usenamespace.getName()); //$NON-NLS-1$
// by the time the document is loaded the namspace must have been resolved.
Namespace ns = usenamespace.getNamespace();
assertEquals("foo", ns.getPrefix()); //$NON-NLS-1$
assertEquals("http://some.uri/", ns.getUri()); //$NON-NLS-1$
}