[studxml-users] Asserts in next_expect functions
Boris Kolpackov
boris at codesynthesis.com
Wed Oct 18 10:59:10 EDT 2017
Ramisés Martins da Silva <ramises.silva at kryptus.com> writes:
> I'm curious about the "next_expect functions that also set the content". In
> it's implementation it is asserted that the event must be a start_element.
> My question is if the placement of this assert inside the function is
> important. For me it seems more natural that a blocking condition like an
> invalid parameter test comes first in the function.
Yes, I agree, and am not sure why we did it this way. Fixed for the
next release, thanks!
Boris
More information about the studxml-users
mailing list