I just made it in having a working version of 1.1 with Xupdate. It had been a day of struggle and I had to recompile by hand a lot of xmldb stuff, but it looks like we have a viable setup.
This is simply great! I started yesterday evening to look at it but you were quicker.
Have you upgraded xmldb to xalan-2.4.1? I think I don't have to tell you to submit a patch to the xmldb guys :-) It's important to know that Xindice uses a patched version of xmldb. I've submit a patch but they haven't applied it so far (looking for another, cleaner solution).
Here's the code for the DatabaseManager:
public static void registerDatabase (Database database) throws
XMLDBException {
if ((database.getName() == null) || (database.getName().equals(""))) {
throw new XMLDBException(ErrorCodes.INVALID_DATABASE);
}
StringTokenizer st = new StringTokenizer(database.getName(), ",");
while (st.hasMoreTokens()) {
String token = st.nextToken();
databases.put(token.trim(), database);
}
} public static void deregisterDatabase (Database database)
throws XMLDBException {
StringTokenizer st = new StringTokenizer(database.getName(), ",");
while (st.hasMoreTokens()) {
String token = st.nextToken();
databases.remove(token.trim());
}
}I know it's ugly but Xindice doesn't work well without it.
-Vladimir
-- Vladimir R. Bossicard Apache Xindice - http://xml.apache.org/xindice
