@Override public XMLInputSource resolveEntity( XMLResourceIdentifier identifier ) throws XNIException, IOException { String systemId = identifier.getExpandedSystemId(); String redirectedSystemId = systemId != null ? redirect( systemId ) : null; LOG.debug( "'" + systemId + "' -> '" + redirectedSystemId + "'" ); return new XMLInputSource( null, redirectedSystemId, null ); }
if ( schemaUris != null ) { for ( int i = 0; i < schemaUris.length; i++ ) { schemaUris[i] = resolver.redirect( schemaUris[i] );
schemaUrls[i] = resolver.redirect( schemaUrls[i] );
for ( int i = 0; i < inputs.length; i++ ) { if ( inputs[i].getSystemId() != null ) { String url = resolver.redirect( inputs[i].getSystemId() ); if ( !( url.equals( inputs[i].getSystemId() ) ) ) { LSInput redirectedInput = new GenericLSInput();