SYMPTOM:
XQuery script returns only 1 row while REST-JSON data source contains multiple rows in Strategy XQuery Editor and Generator (XEG) 10.x
STEPS TO REPRODUCE:
{ "firstName":"John" , "lastName":"Doe" },
{ "firstName":"Anna" , "lastName":"Smith" },
{ "firstName":"Peter" , "lastName":"Jones" }

CAUSE:
The JSON data returned from the REST-JSON web service doesn't match the JSON standard. There is no top level variable name for the sequence.
ACTION:
Contact Web services administrator to change the JSON response. The correct JSON data should be similar as below:
{
"employees": [
{ "firstName":"John" , "lastName":"Doe" },
{ "firstName":"Anna" , "lastName":"Smith" },
{ "firstName":"Peter" , "lastName":"Jones" }
]
}

KB438985