Ben,
Sorry for the delay. I tried removing the complexType definition relying
solely on the type attribute as you suggested, but the result is still the
same.
When I change GeoServer to VERBOSE logging I can see that the object appears to
be populated correctly, but the WFS response still contains the empty
aerodromeWxForecast objects. Is there a validation process that occurs after
the document is built up that could be causing this somehow? Attached is the
trace log showing the fully populated document.
Kevin M. Weiss
Software Engineer
HARRIS IT Services
-----Original Message-----
From: Ben Caradoc-Davies [mailto:ben.caradoc-dav...@csiro.au]
Sent: Thursday, October 02, 2014 9:31 PM
To: Weiss, Kevin; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] WXXM and app-schema plug-in
Kevin,
in your schema the aerodromeWxForecast element has both a type attribute and a
complexType definition; these are two distinct ways of defining the type of the
element and I do not think you can use both. Please try using the type
attribute only. Have a look at the TAF element as a guide.
Kind regards,
Ben.
On 02/10/14 21:10, Weiss, Kevin wrote:
> I tried adding type="wx:ForecastPropertyType" to the
> avwx:aerodromeWxForecast, but the change had no effect.
--
Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au> Software Engineer CSIRO
Mineral Resources Flagship Australian Resources Research Centre
2014-10-06 16:30:10,794 TRACE [complex.filter] - ENTRY FeatureImpl:TAF<TAFType
id=2>=[AttributeImpl:rawText<string>=TAF LHKE 011345Z 0115/0124 VRB02MPS CAVOK
BECMG 0117/0120 9999 BKN030 OVC060 PROB40 TEMPO 0119/0124 VRB07G14MPS
5000 SHRA TSRA SCT010 BKN025CB OVC060=,
ComplexAttributeImpl:aerodromeWxForecast<ForecastPropertyType>=[FeatureImpl:aerodromeWxForecast<ForecastPropertyType
id=wxxm_taf_forecasts.fid-68af85e5_148e604ad02_-7fcf>=[FeatureImpl:Forecast<ForecastType
id=wxxm_taf_forecasts.fid-68af85e5_148e604ad02_-7fcf>=[ComplexAttributeImpl:samplingTime<TimeObjectPropertyType>=[ComplexAttributeImpl:TimePeriod<TimePeriodType>=[ComplexAttributeImpl:beginPosition<TimePositionType>=[AttributeImpl:simpleContent<TimePositionUnion>=2014-09-01
15:00:00.0],
ComplexAttributeImpl:endPosition<TimePositionType>=[AttributeImpl:simpleContent<TimePositionUnion>=2014-10-01
20:00:00.0]]], ComplexAttributeImpl:result<AerodromeWxPropertyType
id=wxxm_taf_forecasts.fid-68af85e5_148e604ad02_-7fcf>=[FeatureImpl:AerodromeWx<AerodromeWxType>=[ComplexAttributeImpl:horizontalVisibility<HorizontalVisibilityPropertyType>=[FeatureImpl:HorizontalVisibility<HorizontalVisibilityType>=[ComplexAttributeImpl:prevailingVisibility<HorizontalVisibilityDistanceType>=[AttributeImpl:simpleContent<double>=6.213089]]],
ComplexAttributeImpl:windSpeed<WindSpeedType>=[AttributeImpl:simpleContent<double>=3.887689]]],
AttributeImpl:changeIndicator<ForecastChangeIndicatorType>=INITIAL]]],
ComplexAttributeImpl:aerodromeWxForecast<ForecastPropertyType>=[FeatureImpl:aerodromeWxForecast<ForecastPropertyType
id=wxxm_taf_forecasts.fid-68af85e5_148e604ad02_-7fce>=[FeatureImpl:Forecast<ForecastType
id=wxxm_taf_forecasts.fid-68af85e5_148e604ad02_-7fce>=[ComplexAttributeImpl:samplingTime<TimeObjectPropertyType>=[ComplexAttributeImpl:TimePeriod<TimePeriodType>=[ComplexAttributeImpl:beginPosition<TimePositionType>=[AttributeImpl:simpleContent<TimePositionUnion>=2014-10-01
17:00:00.0],
ComplexAttributeImpl:endPosition<TimePositionType>=[AttributeImpl:simpleContent<TimePositionUnion>=2014-09-02
00:00:00.0]]], ComplexAttributeImpl:result<AerodromeWxPropertyType
id=wxxm_taf_forecasts.fid-68af85e5_148e604ad02_-7fce>=[FeatureImpl:AerodromeWx<AerodromeWxType>=[ComplexAttributeImpl:horizontalVisibility<HorizontalVisibilityPropertyType>=[FeatureImpl:HorizontalVisibility<HorizontalVisibilityType>=[ComplexAttributeImpl:prevailingVisibility<HorizontalVisibilityDistanceType>=[AttributeImpl:simpleContent<double>=6.213089]]],
ComplexAttributeImpl:windSpeed<WindSpeedType>=[AttributeImpl:simpleContent<double>=3.887689],
ComplexAttributeImpl:cloudCondition<CloudConditionPropertyType>=[FeatureImpl:CloudCondition<CloudConditionType
id=forecast_clouds.9>=[ComplexAttributeImpl:base<VerticalDistanceType>=[AttributeImpl:simpleContent<double>=914.399970739201],
AttributeImpl:cloudAmount<CloudAmountType>=BKN]],
ComplexAttributeImpl:cloudCondition<CloudConditionPropertyType>=[FeatureImpl:CloudCondition<CloudConditionType
id=forecast_clouds.10>=[ComplexAttributeImpl:base<VerticalDistanceType>=[AttributeImpl:simpleContent<double>=1828.799941478402],
AttributeImpl:cloudAmount<CloudAmountType>=OVC]]]],
AttributeImpl:changeIndicator<ForecastChangeIndicatorType>=BECMG]]],
ComplexAttributeImpl:aerodromeWxForecast<ForecastPropertyType>=[FeatureImpl:aerodromeWxForecast<ForecastPropertyType
id=wxxm_taf_forecasts.fid-68af85e5_148e604ad02_-7fcd>=[FeatureImpl:Forecast<ForecastType
id=wxxm_taf_forecasts.fid-68af85e5_148e604ad02_-7fcd>=[ComplexAttributeImpl:samplingTime<TimeObjectPropertyType>=[ComplexAttributeImpl:TimePeriod<TimePeriodType>=[ComplexAttributeImpl:beginPosition<TimePositionType>=[AttributeImpl:simpleContent<TimePositionUnion>=2014-10-01
19:00:00.0],
ComplexAttributeImpl:endPosition<TimePositionType>=[wx_view.fid-68af85e5_148e604ad02_-7fcc>=[AttributeImpl:wxCode<WxCode>=TSRA]]]],
AttributeImpl:changeIndicator<ForecastChangeIndicatorType>=PROB]]],
ComplexAttributeImpl:appliesTo=[ComplexAttributeImpl:Aerodrome<AerodromeType>=[ComplexAttributeImpl:location<LocationPropertyType>=[GeometryAttributeImpl:Point<PointType
id=shape.wxxm_taf.fid-68af85e5_148e604ad02_-7fd6
id=shape.wxxm_taf.fid-68af85e5_148e604ad02_-7fd6>=POINT (19.75
46.9166666666667)]]]] avwx:stationId LHKE null null
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users