Description
Metadata (such as title) is added in the content. In my opinion it would be preferable that the toString () on the writer return only the content of the document and not metadata. The metadata are already stored in the metadata object
Rida.