Documentation fixes

* The changed XML documentation file should have been part of pullrequest #22
* An exception had two tiny typos
  * wrote a test around it
  * BTW: message is very helpful