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

Allow the same leaf edges in the normal serialization as in the compact

    XMLWordPrintable

    Details

    • Proposal:
      Hide

      The normalized serialization be modified to allow "leaf" edges in the same way they occur in the compact serialization, so there is no need to transform these leaf edges when converting between the compact and normalized serializations. For example:

      <Role>
      ...
      <filledBy keyref="#c1"/>
      </Role>

      is allowed in the compact serialization. As currently defined, this must be changed to

      <Role>
      ...
      <filledBy>
      <Actor keyref="#c1"/>
      </filledBy>
      </Role>

      in the normalized serialization. The proposal would mean the original would not need to be changed in the conversion to the normalized serialization. On the other hand,

      <Role>
      ...
      <Agent key="c1" keyref="#c0">...</Agent>
      </Role>

      in the compact serialization would still need to be converted to
      <Role>
      ...
      <filledBy>
      <Agent key="c1" keyref="#c0">...</Agent>
      </filledBy>
      </Role>

      The edges affected include (exact list may be different once the implementation is complete)

      hasActor
      filledBy
      hasStrength
      appliesStrength
      hasTemplate (in Factual Statement)

      The Nodes affected include:
      Actor
      Template
      Strength

      Show
      The normalized serialization be modified to allow "leaf" edges in the same way they occur in the compact serialization, so there is no need to transform these leaf edges when converting between the compact and normalized serializations. For example: <Role> ... <filledBy keyref="#c1"/> </Role> is allowed in the compact serialization. As currently defined, this must be changed to <Role> ... <filledBy> <Actor keyref="#c1"/> </filledBy> </Role> in the normalized serialization. The proposal would mean the original would not need to be changed in the conversion to the normalized serialization. On the other hand, <Role> ... <Agent key="c1" keyref="#c0">...</Agent> </Role> in the compact serialization would still need to be converted to <Role> ... <filledBy> <Agent key="c1" keyref="#c0">...</Agent> </filledBy> </Role> The edges affected include (exact list may be different once the implementation is complete) hasActor filledBy hasStrength appliesStrength hasTemplate (in Factual Statement) The Nodes affected include: Actor Template Strength

      Description

      To minimize the amount of change in transforming from compact to normalized serialization, it would be better to allow leaf edge form in the normalized serialization for every leaf edge form in the compact serialization. This would also reduce the number of elements, as it allows generic nodes such as <Actor> to be eliminated entirely from the schema.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: