restored BaseX adapter