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 comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...