-
-
Notifications
You must be signed in to change notification settings - Fork 431
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
Generate valid tags in thing-description-1.0.0.xsd #4626
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Did you take into account also #4617 ? |
Nope, missed that one. Will add it shortly. This PR will wait until all those ones are merged first. |
I think it is clearer with the word semantic. |
Updated to include #4617, and made all the comments say Semantic |
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brilliant. LGTM.
@jimtng just wondering if you need to add a spotless exclusion somewhere to prevent it falling over later on the generated java and xsd files? |
No, the result should be spotless-approved |
@jimtng since this PR is now dynamically generating the updated schema xsd file I wonder if I shall remove it from my own two PRs? You say you want to postpone your PR until mine is done. And perhaps I must postpone mine until yours is done? We need to ensure we avoid cross dependent merge conflicts. EDIT: I think in my PRs I need to insert the begin/end markers in the XSD so your PR can later find and replace the lines between. Or?? EDIT2: I just noticed that the word "semantic" is missing from the end marker
EDIT3: obviously this PR will fail its CI Build until after my PRs are merged; so that clarifies the merge sequence.. |
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
I think by now you've realised that your PR needs to go in first, with a static list of tags. It would only then make sense for this PR to be merged to generate that list.
Good catch, thanks! I've added them now.
Yup! |
Agreed. |
Populates the list of valid Point and Property tags in thing-description-1.0.0.xsd
Depends on/Based on: #4622, #4615, #4617