[MOD] XQuery, Database Module: replacing binary resources