Skip to content

Reconsider content model of svrl:property-reference #17

Description

@dmj

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 =

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions