Found a possible issue with the REST publication service in 8.3 build 2630 (also observed this issue in previous 8.3 builds). This issue was not evident in 8.1.
If an attribute being returned by the service contains a '#' character the XML or JSON result is split at the '#' character and the '#' character is not returned.
For example if you return an attribute of string 123456 AwareIM REST returns XML of
<Object>
<Attribute>123456</Attribute>
</Object>
But if there is a '#' character in that string like 123#456 AwareIM REST returns
<Object>
<Attribute>123</Attribute>
<Attribute>456</Attribute>
</Object>
We would expect to get
<Object>
<Attribute>123#456</Attribute>
</Object>
Same problem occurs when AwareIM REST returns a JSON result for an attribute that contains a '#' character. In that case the JSON is
{
"Attribute": [123,
456]}
Attached BSV (XML.bsv) demonstrates the problem. Note to view REST output you need to PUBLISH the BSV then you can browse REST output at http://localhost:8080/AwareIM/REST/XML/Test
Note in this test BSV we've named the object 'Object' and the test attribute 'Attribute'.