// this is considered as an error for MSV.
controller.error( new Locator[]{locator},
Localizer.localize( ERR_UNDECLARED_PREFIX, s[0] ), null );
// recover by returning something
return new LocalNameClass( s[1]/*local*/ );
}
if( vec.contains(ABANDON_URI_SNIFFING) ) {
// System.out.println("sniffing abandoned for "+s[0]);
// possibly multiple URI can be assigned.
// so fall back to use LocalNameClass to at least check local part.
return new LocalNameClass( s[1] );
}
// create choice of all possible namespace, and
// return it.
String[] candidates = (String[])vec.toArray(new String[vec.size()]);