I think the problem is that gump uses another msv version than dom4j does. If I take a look at the classpath I see:

gump: msv-20030225/msv.jar;msv-20030225/xsdlib.jar
dom4j: msv-20030807.jar;xsdlib-20030807.jar

it seems that the gump jars are older versions, perhaps they could be upgraded?

Maarten

Stefan Bodewig wrote:

On Mon, 21 Jun 2004, Adam R. B. Jack <[EMAIL PROTECTED]> wrote:



Hmm, this show 'class not found'. I wonder if this is as simple as
the test classes not being told to Gump in a <work entry -- or some
other classpath issues.



Good catch.

I also had to add "." as a work entry since some tests try to load
resources from /xml and those are not copied into build/classes or
somewhere close to that.

At least one test still fails on my machine, but it looks like a
locale/timezone issue[1] so it may work on brutus.

Stefan

Footnotes: [1] In case a dom4j developer is listening, three failures all more
or less looking the same as


 <testcase classname="org.dom4j.datatype.TestDatatype2" name="testSchema" time="0.665">
   <error message="value mismatch in testDateElement:expected 
java.util.GregorianCalendar[time=1004486400000,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=java.util.SimpleTimeZone[id=XSD
 &apos;Z&apos; 
timezone,offset=0,dstSavings=3600000,useDaylight=false,startYear=0,startMode=0,startMonth=0,startDay=0,startDayOfWeek=0,startTime=0,startTimeMode=0,endMode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=?,YEAR=2001,MONTH=9,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=?,HOUR=?,HOUR_OF_DAY=?,MINUTE=?,SECOND=?,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?],
 retrieved 
java.util.GregorianCalendar[time=1004486400000,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=java.util.SimpleTimeZone[id=custom,offset=0,dstSavings=3600000,useDaylight=false,startYear=0,startMode=0,startMonth=0,startDay=0,startDayOfWeek=0,startTime=0,startTimeMode=0,endMode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=?,YEAR=2001,MONTH=9,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=?,HOUR=?,HOUR_OF_DAY=?,MINUTE=?,SECOND=?,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?]"
 type="java.lang.Exception">java.lang.Exception: value mismatch in testDateElement:expected 
java.util.GregorianCalendar[time=1004486400000,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=java.util.SimpleTimeZone[id=XSD
 &apos;Z&apos; 
timezone,offset=0,dstSavings=3600000,useDaylight=false,startYear=0,startMode=0,startMonth=0,startDay=0,startDayOfWeek=0,startTime=0,startTimeMode=0,endMode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=?,YEAR=2001,MONTH=9,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=?,HOUR=?,HOUR_OF_DAY=?,MINUTE=?,SECOND=?,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?],
 retrieved 
java.util.GregorianCalendar[time=1004486400000,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=java.util.SimpleTimeZone[id=custom,offset=0,dstSavings=3600000,useDaylight=false,startYear=0,startMode=0,startMonth=0,startDay=0,startDayOfWeek=0,startTime=0,startTimeMode=0,endMode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=?,YEAR=2001,MONTH=9,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=?,HOUR=?,HOUR_OF_DAY=?,MINUTE=?,SECOND=?,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?]
       at org.dom4j.datatype.TestDatatype2.validateData(TestDatatype2.java:120)        
at org.dom4j.datatype.TestDatatype2.validateDateElement(TestDatatype2.java:98)
       at 
org.dom4j.datatype.TestDatatype2.validateDocumentWithSchema(TestDatatype2.java:78)
       at org.dom4j.datatype.TestDatatype2.testSchema(TestDatatype2.java:55)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
</error>
 </testcase>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to