Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OBIX 1.1 XSD PR02
    • Fix Version/s: OBIX 1.1 WD27
    • Component/s: OBIX 1.1 Specification
    • Labels:
      None
    • Environment:

      Brian Frank

    • Proposal:
      Hide

      Propose reverting to str for encodings, like original design.

      Show
      Propose reverting to str for encodings, like original design.

      Description

      Using a name attribute with a slash attribute conflicts with the recommendation characters which should be used in names. Simpler design would be just to have a list of strs:

      <list name='encodings'>
      <str val='text/xml'/>
      <str val='application/json'/>
      </list>

      Sort of same problem for 5.4.3 - typically name is to identify the role of the object within its parent, and names aren't typically used in lists. So seems better to make the binding name part of the value via 'val' attribute. Using the documentation URI as the value just seems like a lot of noise to me - I don't even understand what I'd put in there as a server, or why my client code would care about it. So I'd prefer simple list of str objects.

        Attachments

          Activity

            People

            • Assignee:
              Toby.Considine Toby Considine
              Reporter:
              Toby.Considine Toby Considine
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: