This class is derived from ```XMLInterface``` which is derived from class ```Writer```. In the class ```Writer``` is a ```virtual int write(std::ostream& stream) = 0```. I thought that the implementation should respect the signature of ```write()```.