TO DO

* Whole new 1.0 centric test suite.

* General code and documentation clean-up.

* Writer: better handling of declared namespace?

* Namespace declarations are stored like attributes. Is this
a problem?