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

refer to new DDS-Security 1.1 XSDs now that they're available #62

Merged
merged 1 commit into from
Jul 13, 2018

Conversation

mikaelarguedas
Copy link
Member

Now that the XSDs for DDS_Security 1.1 are out. we can refer to them (our generated files were already using tags from 1.1).

While our "wildcard" generated file comply with the new schema:

$ wget https://www.omg.org/spec/DDS-SECURITY/20170901/omg_shared_ca_governance.xsd
$ xmllint -schema omg_shared_ca_governance.xsd ./governance.xml
./governance.xml validates
$ wget https://www.omg.org/spec/DDS-SECURITY/20170901/omg_shared_ca_permissions.xsd
$ xmllint -schema omg_shared_ca_permissions.xsd ./permissions.xml 
./permissions.xml validates

The ones containing explicit access control rules still don't as described in #49

@mikaelarguedas mikaelarguedas added the in progress Actively being worked on (Kanban column) label Jul 13, 2018
@mikaelarguedas mikaelarguedas self-assigned this Jul 13, 2018
@mikaelarguedas mikaelarguedas added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Jul 13, 2018
@@ -145,17 +145,12 @@ def create_governance_file(path, domain_id):
f.write("""\
<?xml version="1.0" encoding="UTF-8"?>
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.omg.org/spec/DDS-SECURITY/20160303/omg_shared_ca_governance.xsd">
xsi:noNamespaceSchemaLocation="http://www.omg.org/spec/DDS-SECURITY/20170901/omg_shared_ca_governance.xsd">
Copy link
Member

Choose a reason for hiding this comment

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

Why not use https here since the URL is redirected to that one anyway?

Same below.

Copy link
Member Author

Choose a reason for hiding this comment

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

Because the examples in the spec and the examples on OMG website use http.
As there is currently no downside in keeping the http link I figured I'd keep it consistent with the examples.
And who knows, maybe OMG plan ons providing an http hosting and not a redirect in the future ? 🤞

@mikaelarguedas mikaelarguedas merged commit 06b66a7 into master Jul 13, 2018
@mikaelarguedas mikaelarguedas removed the in review Waiting for review (Kanban column) label Jul 13, 2018
@mikaelarguedas mikaelarguedas deleted the refer_new_xsd branch July 13, 2018 18:13
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