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

3djan/nodegroup and elements #69

Merged
merged 3 commits into from
Jun 4, 2024
Merged

Conversation

3dJan
Copy link
Contributor

@3dJan 3dJan commented Jun 4, 2024

Harrison had the nice idea of using xs:group for the choice with the node elements. What do you think about that?

I also completed the list of elements and renamed the resourceid-node to .

@3dJan 3dJan merged commit c66e505 into implicit Jun 4, 2024
1 check passed
@3dJan 3dJan deleted the 3djan/nodegroup_and_elements branch June 4, 2024 07:44
@jordig100
Copy link
Contributor

jordig100 commented Jun 4, 2024

Just a typo in the implicit schema:

<!-- CT_ResourceID -->
<xs:complexType name="CT_ConstResourceID">

<xs:group name="BasicNodeTypes">
<xs:choice>
<!-- nodes -->
<xs:element name="addition" type="CT_Addition" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better use the the "ref"clause since all those names are now defined as elements at the bottom.

For example:

<xs:element ref="subtraction"/>
<xs:element ref="multiplication"/>
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants