Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.21.1
-
Fix Version/s: 1.22
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The enunciate-generated service is generating output that puts the Objc client code into an infinite recursion loop when it receives certain types of output.
Might happen in the C code too, if the libxml parser is the same. I haven't tried it.
Here is the suspect data returned from the service:
<assertions> <names> <name> <value> <forms> <form/> </forms> </value> </name> </names> <genders> <gender> <value> <type>Male</type> </value> </gender> </genders> </assertions>
Here is the enunciate xml parsing debug output:
2011-03-28 19:37:47.177 FSSearchDemo[6874:a0f] Attempting to read attribute {}type...
2011-03-28 19:37:47.177 FSSearchDemo[6874:a0f] successfully read attribute {}type...
2011-03-28 19:37:47.177 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}date of type {http://api.familysearch.org/familytree/v2}date.
2011-03-28 19:37:47.177 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}date of type {http://api.familysearch.org/familytree/v2}date.
2011-03-28 19:37:47.177 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}place of type {http://api.familysearch.org/familytree/v2}place.
2011-03-28 19:37:47.177 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}place of type {http://api.familysearch.org/familytree/v2}place.
2011-03-28 19:37:47.178 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}value of type {http://api.familysearch.org/familytree/v2}eventValue.
2011-03-28 19:37:47.178 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}value of type {http://api.familysearch.org/familytree/v2}nameValue.
2011-03-28 19:37:47.178 FSSearchDemo[6874:a0f] Unwrapping wrapper element {http://api.familysearch.org/familytree/v2}forms...
2011-03-28 19:37:47.178 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.178 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.179 FSSearchDemo[6874:a0f] successfully unwrapped wrapper element {http://api.familysearch.org/familytree/v2}forms...
2011-03-28 19:37:47.179 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}value of type {http://api.familysearch.org/familytree/v2}nameValue.
2011-03-28 19:37:47.179 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}value of type {http://api.familysearch.org/familytree/v2}nameValue.
2011-03-28 19:37:47.179 FSSearchDemo[6874:a0f] Unwrapping wrapper element {http://api.familysearch.org/familytree/v2}forms...
2011-03-28 19:37:47.179 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.180 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.180 FSSearchDemo[6874:a0f] successfully unwrapped wrapper element {http://api.familysearch.org/familytree/v2}forms...
2011-03-28 19:37:47.180 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}value of type {http://api.familysearch.org/familytree/v2}nameValue.
2011-03-28 19:37:47.180 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}value of type {http://api.familysearch.org/familytree/v2}nameValue.
2011-03-28 19:37:47.180 FSSearchDemo[6874:a0f] Unwrapping wrapper element {http://api.familysearch.org/familytree/v2}forms...
2011-03-28 19:37:47.181 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.181 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.181 FSSearchDemo[6874:a0f] successfully unwrapped wrapper element {http://api.familysearch.org/familytree/v2}forms...
2011-03-28 19:37:47.181 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}value of type {http://api.familysearch.org/familytree/v2}nameValue.
2011-03-28 19:37:47.181 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}value of type {http://api.familysearch.org/familytree/v2}eventValue.
2011-03-28 19:37:47.182 FSSearchDemo[6874:a0f] Attempting to read attribute {}type...
2011-03-28 19:37:47.182 FSSearchDemo[6874:a0f] successfully read attribute {}type...
2011-03-28 19:37:47.182 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}date of type {http://api.familysearch.org/familytree/v2}date.
2011-03-28 19:37:47.182 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}date of type {http://api.familysearch.org/familytree/v2}date.
2011-03-28 19:37:47.182 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}place of type {http://api.familysearch.org/familytree/v2}place.
2011-03-28 19:37:47.183 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}place of type {http://api.familysearch.org/familytree/v2}place.
2011-03-28 19:37:47.183 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}value of type {http://api.familysearch.org/familytree/v2}eventValue.
2011-03-28 19:37:47.183 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}value of type {http://api.familysearch.org/familytree/v2}nameValue.
2011-03-28 19:37:47.183 FSSearchDemo[6874:a0f] Unwrapping wrapper element {http://api.familysearch.org/familytree/v2}forms...
2011-03-28 19:37:47.183 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.183 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.184 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.184 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.184 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.184 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.184 FSSearchDemo[6874:a0f] Attempting to read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
2011-03-28 19:37:47.185 FSSearchDemo[6874:a0f] successfully read choice {http://api.familysearch.org/familytree/v2}form of type {http://api.familysearch.org/familytree/v2}nameForm.
...... recursion forever