Skip to content

Commit 23193e9

Browse files
authored
Remove XMLROOT and public synonym (#9)
Signed-off-by: Gerald Venzl <[email protected]>
1 parent fde15ac commit 23193e9

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

order_entry/xdbUtilities.sql

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Rem
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 $
33
Rem
44
Rem xdbUtilities.sql
55
Rem
@@ -34,6 +34,7 @@ Rem NOTES
3434
Rem XDB_UTILITES should be created as XDB
3535
Rem
3636
Rem MODIFIED (MM/DD/YY)
37+
Rem maravish 03/25/21 - Bug 32676902: Remove xmlroot
3738
Rem bhammers 01/24/11 - bug 11790062: rename XDB_ to COE_
3839
Rem cbauwens 09/23/04 - cbauwens_bug3031915
3940
Rem cbauwens 03/16/04 - Created
@@ -42,25 +43,6 @@ Rem cbauwens 03/16/04 - Created
4243
ALTER 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-
/
6446
CREATE OR REPLACE PACKAGE COE_namespaces
6547
AS
6648
RESOURCE_NAMESPACE CONSTANT VARCHAR2(128) :=

0 commit comments

Comments
 (0)