-
Notifications
You must be signed in to change notification settings - Fork 9
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
Incorrect Allowed @name
values for @prop
in documentation
#6
Comments
I am not 100% certain this belongs in OSCAL-Reference. If this does require a fix in usnistgov/metaschema-xslt, I will 1) request the assigned developer open a cross-referencing issue in that repo and 2) work with me or the delegated developer to coordinate a potential fix to that repo. |
@JustKuzya, I heard you were looking into picking this one up. If you are able and willing, please do! |
While looking and trying to understand this one, I found non-working data-type #-anchored references from both Outline and Reference Pages - should I fix that one first? It does looks ugly and very broken, while this one seems more obscure. Though it seems that there is no issue created for it yet. |
@aj-stein-nist volunteered to open an issue for this as reported by Dmitry. |
@JustKuzya and @wendellpiez and @aj-stein-nist have volunteered to sync on this and complete a root cause analysis, confirm whether this is a minor document generation issue or something more significant, and act accordingly. |
I set aside some time with @JustKuzya and @wendellpiez tomorrow as today as pretty packed for me. |
We need to enumerate all |
A path to find all these is unfortunately not straightforward since the Keep in mind that allowed-values targeting Also, this Issue implicates not only allowed values on props, but also others.... |
I just wanted to give a status update: we are working on usnistgov/metaschema#411 but it will not get completely reviewed and possibly merged by the end of this sprint, but work continues. |
@name
values for prop
in documentation@name
values for @prop
in documentation
There will be updates to the aforementioned issue but as of a sync with Metaschema developers I am working with on the associated PR for issue 411, more work is needed to be done on the spec and updating documentation will have to wait on certain discuss of allowed values processing that ought to come after the next two weeks of sprint, so I will be moving this out of Sprint 75 for now. |
This is not a bug in the allowed values. It is a bug in marking not showing up properly in the documentation. See usnistgov/OSCAL#1972 |
Describe the bug
There are many places in the OSCAL documentation lists incorrect values for the
@name
attribute on theprop
field.For example,
prop[@name='marking']
is only supposed to be valid in the//metadata
of each model; however, it is also incorrectly listed in the documentation as valid in many other places.A search of the Catalog documentation shows eight additional occurrences of
prop[@name='marking']
in places such as://metadata/revisions/prop
//metadata/role/prop
//metadata/location/prop
//metadata/party/prop
//metadata/responsible-party/prop
//param/prop
(root, group, and control levels)//control/prop
(root, group, and control levels)//part/prop
(group and control levels)//group/prop
//back-matter/resource/prop
Who is the bug affecting
Developers trying to properly implement OSCAL properties.
What is affected by this bug
Documentation
How do we replicate this issue
prop[@name='marking']
as valid in places other than//metadata/prop
Expected behavior (i.e. solution)
Documentation for
prop
in each context should include only the actual accepted values for@name
.Other comments
This issue has existed since the pre 1.0.0 release candidates. To my knowledge no issue was created for it. I could not find one among the open issues.
Revisions
No response
The text was updated successfully, but these errors were encountered: