The code wants Document to be an instance of SVGOMDocument. If Batik wants an SVGOMDocument internally, fine, but it should do tbe conversion itself from a regular DOM.
This is fixed in local copy expect commit later today (7/8/2003).