add:support for bpelement reg in bpdocument