Attributes and nonrelevant="empty" on submission

I'm writing tests for submission, and I've come to a case that I don't  
know the answer to:

  <instance>
      <data xmlns="">
         <one value="1">uno</one>
         <two value="2">due</two>
      <data>
  </instance>
  <bind ref="two" relevant="false()"/>
  <submission resource="data.xml" nonrelevant="empty" method="put"/>

Does the data get serialized as

  <data xmlns="">
     <one value="1">uno</one>
     <two/>
  </data>

or as

  <data xmlns="">
     <one value="1">uno</one>
     <two value="2"/>
  </data>

?

Steven

Received on Sunday, 12 April 2020 20:35:20 UTC