File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change 11Rem
2- Rem $Header: rdbms/demo/schema/order_entry/xdbUtilities.sql /main/2 2011 /03/02 22:41:26 bhammers Exp $
2+ Rem $Header: rdbms/demo/schema/order_entry/xdbUtilities.sql maravish_bug-3267690 2/1 2021 /03/30 15:40:50 maravish Exp $
33Rem
44Rem xdbUtilities.sql
55Rem
@@ -34,6 +34,7 @@ Rem NOTES
3434Rem XDB_UTILITES should be created as XDB
3535Rem
3636Rem MODIFIED (MM/DD/YY)
37+ Rem maravish 03/25/21 - Bug 32676902: Remove xmlroot
3738Rem bhammers 01/24/11 - bug 11790062: rename XDB_ to COE_
3839Rem cbauwens 09/23/04 - cbauwens_bug3031915
3940Rem cbauwens 03/16/04 - Created
@@ -42,25 +43,6 @@ Rem cbauwens 03/16/04 - Created
4243ALTER SESSION SET current_schema = XDB
4344/
4445
45- CREATE OR REPLACE FUNCTION XMLROOT (XML XMLType, PI VARCHAR2 DEFAULT NULL)
46- RETURN XMLType DETERMINISTIC
47- IS
48- tempCLOB CLOB;
49- tempXML XMLType;
50- BEGIN
51- SELECT XMLParse(DOCUMENT '<?xml version="1.0" encoding="UTF-8"?>' || PI ||
52- XML.getClobVal() WELLFORMED)
53- INTO tempXML
54- FROM DUAL;
55- RETURN tempXML;
56- END;
57- /
58- SELECT * FROM all_errors WHERE owner = 'XDB'
59- /
60- CREATE OR REPLACE PUBLIC SYNONYM XMLROOT FOR XMLROOT
61- /
62- GRANT EXECUTE ON XMLROOT TO PUBLIC
63- /
6446CREATE OR REPLACE PACKAGE COE_namespaces
6547AS
6648 RESOURCE_NAMESPACE CONSTANT VARCHAR2(128) :=
You can’t perform that action at this time.
0 commit comments