Hi,
I'm making use of the CWS XML search API for searching from my application. For the most part, everything works just fine however when I am processing the SNodes in the search results, there is occasionally a result in which one of my attributes which is a date field is being returned as a string value. All of the documents in the search results are attributed the same way with the same category, so it's not a matter of having mistaken the attribute type in the category; it is definitely a date field and the other SNode results see it as such.
I followed the C# example while setting up my search. It assumes that when you iterate over the strings in an SNode you can use the same iterator index to retrieve the attribute region name from the DataBagType. Because there is now an unexpected extra string (the date coming through as a string), I get an array index out of bounds exception.
What could possibly be causing this?