Yes that is correct.


Regards,

Bradd Kadlecik
z/TPF Development

Phone: 1-845-433-1573
E-mail:
braddk@us.ibm.com
2455 South Rd
Poughkeepsie, NY 12601-5400
United States


Inactive hide details for Mike Beckerle ---10/16/2019 05:54:07 PM---So my albeit clumsy workaround does achieve that. When unpaMike Beckerle ---10/16/2019 05:54:07 PM---So my albeit clumsy workaround does achieve that. When unparsing the myIVC element doesn't need to b

From: Mike Beckerle <mbeckerle.dfdl@gmail.com>
To: Bradd Kadlecik <braddk@us.ibm.com>
Cc: DFDL-WG <dfdl-wg@ogf.org>
Date: 10/16/2019 05:54 PM
Subject: [EXTERNAL] Re: [DFDL-WG] DFDL inputValueCalc restrictions





So my albeit clumsy workaround does achieve that. When unparsing the myIVC element doesn't need to be in the infoset. 

Daffodil, when unparsing, would look at the stream of infoset events, NOT find one for myIVC, (it would find one for something else presumably) and assume the choice has to go to the other branch which is an empty sequence.

It would then determine that NOT finding the myOVC element, it would synthesize one, and try to evaluate the OVC to give it a value. Actually, even if it finds myOVC in the infoset it's still going to evaluate the OVC calculation and overwrite the value.

So this may be "a" solution, albeit not necessarily the most desirable one.

Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology | www.tresys.com
Please note: Contributions to the DFDL Workgroup's email discussions are subject to the OGF Intellectual Property Policy



On Wed, Oct 16, 2019 at 4:55 PM Bradd Kadlecik <braddk@us.ibm.com> wrote:
Regards,

Bradd Kadlecik

z/TPF Development

Phone: 1-845-433-1573
E-mail:
braddk@us.ibm.com
2455 South Rd
Poughkeepsie, NY 12601-5400
United States

Phone: 1-845-433-1573
E-mail:
braddk@us.ibm.com
2455 South Rd
Poughkeepsie, NY 12601-5400
United States