Polymorphism doesn't work properly in lists

This pull request shows a failing test for polymorphism in lists:

1. The `realtype` attribute doesn't have the `yax` prefix (but is instead prefixed with `dp2`).
2.  The name of each item in the list is incorrect.
3. It's not possible to override the default `realtype` implementation with something integrated in the XML format.