|
User reports:
App-schema mapping:
<AttributeMapping> <targetAttribute>gsml:relatedFeature/gsmlga:GeologicHistory/gsml:relatedFeature/gsmlga:GeologicEvent/gsmlga:eventProcess</targetAttribute> <encodeIfEmpty>true</encodeIfEmpty> <ClientProperty> <name>xsi:nil</name> <value>if_then_else(isNull(EVENTPROCESS_URI), 'true', _expression_.NIL)</value> </ClientProperty> <ClientProperty> <name>nilReason</name> <value>if_then_else(isNull(EVENTPROCESS_URI), 'missing', _expression_.NIL)</value> </ClientProperty> </AttributeMapping>
The above mapping works when `EVENTPROCESS_URI` is not null, but otherwise, it generates
<gsmlga:eventProcess xlink:href="" xsi:nil="true" nilReason="missing"/>
In fact, even the following mapping
<AttributeMapping> <targetAttribute>gsml:relatedFeature/gsmlga:GeologicHistory/gsml:relatedFeature/gsmlga:GeologicEvent/gsmlga:eventProcess</targetAttribute> </AttributeMapping>
generates
<gsmlga:eventProcess xlink:href="">
|