errorHandler.warning( new SAXParseException(
Localizer.localize( Localizer.WRN_ANYOTHER_NAMESPACE_IGNORED, uri ), source ) );
continue;
}
NamespaceNameClass nsnc = new NamespaceNameClass(uri);
if( nc==null ) nc = nsnc;
else nc = new ChoiceNameClass(nc,nsnc);
}
if( excludeNamespace!=null )
{
// in case of 'excludeNamespace',
// all defined namespace is also considered as illegal.
Iterator itr = provider.iterateNamespace();
while( itr.hasNext() )
{
NamespaceNameClass nsnc = new NamespaceNameClass( (String)itr.next() );
if( nc==null ) nc = nsnc;
else nc = new ChoiceNameClass(nc,nsnc);
}
nc = new NotNameClass(nc);