Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI question: @minOccurs and @maxOccurs on <datatype> #109

Open
rvdb opened this issue Jun 11, 2020 · 3 comments
Open

UI question: @minOccurs and @maxOccurs on <datatype> #109

rvdb opened this issue Jun 11, 2020 · 3 comments
Assignees

Comments

@rvdb
Copy link

rvdb commented Jun 11, 2020

This is tested with Roma 0.2.9.

When editing/creating an attribute in Roma, the Roma UI doesn't provide an option to specify @minOccurs and @maxOccurs in the "Datatype" section of the form.

Is this a deliberate choice?

@lb42
Copy link
Member

lb42 commented Jun 11, 2020 via email

@rvdb
Copy link
Author

rvdb commented Jun 11, 2020

Hi @lb42 , perhaps I should clarify: I wasn't aiming at creating multiple <datatype> elements inside <attDef>. Instead, I was looking for a means to specify the @minOccurs and @maxOccurs attributes for that <datatype> element.

In other words: I don't find a means in the current Roma version (0.2.9) to specify e.g. the @maxOccurs in:

<datatype maxOccurs="unbounded">
  <dataRef key="teidata.enumerated"/>
</datatype>

@lb42
Copy link
Member

lb42 commented Jun 11, 2020

Ah, yes, sorry. I misunderstood you. Looks likes a bug! (there is even an example in P5 almost identical to what you give above)

@raffazizzi raffazizzi self-assigned this Aug 28, 2020
@raffazizzi raffazizzi added this to the v0.3.0 milestone Nov 16, 2020
@raffazizzi raffazizzi removed this from the v0.3.0 milestone Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants