> I will report some of the issues I faced later.
> (e.g, the attribute setting invocation sometimes must be called after all
> elements are added.. but this looks not good API design for Pivot..)
Attributes are always processed in the closing tag. This is so cases such as
the following are properly handled:
<TabPane selectedIndex="2">
<tabs>
<Label text="A"/>
<Label text="B"/>
<Label text="C"/>
</tabs>
</TabPane>
If the attribute was processed in the opening tag, we'd get an
IndexOutOfBoundsException, since the Labels would not have been added yet.
G