Aggregation Handling in XML Views with custom namespace
In Aggregation Handling in XML Views
https://sapui5.hana.ondemand.com/#docs/guide/19eabf5b13214f27b929b9473df3195b.html
it says
Note The namespace of the parent control tag and the aggregation tag must be the same.
Does this imply that you cannot use standard controls as aggregation types, when writing a custom control? How would one get around this?
No, this is not true.
The term "aggregation tag" refers to the tag with which you encapsulate the content of an aggregation. For the default aggregation of a control, this tag might be omitted, but for all other aggregations (or if you want to make the use of the default aggregation more obvious) it is necessary:
<View xmlns="sap.ui.core.mvc" xmlns:m="sap.m" xmlns:table="sap.ui.table" >
<m:Page >
<m:content> <!-- this is the 'aggregation tag' -->
<table:Table> <!-- namespace of content is independent from parent / aggregation tag -->
...
</m:content>
</m:Page>
</View>
So no need for a workaround, just works as expected.