-
Bug
-
Resolution: Unresolved
-
None
-
unspecified
-
None
-
Operating System: All
Platform: All
-
7911
Current Behavior - IoTDM is allowing me to set the ACP having (circRegion:accr) with only one element present. See following o/p -
{"m2m:acp":{
"pv":{"acr":[{"acor" : ["admin"],"acop":63,"acco":[{"aclr":{"accr":["1.0"],"accc":["US","NL"]}}]}]},"pvs":{"acr":[{"acor" : ["admin"],"acop":63,"acco":[{"aclr":{"accc":["IN","NL"]}}]}]}
}
}
Expected behavior - As per spec TS-004
Type Definition of m2m:locationRegion
================================================================
Element Path Element Data Type Multiplicity
circRegion List of 3 xs:float 0..1
================================================================
Note : The values represent latitude (/-90 degrees), longitude (/-180 degrees), and radius (metres)
As circRegion is defined list of 3 elements, We should change current IoTDM behavior and impose restriction to set 3 elements in the list.