If you only map the client property and no values for the element, it will be skipped if minOccurs = "0" for the element. This was a requirement to skip empty tags with no values (except when xlink:href is also specified). However, since Alessandro mentioned that he mapped almost everything, this is probably not the case. If this is the case, we could add an additional tag like <skipIfNull> in the AttributeMapping. See issue: http://jira.codehaus.org/browse/GEOT-3454.
Cheers Rini -----Original Message----- From: Caradoc-Davies, Ben (CESRE, Kensington) Sent: Tuesday, 27 March 2012 5:33 PM To: alessandro marrone Cc: [email protected]; Angreani, Rini (CESRE, Kensington); Justin Deoliveira Subject: Re: [Geoserver-users] attribute gml:SignType does not show with app-schema We have found some problems with the way the GeoTools encoder handles restrictions. I think Rini just submitted a patch for the order of properties defined using a restriction, but I don't think I have ever tried this with an attribute. Rini? How are you specifying the value? As a literal? Please ensure that it is enclosed on single quotes to ensure that it is not interpreted as a CQL expression. The compiled definition for the GML type looks reasonable. Justin? On 27/03/12 17:00, alessandro marrone wrote: > Hello > I'm trying to map this feature: > http://xml.fmi.fi/namespace/woml/swo/2011/11/15/index1215.html#id305 > I mapped almost everything > when I map orientation as a client property, the attribute does not appear > -- Ben Caradoc-Davies <[email protected]> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
