If div is type chapter and has a xml:id the serialisation fails
There is a bug if your odd contains something like
<div type="chapter" xml:id="profileDesc">
The Transformation fails on line 87 and says that the class attribute can't be added twice. This is a bug in the code and I will fix it.
Edited by jbierma