Here are some considerations for SQL File format and deployment.
You will need to end file / if it contains Package Specification, Package Body, Trigger.
CREATE OR REPLACE PACKAGE xxhr_bipub_rep_pkg AS PROCEDURE generate_xml(p_errbuf OUT VARCHAR2 ,p_retcode OUT NUMBER); END xxhr_bipub_rep_pkg; / |