Sixten, could you provide us with the first few lines (xml & doctype declaration, some comments) of your misbehaving document?
Sure. This is the prolog and root element of my document:
----------
<?xml version="1.0" ?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"><article role="Creature"> <!-- ... ~5kb snipped ... --> </article> ----------
After adding and retrieving the document, I've got this:
----------
<?xml version="1.0"?>
<!-- ...................................................................... --><!-- DocBook XML DTD V4.1.2 ................................................. --><!-- File docbookx.dtd .................................................... --><!-- ... ~110kb of other comments snipped ... --><article role="Creature">
<!-- ... ~5kb snipped ... -->
</article>
----------
If the whole documents would be of assistance, I can provide them off-list.
Sixten
