Uploaded image for project: 'OASIS LegalRuleML TC'
  1. OASIS LegalRuleML TC
  2. LEGALRULEML-24

Add "basic" schemas that can be validated with XSD to the greatest extent

    XMLWordPrintable

    Details

    • Proposal:
      Hide

      Because of the monotonic modular design of the Relax NG schemas, a schema for a sublanguage can be defined by not including some modules.

      If the LegalRuleML prefix module is not included, then the additional constraint regarding prefix evaluation is avoided. Note that CURIEs, and CURIE-like abbreviations, with empty prefix are still allowed - these should be treated as same-document relative references when converting to RDF. For this to work, The definition of a prefix mapping for the empty prefix should be disallowed.

      if the Consumer RuleML any_content module is not included, then there are no edges in the compact serialization that can carry the @index attribute. This avoids the additional constraint about sequential values of @index. When such instances are normalized, the correct value are given to @index attributes on the constructed edges.

      The other additional constraints appear to be unavoidable, at least with our current approach (e.g. different content models for @key on elements in the RuleML and LegalRuleML namespaces).

      Show
      Because of the monotonic modular design of the Relax NG schemas, a schema for a sublanguage can be defined by not including some modules. If the LegalRuleML prefix module is not included, then the additional constraint regarding prefix evaluation is avoided. Note that CURIEs, and CURIE-like abbreviations, with empty prefix are still allowed - these should be treated as same-document relative references when converting to RDF. For this to work, The definition of a prefix mapping for the empty prefix should be disallowed. if the Consumer RuleML any_content module is not included, then there are no edges in the compact serialization that can carry the @index attribute. This avoids the additional constraint about sequential values of @index. When such instances are normalized, the correct value are given to @index attributes on the constructed edges. The other additional constraints appear to be unavoidable, at least with our current approach (e.g. different content models for @key on elements in the RuleML and LegalRuleML namespaces).
    • Resolution:
      Hide

      A basic module suite and the necessary schema drivers and XSLT have been added.

      https://tools.oasis-open.org/version-control/browse/wsvn/legalruleml/?op=comp&

      Show
      A basic module suite and the necessary schema drivers and XSLT have been added. https://tools.oasis-open.org/version-control/browse/wsvn/legalruleml/?op=comp&

      Description

      The full syntax requires a number of additional constraints that cannot be expressed in either XSD or Relax NG. A sublanguage should be defined that avoids these additional constraints if possible.

        Attachments

          Activity

            People

            • Assignee:
              taraathan Tara Athan (Inactive)
              Reporter:
              taraathan Tara Athan (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: