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

Reconsider content model of svrl:property-reference #17

Open
dmj opened this issue Mar 16, 2020 · 1 comment
Open

Reconsider content model of svrl:property-reference #17

dmj opened this issue Mar 16, 2020 · 1 comment

Comments

@dmj
Copy link
Member

dmj commented Mar 16, 2020

The content model of svrl:property-reference is defined as containing exactly one svrl:text element. Given the intended use of the element ("for linking assertions or reports to actions, to additional metadata, to datatyping, and to dynamically extracted text related to the subject") this seems odd.

Wouldn'it make more sense to define the model as foreign-element?

diff --git a/schema.d/svrl/svrl.rnc b/schema.d/svrl/svrl.rnc
index 979dace..0791372 100644
--- a/schema.d/svrl/svrl.rnc
+++ b/schema.d/svrl/svrl.rnc
@@ -92,7 +92,7 @@ property-reference =
          attribute property { xsd:NMTOKEN },
          attribute role { text }?,
          attribute scheme { text }?,
-         human-text
+         foreign-element
      }
 # human text
 human-text =
@dmj
Copy link
Member Author

dmj commented Mar 16, 2020

Or maybe ( human-text & foreign )+

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

No branches or pull requests

1 participant