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

Property names are not encoded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • (Java) V4 4.7.0
    • None
    • odata4-server
    • None

    Description

      When you create the entity collection, Properties get added. In my case the property name is the database table column name and that is "/BEV1/LULEINH". The slash is obviously not a valid character for an XML but still, the output created is 

      <d:/BEV1/LULEINH>00000000</d:/BEV1/LULEINH>

       

      Shouldn't the tag name be encoded?

       

      Entity row = new Entity();
      for (each column)

      {   row.addProperty(new Property(null, columnname, ValueType.PRIMITIVE, value)); }

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            wdaehn Werner Daehn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: