Index: dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx =================================================================== --- dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx (.../tags/OOO320_m8) (revision 277862) +++ dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx (.../cws/dba32k) (revision 277862) @@ -102,7 +102,11 @@ rtl::OUString sFileName = aPathOptions.SubstituteVariable(sValue); if ( sValue == sFileName ) { - sLocation = ::svt::OFileNotation(rImport.GetAbsoluteReference(sValue)).get( ::svt::OFileNotation::N_SYSTEM ); + const sal_Int32 nFileNameLength = sFileName.getLength(); + if ( ( nFileNameLength > 0 ) && ( sFileName.getStr()[ nFileNameLength - 1 ] == '/' ) ) + sFileName = sFileName.copy( 0, nFileNameLength - 1 ); + + sLocation = ::svt::OFileNotation( rImport.GetAbsoluteReference( sFileName ) ).get( ::svt::OFileNotation::N_SYSTEM ); } if ( sLocation.getLength() == 0 )