Re: can't get xi:include working in both java 1.4.2 and java 5

2006-12-08 Thread Adam Lally
On 12/8/06, Thilo Goetz <[EMAIL PROTECTED]> wrote: FYI, you can make the IBM JVM use your jars before its own like this: -Xbootclasspath/p:/path/to/xercesImpl.jar Ah.. so I suppose we could modify the build-docbook ant script to pass this argument. Do we want to do that? -Adam

Re: can't get xi:include working in both java 1.4.2 and java 5

2006-12-08 Thread Thilo Goetz
Adam Lally wrote: ... For the curious... The reason is because IBM's Java bundles Xerces already. So adding xercesImpl.jar to the classpath just adds classes with the same class names as those already bundled in the JRE. The -D argument cannot be used to distinguish them. The ones in the JRE t

Re: can't get xi:include working in both java 1.4.2 and java 5

2006-12-08 Thread Adam Lally
On 12/7/06, Marshall Schor <[EMAIL PROTECTED]> wrote: Adam Lally wrote: > I got Sun JDK 1.4.2 to work. However it requires an additional jar > file to be added to uima-docbook/lib: the xml-apis.jar that comes > with the Xerces download. Otherwise you get a NoClassDefFoundError > Should I check

Re: can't get xi:include working in both java 1.4.2 and java 5

2006-12-07 Thread Marshall Schor
Adam Lally wrote: I got Sun JDK 1.4.2 to work. However it requires an additional jar file to be added to uima-docbook/lib: the xml-apis.jar that comes with the Xerces download. Otherwise you get a NoClassDefFoundError Should I check this in? yes - but be sure to check in the right one... th

Re: can't get xi:include working in both java 1.4.2 and java 5

2006-12-07 Thread Adam Lally
On 12/7/06, Marshall Schor <[EMAIL PROTECTED]> wrote: After several hours of unsuccessful looking for why, I'm giving up (for now) and saying you have to use Java 5 or some 1.4.2 Java (not IBM's) that recognizes xercesImpl, to build docbook. I got Sun JDK 1.4.2 to work. However it requires a

can't get xi:include working in both java 1.4.2 and java 5

2006-12-07 Thread Marshall Schor
After looking again, it seems that the correct xmlns for XInclude is the 2001 one. There is a note in a book which says this was changed to 2003 at one point, but then changed back. The Xerces impl has a FAQ which now says: Will the XInclude processor process include elements from the 'ht