Multiplicity change of required attribute

Submitted by Joerg Freudenstein on Thursday, 28 June, 2012 - 17:41
Issue ID
97
Component
Tool
Category
Bug report
Priority
Normal
Assigned
Status
Fixed
Source
Website
Description

In the DATEX-Tool, it is not possible to restrict the multiplicity of an attribute, which is mandatory (at least I suppose this is the point). Example: 'accidentType' has multiplicity 1:*. It is not possible to change it to 1:1, which should be possible according to the rules. The Tool does not accept the value 1 - it does block any further action in this case, until the 1 is deleted again. Note: This problem differs from the one described just before.

Found Version
{"changeLogs":[{"date":1528371090394,"componentOLD":"- Select a value -","component":"Tool","categoryOLD":"- Select a value -","category":"Bug report","priorityOLD":"- None -","priority":"Normal","assignedOLD":"","assigned":"jaderberg (22)","statusOLD":"- None -","status":"Fixed"},{"date":1537269470146}]}

Posted by jaderberg on September 25, 2026 Permalink

This was a bug. There was a rule that proably should prevent setting something to 0..0. However, 0..0 is valid XML. Now this rule is removed and now you can limit a mandatory (1..*) attribute to 1..1.

will be included in next release.

Posted by jaderberg on September 25, 2026 Permalink

Will be in version 2.1.4563 of the tool.