From: Andy P. <an...@il...> - 2004-11-11 17:57:10
|
Hi, I may be expecting the wrong thing here, but I have a topic map with a base locator of http://stuff/home/ and an occurrence in that map with a locator of /abc/123. I have some code that looks like this: String relativeURL = occurrence.getResource().toExternalForm(); String occurrenceURL = map.getBaseLocator().resolveRelative(relativeURL).toExternalForm(); I was expecting to get http://stuff/home/abc/123 but I got http://stuff/abc/123. In other words, the resolution process is ignoring the "home/" on the end of the base URL. Is this correct? Thanks, Andy. |