Jump to content

Interpretation of empty optional element


avot

Recommended Posts

Hello,

We received an IP-XACT 2009 file with an empty model name :

  <spirit:model>
    <spirit:views>
      <spirit:view>
        <spirit:name>View</spirit:name>
        <spirit:envIdentifier>EnvId:EnvId:EnvId</spirit:envIdentifier>
        <spirit:modelName></spirit:modelName>
      </spirit:view>
    </spirit:views>

Both IP-XACT 2009 and 2014 section 1.5.4.5.1 explain how to manage such situation for mandatory element, but do not for optional elements. For this particular situation (modelName), we consider this element as it is not present. But I didn't investigate if this is always the correct answer for all element in the schemas, particularly if the empty element has XML attributes.

Do we need to raise this point to the Accellera consortium for next IP-XACT release ?

Regards,

Grégoire Avot.

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...