I am looking in the spec for guidance about the evaluation order of assert statements.

We used to have before/after control properties, but eliminated them.

If I annotate a simpleType'd element with an assert that says { . eq 'x' }, that of necessity references the current value, so must execute after the value has been computed.

If on the other hand I annotate a complexType element with a discriminator that says { ../flag eq 'C1' } then this of necessity must execute before I go after the contents because the whole point is to evalutate the discriminator first.

Did we ever articulate exactly what the rules are here about order of evaluation?

Thanks for reminders

..mikeb

--
Mike Beckerle | OGF DFDL WG Co-Chair 
Tel:  781-330-0412