On 10/11/11 09:31, Simon Pepping wrote:
> It is not a good idea to fetch xml.xsd from W3C each time. Put it in
> the sources and if necessary use a catalog. xml.xsd is already
> available at src/documentation/intermediate-format-ng/xml.xsd.

Hmmm. Apparently Gump deletes the workspace directory before every
build, which pretty much kills the benefits of the caching process that
I had put in place in rev. 1186858.

FWIW, I did have in mind to use a catalog, but AFAICT the catalog-based
resolver available from XML Commons Resolver is not compatible with what
is used by XML Schema (org.w3c.dom.ls.LSResourceResolver vs
org.xml.sax.EntityResolver or javax.xml.transform.URIResolver). Also,
using a catalog seemed a bit overkill for this.

Storing xml.xsd locally is an option, but:
• we lose the link to http://www.w3.org/2001/xml.xsd (although I suppose
  we can say that it’s obvious from looking at the content of the file)
• if the original schema ever gets updated, we get out of sync (although
  I suppose that’s unlikely to happen)
• most of all, are we allowed to redistribute this file? I couldn’t find
  any license information with it.

For those reasons I chose to download it into some cache directory.
I could remove this caching mechanism and point to
src/documentation/intermediate-format-ng/xml.xsd instead, if bullet 3
above is not an issue.


> Simon
> On Thu, Nov 10, 2011 at 08:27:53AM +0000, Jeremias Maerki wrote:
>> To whom it may engage...
>> This is an automated request, but not an unsolicited one. For 
>> more information please visit http://gump.apache.org/nagged.html, 
>> and/or contact the folk at gene...@gump.apache.org.
>> Project xml-fop-test has an issue affecting its community integration.
>> This issue affects 1 projects,
>>  and has been outstanding for 61 runs.
>> The current state of this project is 'Failed', with reason 'Build Failed'.
>> For reference only, the following projects are affected by this:
>>     - xml-fop-test :  XSL-FO (Formatting Objects) processor
>> Full details are available at:
>>     http://vmgump.apache.org/gump/public/xml-fop/xml-fop-test/index.html
>> That said, some information snippets are provided here.
>> The following annotations (debug/informational/warning/error messages) were 
>> provided:
>>  -INFO- Failed with reason build failed
>>  -INFO- Project Reports in: 
>> /srv/gump/public/workspace/xml-fop/build/test-reports

Reply via email to