Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.7.0
-
None
-
Windows XP
Description
The variables xsi_prefix, type_attrib, xsi_ns, and xsi_type_attri are sometimes not declared even when a code block later uses them. The condition controlling their generation is not the same as the condition of a block that uses them.
CADBBeanTemplateSource.xsl revision 909680
declaration blocks:
lines 3650, 3653:
<xsl:if test="@type or $isUnion">
<xsl:if test="@type">
used in block:
line 4149
<xsl:if test="count(property[@attribute])!=0 or @type">
Possible patch is to add 'count(property[@attribute])!=0' condition to the declaration tests. This change worked in at least one case but no run-time test done yet.