It looks like my jvm is loading an old version of the XML stuff even though
you're using a URL classloader.  I added xerces, xalan and xml-api jars to
my $JAVA_HOM/lib/endorsed directory and it's working now.

A very strange bug.

2009/5/10 Andrew Pietsch <[email protected]>

> Ok, I added factory.setXIncludeAware(true) to parseSourceFile and now I'm
> getting the following error message.
>
> Cause: This parser does not support specification "null" version "null"
>
> I'll keep looking to see what I can find.
>
> Cheers
>
> 2009/5/10 Andrew Pietsch <[email protected]>
>
>  The file it's complaining about, introduction.xml, shouldn't actually end
>>>> up in build/docbook/src, it should be inlined into
>>>> build/docbook/src/userguide.xml. Can you have a look in
>>>> build/docbook/src/userguide.xml, and check that is does not contain any
>>>> <xi:include> elements?
>>>>
>>>
>>> It does contain <xi:include> elements.
>>>
>>> Something might be a little weird with my setup as I also get this
>>> warning everytime I run gradle:
>>> WARNING: problem while setting JAXP validating property on SAXParser...
>>> XML validation will not be done:
>>> http://java.sun.com/xml/jaxp/properties/schemaLanguage
>>>
>>> Although from my googling this looks like it might be an ivy error
>>> message.
>>>
>>
>> I put the following in UserGuideTransformTask.parseSourceFile()
>>
>> println "Xerces Version:
>> ${Class.forName('com.sun.org.apache.xerces.internal.impl.Version', true,
>> Thread.currentThread().contextClassLoader).newInstance().getVersion()}"
>>
>> and I'm getting "Xerces Version: Xerces-J 2.6.2"
>>
>
>

Reply via email to