Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1083

OData V4 Singleton has EntityType instead of Type attribute in XML metadata

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • (Java) V4 4.3.0
    • (Java) V4 4.4.0
    • odata4-server
    • None

    Description

      Olingo always serializes Singletons in the schema with "Name" and "EntityType" attributes when generating metadata through org.apache.olingo.server.core.serializer.xml.MetadataDocumentXmlSerializer.appendSingletons(...).
      The above method seems to use XML_ENTITY_TYPE that has the value "EntityType").
      This is be non-compliant to the spec, which specifies "Name" and "Type" as attributes for a Singleton.

      Attachments

        Activity

          People

            chrisam Christian Amend
            gabor.faludi Gabor Faludi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified