Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.0
-
None
-
VS2005
Description
In the CADBBeanTemplateSource.xsl template, the code for the _deserialize function has the following lines:
else
{
axiom_node_t *text_node = NULL;
text_node = axiom_node_get_first_child(parent, env);
axiom_text_t *text_element = NULL;
This seems to create a problem with MSVC2005. because the declaration of text_element is done
after a call to a function. Changing to the following should fix this issue.
else
{
axiom_node_t *text_node = NULL;
axiom_text_t *text_element = NULL;
text_node = axiom_node_get_first_child(parent, env);