Make Document.deepReplaceId() work even if the document has no proper system ID with a base URI.
Make Document.deepReplaceId() work even if the document has no proper system ID with a base URI.

libris/librisxl,libris/librisxl,libris/librisxl