See <http://hudson.opengeo.org/hudson/job/geoserver-trunk/3625/changes>
Changes:
[bencaradocdavies] GEOT-3354: Support encoding multiple app-schema WFS feature
types with the same XSD type
------------------------------------------
[...truncated 23552 lines...]
<gml:featureMember>
<ex:PolymorphicFeature gml:id="f5">
<ex:firstValue>
<gsml:CGI_TermValue>
<gsml:value codeSpace="some:uri">y</gsml:value>
</gsml:CGI_TermValue>
</ex:firstValue>
<ex:firstValue>
<gsml:CGI_TermValue gsml:qualifier="approximate">
<gsml:value codeSpace="codespace">0</gsml:value>
</gsml:CGI_TermValue>
</ex:firstValue>
</ex:PolymorphicFeature>
</gml:featureMember>
<gml:featureMember>
<ex:PolymorphicFeature gml:id="f6">
<ex:firstValue>
<gsml:CGI_TermValue gsml:qualifier="approximate">
<gsml:value codeSpace="codespace">1000</gsml:value>
</gsml:CGI_TermValue>
</ex:firstValue>
</ex:PolymorphicFeature>
</gml:featureMember>
</wfs:FeatureCollection>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.412 sec
Running org.geoserver.test.MappingNameTest
03 Mar 09:45:34 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR:
<http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/app-schema/app-schema-test/target/app-schema-mock3369291540686287547data>
----------------------------------
Mar 3, 2011 9:45:36 AM org.geoserver.test.MappingNameTest testGetFeature
INFO: WFS GetFeature response:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="4"
timeStamp="2011-03-03T09:45:36.578Z" xmlns:cv="http://www.opengis.net/cv/0.2.1"
xmlns:gml="http://www.opengis.net/gml"
xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:om="http://www.opengis.net/om/1.0"
xmlns:ows="http://www.opengis.net/ows"
xmlns:sa="http://www.opengis.net/sampling/1.0"
xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
xmlns:swe="http://www.opengis.net/swe/1.0.1"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:cgi:xmlns:CGI:GeoSciML:2.0
http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd
http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<gml:featureMember>
<gsml:MappedFeature gml:id="gsml.mappedfeature.mf1">
<gsml:observationMethod>
<gsml:CGI_TermValue>
<gsml:value codeSpace="codespace01">value01</gsml:value>
</gsml:CGI_TermValue>
</gsml:observationMethod>
<gsml:observationMethod>
<gsml:CGI_TermValue>
<gsml:value codeSpace="codespace02">value02</gsml:value>
</gsml:CGI_TermValue>
</gsml:observationMethod>
<gsml:shape>
<gml:Point srsDimension="2"
srsName="urn:x-ogc:def:crs:EPSG:4326">
<gml:pos>-23.6701 133.8855</gml:pos>
</gml:Point>
</gsml:shape>
</gsml:MappedFeature>
</gml:featureMember>
<gml:featureMember>
<gsml:MappedFeature gml:id="gsml.mappedfeature.mf2">
<gsml:observationMethod>
<gsml:CGI_TermValue>
<gsml:value codeSpace="codespace03">value03</gsml:value>
</gsml:CGI_TermValue>
</gsml:observationMethod>
<gsml:shape>
<gml:Point srsDimension="2"
srsName="urn:x-ogc:def:crs:EPSG:4326">
<gml:pos>-29.0434 167.9388</gml:pos>
</gml:Point>
</gsml:shape>
</gsml:MappedFeature>
</gml:featureMember>
<gml:featureMember>
<gsml:MappedFeature gml:id="gsml.mappedfeature.mf3">
<gsml:shape>
<gml:Point srsDimension="2"
srsName="urn:x-ogc:def:crs:EPSG:4326">
<gml:pos>-12.1883 96.8339</gml:pos>
</gml:Point>
</gsml:shape>
</gsml:MappedFeature>
</gml:featureMember>
<gml:featureMember>
<gsml:MappedFeature gml:id="gsml.mappedfeature.mf4">
<gsml:shape>
<gml:Point srsDimension="2"
srsName="urn:x-ogc:def:crs:EPSG:4326">
<gml:pos>-34.9502 117.8102</gml:pos>
</gml:Point>
</gsml:shape>
</gsml:MappedFeature>
</gml:featureMember>
</wfs:FeatureCollection>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.093 sec
Running org.geoserver.test.PropertyEncodingOrderTest
03 Mar 09:45:36 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR:
<http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/app-schema/app-schema-test/target/app-schema-mock8864848160661970090data>
----------------------------------
Mar 3, 2011 9:45:47 AM org.geoserver.test.PropertyEncodingOrderTest
testPropertyEncodingOrder_Borehole
INFO: WFS GetFeature&gsml:Borehole:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="1"
timeStamp="2011-03-03T09:45:45.219Z" xmlns:cv="http://www.opengis.net/cv/0.2.1"
xmlns:er="urn:cgi:xmlns:GGIC:EarthResource:1.1"
xmlns:gml="http://www.opengis.net/gml"
xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:om="http://www.opengis.net/om/1.0"
xmlns:ows="http://www.opengis.net/ows"
xmlns:sa="http://www.opengis.net/sampling/1.0"
xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
xmlns:swe="http://www.opengis.net/swe/1.0.1"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:cgi:xmlns:CGI:GeoSciML:2.0
http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd
http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<gml:featureMember>
<gsml:Borehole gml:id="BOREHOLE.WTB5">
<gml:name>WTB5 TEST</gml:name>
<sa:sampledFeature
xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"
xlink:role="http://www.geosciml.org/geosciml/2.0/doc/GeoSciML/GeologicUnit/GeologicUnit.html"
xlink:title="unknown"/>
<sa:shape>
<gml:LineString>
<gml:posList>-28.4139 121.142 -28.4139 121.142</gml:posList>
</gml:LineString>
</sa:shape>
<gsml:collarLocation>
<gsml:BoreholeCollar gml:id="BOREHOLE.COLLAR.WTB5">
<gsml:location>
<gml:Point>
<gml:pos>-28.4139 121.142</gml:pos>
</gml:Point>
</gsml:location>
<gsml:elevation axisLabels="Gravity-related height"
srsDimension="1" srsName="http://www.opengis.net/gml/srs/epsg.xml#5711"
uomLabels="m">1.0</gsml:elevation>
</gsml:BoreholeCollar>
</gsml:collarLocation>
<gsml:indexData>
<gsml:BoreholeDetails>
<gsml:operator
xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"
xlink:role="http://www.geosciml.org/geosciml/2.0/doc/GeoSciML/Borehole/BoreholeDetails.html#operator"
xlink:title="GSWA"/>
<gsml:dateOfDrilling>2004-09-17</gsml:dateOfDrilling>
<gsml:drillingMethod>diamond core</gsml:drillingMethod>
<gsml:startPoint>natural ground surface</gsml:startPoint>
<gsml:inclinationType>vertical</gsml:inclinationType>
<gsml:coredInterval>
<gml:Envelope axisLabels="core envelope"
srsDimension="1" srsName="#BOREHOLE.WTB5.LINESTRING" uomLabels="m">
<gml:lowerCorner>106.0</gml:lowerCorner>
<gml:upperCorner>249.0</gml:upperCorner>
</gml:Envelope>
</gsml:coredInterval>
<gsml:coreCustodian
xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"
xlink:role="http://www.geosciml.org/geosciml/2.0/doc/GeoSciML/Borehole/BoreholeDetails.html#coreCustodian"
xlink:title="CSIRONR"/>
</gsml:BoreholeDetails>
</gsml:indexData>
</gsml:Borehole>
</gml:featureMember>
</wfs:FeatureCollection>
Mar 3, 2011 9:45:57 AM org.geoserver.test.PropertyEncodingOrderTest
testPropertyEncodingOrder_PlanarOrientation
INFO: WFS GetFeature&er:MineralOccurrence:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="1"
timeStamp="2011-03-03T09:45:57.444Z" xmlns:cv="http://www.opengis.net/cv/0.2.1"
xmlns:er="urn:cgi:xmlns:GGIC:EarthResource:1.1"
xmlns:gml="http://www.opengis.net/gml"
xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:om="http://www.opengis.net/om/1.0"
xmlns:ows="http://www.opengis.net/ows"
xmlns:sa="http://www.opengis.net/sampling/1.0"
xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
xmlns:swe="http://www.opengis.net/swe/1.0.1"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:cgi:xmlns:GGIC:EarthResource:1.1
http://www.earthresourceml.org/earthresourceml/1.1/xsd/earthResource.xsd
http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<gml:featureMember>
<er:MineralOccurrence gml:id="er.mineraloccurrence.S0032895">
<gml:name>Robinson Range - Deposit D</gml:name>
<er:planarOrientation>
<gsml:CGI_PlanarOrientation>
<gsml:convention>strike dip right hand
rule</gsml:convention>
<gsml:azimuth>
<gsml:CGI_NumericValue>
<gsml:principalValue
uom="urn:ogc:def:uom:UCUM::deg">50.0</gsml:principalValue>
</gsml:CGI_NumericValue>
</gsml:azimuth>
<gsml:dip>
<gsml:CGI_TermValue>
<gsml:value
codeSpace="http://www.dmp.wa.gov.au/371.aspx">60-80</gsml:value>
</gsml:CGI_TermValue>
</gsml:dip>
<gsml:polarity>not applicable</gsml:polarity>
</gsml:CGI_PlanarOrientation>
</er:planarOrientation>
</er:MineralOccurrence>
</gml:featureMember>
</wfs:FeatureCollection>
Mar 3, 2011 9:45:58 AM org.geoserver.test.PropertyEncodingOrderTest
testPropertyEncodingOrder_GeologicUnit
INFO: WFS GetFeature&typename=gsml:GeologicUnit&featureid=gu.25699:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="1"
timeStamp="2011-03-03T09:45:58.523Z" xmlns:cv="http://www.opengis.net/cv/0.2.1"
xmlns:er="urn:cgi:xmlns:GGIC:EarthResource:1.1"
xmlns:gml="http://www.opengis.net/gml"
xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:om="http://www.opengis.net/om/1.0"
xmlns:ows="http://www.opengis.net/ows"
xmlns:sa="http://www.opengis.net/sampling/1.0"
xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
xmlns:swe="http://www.opengis.net/swe/1.0.1"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:cgi:xmlns:CGI:GeoSciML:2.0
http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd
http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<gml:featureMember>
<gsml:GeologicUnit gml:id="gu.25699">
<gml:description>Olivine basalt, tuff, microgabbro, minor
sedimentary rocks</gml:description>
<gml:name codeSpace="urn:ietf:rfc:2141">Yaugher Volcanic
Group</gml:name>
<gml:name>-Py</gml:name>
<gsml:observationMethod>
<gsml:CGI_TermValue>
<gsml:value
codeSpace="http://urn.opengis.net">urn:ogc:def:nil:OGC::missing</gsml:value>
</gsml:CGI_TermValue>
</gsml:observationMethod>
<gsml:purpose>instance</gsml:purpose>
<gsml:occurrence xlink:href="urn:cgi:feature:MappedFeature:mf1"/>
<gsml:geologicUnitType xlink:href="urn:ogc:def:nil:OGC::unknown"/>
<gsml:exposureColor>
<gsml:CGI_TermValue>
<gsml:value codeSpace="some:uri">Blue</gsml:value>
</gsml:CGI_TermValue>
</gsml:exposureColor>
<gsml:outcropCharacter>
<gsml:CGI_TermValue>
<gsml:value codeSpace="some:uri">x</gsml:value>
</gsml:CGI_TermValue>
</gsml:outcropCharacter>
<gsml:composition>
<gsml:CompositionPart>
<gsml:role
codeSpace="urn:cgi:classifierScheme:Example:CompositionPartRole">fictitious
component</gsml:role>
<gsml:lithology>
<gsml:ControlledConcept gml:id="cc.5">
<gml:name>name_cc_5</gml:name>
<gsml:name xml:lang="en">name_cc_5</gsml:name>
<gsml:vocabulary
xlink:href="urn:ogc:def:nil:OGC::missing"/>
</gsml:ControlledConcept>
</gsml:lithology>
<gsml:proportion>
<gsml:CGI_TermValue>
<gsml:value
codeSpace="some:uri">nonexistent</gsml:value>
</gsml:CGI_TermValue>
</gsml:proportion>
</gsml:CompositionPart>
</gsml:composition>
</gsml:GeologicUnit>
</gml:featureMember>
</wfs:FeatureCollection>
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.196 sec
Results :
Failed tests:
testGetDuplicateMappedFeature(org.geoserver.test.DuplicateTypeTest)
testGetMappedFeature(org.geoserver.test.DuplicateTypeTest)
Tests run: 64, Failures: 2, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
<http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/app-schema/app-schema-test/target/surefire-reports>
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 minutes 24 seconds
[INFO] Finished at: Thu Mar 03 09:46:08 UTC 2011
[INFO] Final Memory: 73M/309M
[INFO] ------------------------------------------------------------------------
Failed to send e-mail to bencaradocdavies because no e-mail address is known,
and no default e-mail domain is configured
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel