ATDL4j bug in checkbox?

Imported from previous forum

I have a checkbox that I need to send out 1/0 instead of Y/N - I coded it as shown below - and I do get the 1/0 in the output that I want. But what I noticed that on the .Net version of the open source viewer it shows correctly, the default is checked. But on the Atdl4j when it comes up the checkbox is unchecked.

Is this a known bug in ATDL4j? I’m trying to figure out if this is a result of a bug or the way it was coded to support the correct wirevalues, don’t understand why the checkbox would not be checked when loaded in the ATDL4j version

Code is:



	  <Control xsi:type="CheckBox_t" ID="MustFinishDynaCheck" parameterRef="MustFinishDynaParam"  checkedEnumRef="e_True" uncheckedEnumRef="e_False" initValue="true" >
		<StateRule value="e_False" xmlns="http://www.fixprotocol.org/FIXatdl-1-1/Flow">
		  <Edit field="UrgencyACTVDrop" operator="EQ" value="UrgencyACTV1"  xmlns="http://www.fixprotocol.org/FIXatdl-1-1/Validation" />
	    </StateRule>
		<StateRule value="e_True" xmlns="http://www.fixprotocol.org/FIXatdl-1-1/Flow">
		  <Edit field="UrgencyACTVDrop" operator="NE" value="UrgencyACTV1"  xmlns="http://www.fixprotocol.org/FIXatdl-1-1/Validation" />
	    </StateRule>
	  </Control>

Separate follow-up determined that removing the “xmlns=” (namespace entries that are not necessary) attributes from StateRule and its Edit elements avoids the issue.

I have a checkbox that I need to send out 1/0 instead of Y/N - I coded it as shown below - and I do get the 1/0 in the output that I want. But what I noticed that on the .Net version of the open source viewer it shows correctly, the default is checked. But on the Atdl4j when it comes up the checkbox is unchecked.

Is this a known bug in ATDL4j? I’m trying to figure out if this is a result of a bug or the way it was coded to support the correct wirevalues, don’t understand why the checkbox would not be checked when loaded in the ATDL4j version

Code is:



    <Control xsi:type="CheckBox_t" ID="MustFinishDynaCheck" parameterRef="MustFinishDynaParam"  checkedEnumRef="e_True" uncheckedEnumRef="e_False" initValue="true" >
  	<StateRule value="e_False" xmlns="http://www.fixprotocol.org/FIXatdl-1-1/Flow">
  	  <Edit field="UrgencyACTVDrop" operator="EQ" value="UrgencyACTV1"  xmlns="http://www.fixprotocol.org/FIXatdl-1-1/Validation" />
      </StateRule>
  	<StateRule value="e_True" xmlns="http://www.fixprotocol.org/FIXatdl-1-1/Flow">
  	  <Edit field="UrgencyACTVDrop" operator="NE" value="UrgencyACTV1"  xmlns="http://www.fixprotocol.org/FIXatdl-1-1/Validation" />
      </StateRule>
    </Control>