Open rjelliffe opened 1 year ago
At the moment, sch:pattern/https://github.com/documents takes a list of IRIs, or string variables.
I think this is not correct: The @documents
attribute contains an expression that evaluates to a sequence of IRIs. The envisioned use-case for @documents
is a manifest file that enumerates a list of other files. If the files are e.g. referenced by an <link>
element with an @href
attribute, then <pattern documents="link/@href">
would return the sequence of IRIs of the documents you want to validate.
At the moment, sch:pattern/@documents takes a list of IRIs, or string variables.
I propose that it shoukd also allow variables names that are documents.
For example, at its simplest: '''