You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by "Adam R. B. Jack" <aj...@apache.org> on 2004/06/23 00:11:20 UTC

DOM4J on Gump

http://brutus.apache.org:8080/gump/dom4j/dom4j/index.html shows a failure
at:

http://brutus.apache.org:8080/gump/dom4j/dom4j/gump_file/TEST-org.dom4j.datatype.TestDatatype2.xml.html

regards

Adam
----- Original Message ----- 
From: "Maarten Coene" <Ma...@toughguy.net>
To: "Gump code and data" <ge...@gump.apache.org>
Sent: Tuesday, June 22, 2004 8:27 AM
Subject: Re: BATCH: Unable to send...


> 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 <aj...@trysybase.com> 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,areAllFiel
dsSet=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,endM
ode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0],firstDayOf
Week=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,areAllFiel
dsSet=false,lenient=true,zone=java.util.SimpleTimeZone[id=custom,offset=0,ds
tSavings=3600000,useDaylight=false,startYear=0,startMode=0,startMonth=0,star
tDay=0,startDayOfWeek=0,startTime=0,startTimeMode=0,endMode=0,endMonth=0,end
Day=0,endDayOfWeek=0,endTime=0,endTimeMode=0],firstDayOfWeek=2,minimalDaysIn
FirstWeek=4,ERA=?,YEAR=2001,MONTH=9,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MO
NTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=?,HOUR=?,HOU
R_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,areAllFiel
dsSet=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,endM
ode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0],firstDayOf
Week=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.GregorianCa
>
false,areAllFieldsSet=false,lenient=true,zone=java.util.SimpleTimeZone[id=cu
stom,offset=0,dstSavings=3600000,useDaylight=false,startYear=0,startMode=0,s
tartMonth=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_M
ONTH=?,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.ja
va: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: general-unsubscribe@gump.apache.org
> >For additional commands, e-mail: general-help@gump.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org