I added a very simple "exercise", using "task" for sub-parts (below). Held my breath, and, hah!, it Just Works (tm) in HTML and in PDF, with indentation, spacing. etc. Then I renamed Project 4.10 in the sample article as an "exercise" and it looks fine, except the "prelude" did not migrate to beforehand (likely neither did the "postlude" migrate to afterwards).
Plan would be to retain "regular" inline, divisional, and worksheet "exercise" as
exercise
statement
hint
answer
solution
which is also a structure allowed for PROJECT-LIKE ("project", "exploration", etc.). Then further structure would follow from what is allowed for PROJECT-LIKE, for example at one level of sub-parts (as tested)
exercise
introduction
task
answer
task
...
conclusion
Here SOLUTION-LIKE would be children of "task" (and only *terminal* task, when divided further).
So, some development opportunities for the committee of interested authors who've wanted this for years. This would be a great activity for tomorrow's drop-in development.
1. Rename some complicated divisional PROJECT-LIKE as "exercise" and see what breaks as an inline ("Checkpoint") exercise. (We know about "prelude" and "postlude")
2. Add some new task-structured "exercise" to "exercises" and "worksheet" divisions. I do not think this is a feature to add to reading questions, since it will complicate textboxes and scoring mechanisms for online versions.
See what you can break? xref, solution knowls, solutions in appendix, numbering, solutions manual; HTML and PDF. Contribute some gnarly test examples to the sample article.
Bonus points for reading this far and being first to reply with the cultural reference in the test exercise below.
Subsequent chore would be some XSL to unravel existing exercises using "ol" to structure sub-parts.
Rob
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<exercise xml:id="exercise-with-tasks">
<introduction>
<p>Ready, go.</p>
</introduction>
<task>
<p>Do this.</p>
</task>
<task>
<p>And the other thing.</p>
</task>
</exercise>