// String relPath = getSolutionRepositoryRelativePath(urlStr, pentahoSession);
String res = null;
InputStream in = null;
try {
LocalizingDynamicSchemaProcessor schemaProcessor = new LocalizingDynamicSchemaProcessor();
PropertyList localeInfo = new PropertyList();
localeInfo.put( "Locale", getLocale().toString() ); //$NON-NLS-1$
FileSystemManager fsManager = VFS.getManager();
SolutionRepositoryVfsFileObject mondrianDS =
(SolutionRepositoryVfsFileObject) fsManager.resolveFile( urlStr );
in = mondrianDS.getInputStream();
res = schemaProcessor.filter( null, localeInfo, in );
} catch ( FileNotFoundException fnfe ) {
throw new MondrianCatalogServiceException( Messages.getInstance().getErrorString(
"MondrianCatalogHelper.ERROR_0007_FILE_NOT_FOUND" ), fnfe ); //$NON-NLS-1$
} catch ( Exception e ) {
throw new MondrianCatalogServiceException( Messages.getInstance().getErrorString(