private void provideSystemIdIfRequired ( Source source ) { if ( source != null && ( source . getSystemId ( ) == null || source . getSystemId ( ) . length ( ) == 0 ) ) { source . setSystemId ( getDefaultSystemId ( ) ) ; } }
Ensure that the source has a systemId