DBA Data[Home] [Help]

APPS.WF_EVENT_XML dependencies on WF_EVENT_XML

Line 1: package body WF_EVENT_XML as

1: package body WF_EVENT_XML as
2: /* $Header: wfevxmlb.pls 120.1 2005/07/02 03:48:18 appldev ship $ */
3: -----------------------------------------------------------------------------
4: function findTable(x_message in varchar2, p_tablename in varchar2)
5: return xmldom.DOMNodeList is

Line 27: wf_event_xml.masterTagName);

23: /*
24: ** Find The master node
25: */
26: l_node_list := xmldom.getElementsByTagName(l_doc,
27: wf_event_xml.masterTagName);
28: l_length := xmldom.getLength(l_node_list);
29: if l_length = 0 then
30: Wf_Core.Token('REASON', 'Could not find XML base node ' ||
31: wf_event_xml.masterTagName);

Line 31: wf_event_xml.masterTagName);

27: wf_event_xml.masterTagName);
28: l_length := xmldom.getLength(l_node_list);
29: if l_length = 0 then
30: Wf_Core.Token('REASON', 'Could not find XML base node ' ||
31: wf_event_xml.masterTagName);
32: Wf_Core.Raise('WFSQL_INTERNAL');
33: end if;
34:
35: -- There should never be more than one on the list, so we want the first.

Line 38: if l_node_name <> wf_event_xml.masterTagName then

34:
35: -- There should never be more than one on the list, so we want the first.
36: l_doc_node := xmldom.item(l_node_list, 0);
37: l_node_name := xmldom.getNodeName(l_doc_node);
38: if l_node_name <> wf_event_xml.masterTagName then
39: Wf_Core.Token('REASON', 'Could not find XML base node in list' ||
40: wf_event_xml.masterTagName);
41: Wf_Core.Raise('WFSQL_INTERNAL');
42: end if;

Line 40: wf_event_xml.masterTagName);

36: l_doc_node := xmldom.item(l_node_list, 0);
37: l_node_name := xmldom.getNodeName(l_doc_node);
38: if l_node_name <> wf_event_xml.masterTagName then
39: Wf_Core.Token('REASON', 'Could not find XML base node in list' ||
40: wf_event_xml.masterTagName);
41: Wf_Core.Raise('WFSQL_INTERNAL');
42: end if;
43:
44: /*

Line 70: wf_core.context('Wf_Event_XML', 'findTable', x_message);

66:
67: return l_node_list;
68: exception
69: when others then
70: wf_core.context('Wf_Event_XML', 'findTable', x_message);
71: raise;
72:
73: end findTable;
74:

Line 104: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

100: return l_node;
101:
102: exception
103: when xmldom.INDEX_SIZE_ERR then
104: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
105: raise;
106:
107: when xmldom.DOMSTRING_SIZE_ERR then
108: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

Line 108: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

104: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
105: raise;
106:
107: when xmldom.DOMSTRING_SIZE_ERR then
108: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
109: raise;
110:
111: when xmldom.HIERARCHY_REQUEST_ERR then
112: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

Line 112: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

108: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
109: raise;
110:
111: when xmldom.HIERARCHY_REQUEST_ERR then
112: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
113: raise;
114:
115: when xmldom.WRONG_DOCUMENT_ERR then
116: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

Line 116: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

112: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
113: raise;
114:
115: when xmldom.WRONG_DOCUMENT_ERR then
116: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
117: raise;
118:
119: when xmldom.INVALID_CHARACTER_ERR then
120: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

Line 120: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

116: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
117: raise;
118:
119: when xmldom.INVALID_CHARACTER_ERR then
120: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
121: raise;
122:
123: when xmldom.NO_DATA_ALLOWED_ERR then
124: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

Line 124: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

120: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
121: raise;
122:
123: when xmldom.NO_DATA_ALLOWED_ERR then
124: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
125: raise;
126:
127: when xmldom.NO_MODIFICATION_ALLOWED_ERR then
128: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

Line 128: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

124: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
125: raise;
126:
127: when xmldom.NO_MODIFICATION_ALLOWED_ERR then
128: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
129: raise;
130:
131: when xmldom.NOT_FOUND_ERR then
132: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

Line 132: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

128: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
129: raise;
130:
131: when xmldom.NOT_FOUND_ERR then
132: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
133: raise;
134:
135: when xmldom.NOT_SUPPORTED_ERR then
136: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

Line 136: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

132: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
133: raise;
134:
135: when xmldom.NOT_SUPPORTED_ERR then
136: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
137: raise;
138:
139: when xmldom.INUSE_ATTRIBUTE_ERR then
140: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

Line 140: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);

136: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
137: raise;
138:
139: when xmldom.INUSE_ATTRIBUTE_ERR then
140: wf_core.context('WF_EVENT_XML', 'NewTag', p_tag);
141: raise;
142:
143: end newTag;
144:

Line 172: end WF_EVENT_XML;

168: return varchar2
169: is language java name 'oracle.xml.parser.v2.XMLParser.getReleaseVersion() returns java.lang.String';
170:
171:
172: end WF_EVENT_XML;