Werner Daehn created OLINGO-1450:
------------------------------------

             Summary: Property names are not encoded
                 Key: OLINGO-1450
                 URL: https://issues.apache.org/jira/browse/OLINGO-1450
             Project: Olingo
          Issue Type: Bug
          Components: odata4-server
    Affects Versions: (Java) V4 4.7.0
            Reporter: Werner Daehn


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));
}

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to