Fixed bug which prevented finding locally cached DTDs on Win32

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22561 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sheldon Gill 2006-02-23 03:02:55 +00:00
parent a5a27ea328
commit 73df67b004
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-02-23 Sheldon Gill <sheldon@westnet.net.au>
* Source/Additions/GSXML.m: URL munging for local DTD cache fixed for
Win32 filesystems
2006-02-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: Fix parsing error .. was not recognising

View file

@ -2473,6 +2473,10 @@ loadEntityFunction(const unsigned char *url, const unsigned char *eid,
}
[local appendString: [components objectAtIndex: index]];
}
/* Also replace ':' which isn't legal on some file systems */
[local replaceOccurrencesOfString: @":" withString: @"+"
options: NSLiteralSearch
range: NSMakeRange(0, [local length])];
/*
* Now ask the SAXHandler callback for the name of a local file