[Geoserver-devel] [jira] Created: (GEOS-3689) app-schema FeatureChainingWfsTest failure on some platforms

app-schema FeatureChainingWfsTest failure on some platforms
-----------------------------------------------------------

                 Key: GEOS-3689
                 URL: http://jira.codehaus.org/browse/GEOS-3689
             Project: GeoServer
          Issue Type: Bug
          Components: Application schema
    Affects Versions: 2.0.0, 2.0.x, 2.1.x
            Reporter: Ben Caradoc-Davies
            Assignee: Ben Caradoc-Davies
            Priority: Blocker

-------- Original Message --------
Subject: [Geoserver-devel] How can hudson show successfull geoserver builds ???
Date: Tue, 1 Dec 2009 22:26:31 +0800
From: Christian Müller
To: geoserver-devel@lists.sourceforge.net

Hi all

I am pretty confused about our offical hudson build server which shows
perfect builds for geoserver-trunk and geoserver-2.0.x
Since some time, I never succeeded with with a geoserver build using SUN sdk
or IBM SDK or OpenJDK.

Investigating further into FeatureChainingWfsTest>>testDescribeFeatureType
if found the problem at line 160

assertXpathEvaluatesTo(AbstractAppSchemaMockData.GSML_URI,
"//xsd:import[1]/@namespace",doc)

which tries to query the "namespace" attribute of the second "import"
Element. According to W3C, indexing starts with 1 and not with 0, it has to
be

assertXpathEvaluatesTo(AbstractAppSchemaMockData.GSML_URI,
"//xsd:import[2]/@namespace",doc)

After fixing and a retry, line 188 causes the next problem.

@Ben, could you have a look at this. I do not want to open an issue because
of the successfull hudson builds.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira