// Test that a reference to a namespace that has not been defined inline or imported returns an error.
// This test also checks that the method functions correctly with no defined types element.
handler.reset();
try
{
DescriptionElement descElem = factory.newDescription();
//descElem.setTypesElement(types);
if(val.testAssertionSchema1066(descElem, new QName("http://www.sample2.org", "myElement"), reporter))
{
fail("The testAssertionSchema1066 method returned true for a namespace that is not available..");