XML Schema based XMLType column leaves file open on error

Hello,
I have the following situation on both oracle 10.1.0.2.0 and 10.1.0.4.0:
insert into xml_products (xmlfile) values(bfilename(file_loc, char_id));
"xmlfile" is a xmltype column based on a registered xml schema.
When the file fails xml schema validation, the file remains open and I cannot move it until i close the session.
Is this a bug or an "intentional feature"?
Any workarounds?
Thanks,
Flavio

All right Mark,
thanks for your reply.
Meanwhile I fixed the problem and posted my workaround here:
http://oraclequirks.blogspot.com/2005/11/ora-29292-and-xmltype.html
Bye,
Flavio

Similar Messages

  • Insert performance on a table with schema based XMLType column

    Hi,
    We are inserting around 500K rows into a table which has one XMLType column (schema based). Schema is simple and the size of the XMLType column is also not very large (on an average only around 100 bytes (max might be around 1k-2k), but it takes around 1 hr for every 20K rows, which seems very slow.
    The schema is like this :
    <schema targetNamespace="http://www.citadon.com/xml/test.xsd"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:xdb="http://xmlns.oracle.com/xdb"
    xdb:storeVarrayAsTable="true"
    version="1.0" elementFormDefault="qualified">
    <element name="cas">
    <complexType>
    <sequence>
    <element name="ca" minOccurs="0" maxOccurs="unbounded">
    <complexType>
    <sequence>
    <element name="id" type="string"/>
    <element name="value" type="string"/>
    </sequence>
    </complexType>
    </element>
    </sequence>
    </complexType>
    </element>
    </schema>
    Any thoughts on how to improve performance?
    -Srini

    You need to have sufficient data.. Also the event show in the following code may help depending on the nature of the query....
    Note in the PurchaseOrder Example if I only have 133 docs, instead of 10,000 I will get tablescan and index full scans
    C:\oracle\xdb\bugs\xdbBasicDemo>sqlplus /nolog @testcase XDBTEST XDBTEST
    SQL*Plus: Release 10.1.0.3.0 - Production on Fri Aug 27 22:57:36 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> spool testcase.log
    SQL> set trimspool on
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> set long 10000
    SQL> set pages 10000
    SQL> set feedback on
    SQL> set lines 132
    SQL> set pages 50
    SQL> --
    SQL> drop index iPartNumberIndex
    2 /
    Index dropped.
    Elapsed: 00:00:02.25
    SQL> alter index LINEITEM_LIST rebuild
    2 /
    Index altered.
    Elapsed: 00:00:02.15
    SQL> desc PURCHASEORDER
    Name Null? Type
    TABLE of SYS.XMLTYPE(XMLSchema "http://localhost:8080/home/SCOTT/poSource/xsd/purchaseOrder.xsd" Element "Pu
    ject-relational TYPE "PURCHASEORDER_T"
    SQL> --
    SQL> col level format 99999
    SQL> col parent_table_column format A32
    SQL> col table_name format A32
    SQL> col table_type_name format A32
    SQL> --
    SQL> select level, PARENT_TABLE_COLUMN, TABLE_TYPE_NAME, TABLE_NAME
    2 from USER_NESTED_TABLES
    3 connect by PRIOR TABLE_NAME = PARENT_TABLE_NAME
    4 start with PARENT_TABLE_NAME = 'PURCHASEORDER'
    5 /
    LEVEL PARENT_TABLE_COLUMN TABLE_TYPE_NAME TABLE_NAME
    1 "XMLDATA"."ACTIONS"."ACTION" ACTION_V ACTION_TABLE
    1 "XMLDATA"."LINEITEMS"."LINEITEM" LINEITEM_V LINEITEM_TABLE
    2 rows selected.
    Elapsed: 00:00:13.60
    SQL> desc LINEITEM_T
    LINEITEM_T is NOT FINAL
    Name Null? Type
    SYS_XDBPD$ XDB.XDB$RAW_LIST_T
    ITEMNUMBER NUMBER(38)
    DESCRIPTION VARCHAR2(256 CHAR)
    PART PART_T
    SQL> --
    SQL> desc PART_T
    PART_T is NOT FINAL
    Name Null? Type
    SYS_XDBPD$ XDB.XDB$RAW_LIST_T
    PART_NUMBER VARCHAR2(14 CHAR)
    QUANTITY NUMBER(12,2)
    UNITPRICE NUMBER(8,4)
    SQL> --
    SQL> select count(*)
    2 from purchaseorder
    3 /
    COUNT(*)
    10000
    1 row selected.
    Elapsed: 00:00:05.31
    SQL> select count(*)
    2 from purchaseorder,
    3 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
    4 /
    COUNT(*)
    148814
    1 row selected.
    Elapsed: 00:09:40.54
    SQL> create index iPartNumberIndex
    2 on LINEITEM_TABLE l
    3 ( l.PART.PART_NUMBER,NESTED_TABLE_ID)
    4 /
    Index created.
    Elapsed: 00:00:36.11
    SQL> explain plan for
    2 select count(*)
    3 from purchaseorder
    4 where existsNode(object_value,'/PurchaseOrder/LineItems/LineItem[Part/@Id="717951002372"]') = 1
    5 /
    Explained.
    Elapsed: 00:00:01.14
    SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
    2 /
    PLAN_TABLE_OUTPUT
    Plan hash value: 2571550067
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 116 | 93 (2)| 00:00:02 |
    | 1 | SORT AGGREGATE | | 1 | 116 | | |
    | 2 | NESTED LOOPS | | 25 | 2900 | 93 (2)| 00:00:02 |
    | 3 | SORT UNIQUE | | 25 | 1675 | 79 (0)| 00:00:01 |
    |* 4 | INDEX UNIQUE SCAN | LINEITEM_DATA | 25 | 1675 | 79 (0)| 00:00:01 |
    |* 5 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | | 3 (0)| 00:00:01 |
    |* 6 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 49 | 1 (0)| 00:00:01 |
    |* 7 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    4 - access("SYS_NC00011$"='717951002372')
    5 - access("SYS_NC00011$"='717951002372')
    6 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
    xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in
    stance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
    http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-propert
    ies/><read-contents/></privilege>''))=1)
    7 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
    26 rows selected.
    Elapsed: 00:00:03.12
    SQL> select count(*)
    2 from purchaseorder
    3 where existsNode(object_value,'/PurchaseOrder/LineItems/LineItem[Part/@Id="717951002372"]') = 1
    4 /
    COUNT(*)
    33
    1 row selected.
    Elapsed: 00:00:04.63
    SQL> select count(*)
    2 from purchaseorder,
    3 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
    4 where existsNode(value(l),'/LineItem[Part/@Id="717951002372"]') = 1
    5 /
    COUNT(*)
    33
    1 row selected.
    Elapsed: 00:00:00.32
    SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
    2 /
    PLAN_TABLE_OUTPUT
    Plan hash value: 2571550067
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 116 | 93 (2)| 00:00:02 |
    | 1 | SORT AGGREGATE | | 1 | 116 | | |
    | 2 | NESTED LOOPS | | 25 | 2900 | 93 (2)| 00:00:02 |
    | 3 | SORT UNIQUE | | 25 | 1675 | 79 (0)| 00:00:01 |
    |* 4 | INDEX UNIQUE SCAN | LINEITEM_DATA | 25 | 1675 | 79 (0)| 00:00:01 |
    |* 5 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | | 3 (0)| 00:00:01 |
    |* 6 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 49 | 1 (0)| 00:00:01 |
    |* 7 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    4 - access("SYS_NC00011$"='717951002372')
    5 - access("SYS_NC00011$"='717951002372')
    6 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
    xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in
    stance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
    http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-propert
    ies/><read-contents/></privilege>''))=1)
    7 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
    26 rows selected.
    Elapsed: 00:00:00.04
    SQL> explain plan for
    2 select extractValue(object_value,'/PurchaseOrder/Reference')
    3 from purchaseorder,
    4 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
    5 where existsNode(value(l),'/LineItem[Part/@Id="717951002372"]') = 1
    6 /
    Explained.
    Elapsed: 00:00:00.07
    SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
    2 /
    PLAN_TABLE_OUTPUT
    Plan hash value: 713363872
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 25 | 8000 | 104 (0)| 00:00:02 |
    | 1 | NESTED LOOPS | | 25 | 8000 | 104 (0)| 00:00:02 |
    |* 2 | INDEX UNIQUE SCAN | LINEITEM_DATA | 25 | 1675 | 79 (0)| 00:00:01 |
    |* 3 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | | 3 (0)| 00:00:01 |
    |* 4 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 253 | 1 (0)| 00:00:01 |
    |* 5 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - access("SYS_NC00011$"='717951002372')
    3 - access("SYS_NC00011$"='717951002372')
    4 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
    xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i
    nstance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
    http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-proper
    ties/><read-contents/></privilege>''))=1)
    5 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
    24 rows selected.
    Elapsed: 00:00:00.04
    SQL> select extractValue(object_value,'/PurchaseOrder/Reference')
    2 from purchaseorder,
    3 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
    4 where existsNode(value(l),'/LineItem[Part/@Id="717951002372"]') = 1
    5 /
    EXTRACTVALUE(OBJECT_VALUE,'/PU
    MWEISS-20030616154327385GMT
    NSARCHAN-20030703170041824GMT
    HBAER-20030206173836987GMT
    LOZER-20031110131149107GMT
    WTAYLOR-20030120174534374GMT
    MHARTSTE-20031103172937613GMT
    KGEE-20030919215826550GMT
    PSULLY-20030712141634504GMT
    JPATEL-20030630175356693GMT
    RMATOS-2003072920455000GMT
    DRAPHEAL-20030528180033254GMT
    JRUSSEL-20031121213026539GMT
    PTUCKER-20030918160532301GMT
    SVOLLMAN-20031027120838903GMT
    WGIETZ-20030208185026303GMT
    TFOX-20030110164614994GMT
    JPATEL-20030304214301386GMT
    GGEONI-20030606135257846GMT
    STOBIAS-20030817120358785GMT
    COLSEN-20030525200717658GMT
    SBAIDA-20030224182546606GMT
    IMIKKILI-20030118180347537GMT
    ABULL-20030429162730766GMT
    NSARCHAN-20031113183134873GMT
    LBISSOT-20030809134114505GMT
    JKING-20030420162058859GMT
    JMALLIN-20030506152048261GMT
    AFRIPP-20030311153808601GMT
    SHIGGINS-20030831151756257GMT
    DBERNSTE-20030626122725631GMT
    KPARTNER-20031021160248962GMT
    ABANDA-2003062721524842GMT
    DOCONNEL-20030904214708637GMT
    33 rows selected.
    Elapsed: 00:00:00.07
    SQL> explain plan for
    2 select extractValue(object_value,'/PurchaseOrder/Reference')
    3 from purchaseorder
    4 where existsNode
    5 (
    6 object_value,
    7 '/PurchaseOrder/LineItems/LineItem/Part[@Id="717951002372"]'
    8 ) = 1
    9 /
    Explained.
    Elapsed: 00:00:00.02
    SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
    2 /
    PLAN_TABLE_OUTPUT
    Plan hash value: 849879259
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 25 | 8000 | 93 (2)| 00:00:02 |
    | 1 | NESTED LOOPS | | 25 | 8000 | 93 (2)| 00:00:02 |
    | 2 | SORT UNIQUE | | 25 | 1675 | 79 (0)| 00:00:01 |
    |* 3 | INDEX UNIQUE SCAN | LINEITEM_DATA | 25 | 1675 | 79 (0)| 00:00:01 |
    |* 4 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | | 3 (0)| 00:00:01 |
    |* 5 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 253 | 1 (0)| 00:00:01 |
    |* 6 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    3 - access("SYS_NC00011$"='717951002372')
    4 - access("SYS_NC00011$"='717951002372')
    5 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
    xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i
    nstance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
    http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-proper
    ties/><read-contents/></privilege>''))=1)
    6 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
    25 rows selected.
    Elapsed: 00:00:00.03
    SQL> select extractValue(object_value,'/PurchaseOrder/Reference')
    2 from purchaseorder
    3 where existsNode
    4 (
    5 object_value,
    6 '/PurchaseOrder/LineItems/LineItem/Part[@Id="717951002372"]'
    7 ) = 1
    8 /
    EXTRACTVALUE(OBJECT_VALUE,'/PU
    MWEISS-20030616154327385GMT
    NSARCHAN-20030703170041824GMT
    HBAER-20030206173836987GMT
    LOZER-20031110131149107GMT
    WTAYLOR-20030120174534374GMT
    MHARTSTE-20031103172937613GMT
    KGEE-20030919215826550GMT
    PSULLY-20030712141634504GMT
    JPATEL-20030630175356693GMT
    RMATOS-2003072920455000GMT
    DRAPHEAL-20030528180033254GMT
    JRUSSEL-20031121213026539GMT
    PTUCKER-20030918160532301GMT
    SVOLLMAN-20031027120838903GMT
    WGIETZ-20030208185026303GMT
    TFOX-20030110164614994GMT
    JPATEL-20030304214301386GMT
    GGEONI-20030606135257846GMT
    STOBIAS-20030817120358785GMT
    COLSEN-20030525200717658GMT
    SBAIDA-20030224182546606GMT
    IMIKKILI-20030118180347537GMT
    ABULL-20030429162730766GMT
    NSARCHAN-20031113183134873GMT
    LBISSOT-20030809134114505GMT
    JKING-20030420162058859GMT
    JMALLIN-20030506152048261GMT
    AFRIPP-20030311153808601GMT
    SHIGGINS-20030831151756257GMT
    DBERNSTE-20030626122725631GMT
    KPARTNER-20031021160248962GMT
    ABANDA-2003062721524842GMT
    DOCONNEL-20030904214708637GMT
    33 rows selected.
    Elapsed: 00:00:00.04
    SQL> alter session set events ='19027 trace name context forever, level 0x800000'
    2 /
    Session altered.
    Elapsed: 00:00:00.00
    SQL> explain plan for
    2 select count(*)
    3 from purchaseorder
    4 where existsNode(object_value,'/PurchaseOrder/LineItems/LineItem[Part/@Id="717951002372"]') = 1
    5 /
    Explained.
    Elapsed: 00:00:00.03
    SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
    2 /
    PLAN_TABLE_OUTPUT
    Plan hash value: 3049344732
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 69 | 17 (6)| 00:00:01 |
    | 1 | SORT AGGREGATE | | 1 | 69 | | |
    | 2 | NESTED LOOPS | | 25 | 1725 | 17 (6)| 00:00:01 |
    | 3 | SORT UNIQUE | | 25 | 750 | 3 (0)| 00:00:01 |
    |* 4 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | 750 | 3 (0)| 00:00:01 |
    |* 5 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 39 | 1 (0)| 00:00:01 |
    |* 6 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    4 - access("SYS_NC00011$"='717951002372')
    5 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
    xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in
    stance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
    http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-propert
    ies/><read-contents/></privilege>''))=1)
    6 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
    24 rows selected.
    Elapsed: 00:00:00.03
    SQL> select count(*)
    2 from purchaseorder
    3 where existsNode(object_value,'/PurchaseOrder/LineItems/LineItem[Part/@Id="717951002372"]') = 1
    4 /
    COUNT(*)
    33
    1 row selected.
    Elapsed: 00:00:00.01
    SQL> select count(*)
    2 from purchaseorder,
    3 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
    4 where existsNode(value(l),'/LineItem[Part/@Id="717951002372"]') = 1
    5 /
    COUNT(*)
    33
    1 row selected.
    Elapsed: 00:00:00.01
    SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
    2 /
    PLAN_TABLE_OUTPUT
    Plan hash value: 3049344732
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 69 | 17 (6)| 00:00:01 |
    | 1 | SORT AGGREGATE | | 1 | 69 | | |
    | 2 | NESTED LOOPS | | 25 | 1725 | 17 (6)| 00:00:01 |
    | 3 | SORT UNIQUE | | 25 | 750 | 3 (0)| 00:00:01 |
    |* 4 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | 750 | 3 (0)| 00:00:01 |
    |* 5 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 39 | 1 (0)| 00:00:01 |
    |* 6 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    4 - access("SYS_NC00011$"='717951002372')
    5 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
    xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in
    stance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
    http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-propert
    ies/><read-contents/></privilege>''))=1)
    6 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
    24 rows selected.
    Elapsed: 00:00:00.03
    SQL> explain plan for
    2 select extractValue(object_value,'/PurchaseOrder/Reference')
    3 from purchaseorder,
    4 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
    5 where existsNode(value(l),'/LineItem[Part/@Id="717951002372"]') = 1
    6 /
    Explained.
    Elapsed: 00:00:00.06
    SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
    2 /
    PLAN_TABLE_OUTPUT
    Plan hash value: 1516269755
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 25 | 2450 | 28 (0)| 00:00:01 |
    | 1 | NESTED LOOPS | | 25 | 2450 | 28 (0)| 00:00:01 |
    |* 2 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | 750 | 3 (0)| 00:00:01 |
    |* 3 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 68 | 1 (0)| 00:00:01 |
    |* 4 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - access("SYS_NC00011$"='717951002372')
    3 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
    xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i
    nstance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
    http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-proper
    ties/><read-contents/></privilege>''))=1)
    4 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
    22 rows selected.
    Elapsed: 00:00:00.04
    SQL> select extractValue(object_value,'/PurchaseOrder/Reference')
    2 from purchaseorder,
    3 table (xmlsequence(extract(object_value,'/PurchaseOrder/LineItems/LineItem'))) l
    4 where existsNode(value(l),'/LineItem[Part/@Id="717951002372"]') = 1
    5 /
    EXTRACTVALUE(OBJECT_VALUE,'/PU
    MWEISS-20030616154327385GMT
    NSARCHAN-20030703170041824GMT
    HBAER-20030206173836987GMT
    LOZER-20031110131149107GMT
    WTAYLOR-20030120174534374GMT
    MHARTSTE-20031103172937613GMT
    KGEE-20030919215826550GMT
    PSULLY-20030712141634504GMT
    JPATEL-20030630175356693GMT
    RMATOS-2003072920455000GMT
    DRAPHEAL-20030528180033254GMT
    JRUSSEL-20031121213026539GMT
    PTUCKER-20030918160532301GMT
    SVOLLMAN-20031027120838903GMT
    WGIETZ-20030208185026303GMT
    TFOX-20030110164614994GMT
    JPATEL-20030304214301386GMT
    GGEONI-20030606135257846GMT
    STOBIAS-20030817120358785GMT
    COLSEN-20030525200717658GMT
    SBAIDA-20030224182546606GMT
    IMIKKILI-20030118180347537GMT
    ABULL-20030429162730766GMT
    NSARCHAN-20031113183134873GMT
    LBISSOT-20030809134114505GMT
    JKING-20030420162058859GMT
    JMALLIN-20030506152048261GMT
    AFRIPP-20030311153808601GMT
    SHIGGINS-20030831151756257GMT
    DBERNSTE-20030626122725631GMT
    KPARTNER-20031021160248962GMT
    ABANDA-2003062721524842GMT
    DOCONNEL-20030904214708637GMT
    33 rows selected.
    Elapsed: 00:00:00.01
    SQL> explain plan for
    2 select extractValue(object_value,'/PurchaseOrder/Reference')
    3 from purchaseorder
    4 where existsNode
    5 (
    6 object_value,
    7 '/PurchaseOrder/LineItems/LineItem/Part[@Id="717951002372"]'
    8 ) = 1
    9 /
    Explained.
    Elapsed: 00:00:00.03
    SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'serial'))
    2 /
    PLAN_TABLE_OUTPUT
    Plan hash value: 1197255270
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 25 | 2450 | 17 (6)| 00:00:01 |
    | 1 | NESTED LOOPS | | 25 | 2450 | 17 (6)| 00:00:01 |
    | 2 | SORT UNIQUE | | 25 | 750 | 3 (0)| 00:00:01 |
    |* 3 | INDEX RANGE SCAN | IPARTNUMBERINDEX | 25 | 750 | 3 (0)| 00:00:01 |
    |* 4 | TABLE ACCESS BY INDEX ROWID| PURCHASEORDER | 1 | 68 | 1 (0)| 00:00:01 |
    |* 5 | INDEX UNIQUE SCAN | LINEITEM_LIST | 1 | | 0 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    3 - access("SYS_NC00011$"='717951002372')
    4 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype(''<privilege
    xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i
    nstance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
    http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-proper
    ties/><read-contents/></privilege>''))=1)
    5 - access("NESTED_TABLE_ID"="PURCHASEORDER"."SYS_NC0003400035$")
    23 rows selected.
    Elapsed: 00:00:00.03
    SQL> select extractValue(object_value,'/PurchaseOrder/Reference')
    2 from purchaseorder
    3 where existsNode
    4 (
    5 object_value,
    6 '/PurchaseOrder/LineItems/LineItem/Part[@Id="717951002372"]'
    7 ) = 1
    8 /
    EXTRACTVALUE(OBJECT_VALUE,'/PU
    MWEISS-20030616154327385GMT
    NSARCHAN-20030703170041824GMT
    HBAER-20030206173836987GMT
    LOZER-20031110131149107GMT
    WTAYLOR-20030120174534374GMT
    MHARTSTE-20031103172937613GMT
    KGEE-20030919215826550GMT
    PSULLY-20030712141634504GMT
    JPATEL-20030630175356693GMT
    RMATOS-2003072920455000GMT
    DRAPHEAL-20030528180033254GMT
    JRUSSEL-20031121213026539GMT
    PTUCKER-20030918160532301GMT
    SVOLLMAN-20031027120838903GMT
    WGIETZ-20030208185026303GMT
    TFOX-20030110164614994GMT
    JPATEL-20030304214301386GMT
    GGEONI-20030606135257846GMT
    STOBIAS-20030817120358785GMT
    COLSEN-20030525200717658GMT
    SBAIDA-20030224182546606GMT
    IMIKKILI-20030118180347537GMT
    ABULL-20030429162730766GMT
    NSARCHAN-20031113183134873GMT
    LBISSOT-20030809134114505GMT
    JKING-20030420162058859GMT
    JMALLIN-20030506152048261GMT
    AFRIPP-20030311153808601GMT
    SHIGGINS-20030831151756257GMT
    DBERNSTE-20030626122725631GMT
    KPARTNER-20031021160248962GMT
    ABANDA-2003062721524842GMT
    DOCONNEL-20030904214708637GMT
    33 rows selected.
    Elapsed: 00:00:00.03
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options

  • Insert data into the xml schema-based xmltype table problem!

    Hello, there,
    I got problem in inserting data into the xmltype table after registered XML schema and created table. details see below:
    1) xml schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by Constantin Ilea (EMERGIS INC) -->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.emergis.com/eHealth/EHIP/data/meta/profile:v1" targetNamespace="http://www.emergis.com/eHealth/EHIP/data/meta/profile:v1" elementFormDefault="qualified">
         <!-- ************** PART I: BEGIN SIMPLE OBJECT TYPE DEFINITIONS ********************************** -->
         <xs:simpleType name="RoutingType">
              <xs:restriction base="xs:string">
                   <xs:enumeration value="Synch"/>
                   <xs:enumeration value="Asynch"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="StatusType">
              <xs:restriction base="xs:string">
                   <xs:enumeration value="ACTIVE"/>
                   <xs:enumeration value="VOID"/>
                   <xs:enumeration value="PENDING"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="SenderApplicationType">
              <xs:restriction base="xs:string">
                   <xs:enumeration value="PR"/>
                   <xs:enumeration value="CR"/>
                   <xs:enumeration value="POS"/>
                   <xs:enumeration value="CPP"/>
                   <xs:enumeration value="Other"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="ServiceTypeType">
              <xs:restriction base="xs:string">
                   <xs:enumeration value="IS"/>
                   <xs:enumeration value="WS"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="RouteDirect">
              <xs:restriction base="xs:string">
                   <xs:enumeration value="Request"/>
                   <xs:enumeration value="Reply"/>
                   <xs:enumeration value="None"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="Indicator">
              <xs:annotation>
                   <xs:documentation>can we also change the value to "ON" and "OFF" instead? in this way this cn be shared by all type of switch indicator</xs:documentation>
              </xs:annotation>
              <xs:restriction base="xs:string">
                   <xs:enumeration value="YES"/>
                   <xs:enumeration value="NO"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="RuleType">
              <xs:restriction base="xs:string">
                   <xs:enumeration value="ControlAct"/>
                   <xs:enumeration value="WSPolicy"/>
                   <xs:enumeration value="AccessControl"/>
                   <xs:enumeration value="Certification"/>
                   <xs:enumeration value="MessageConformance"/>
                   <xs:enumeration value="Variant"/>
                   <xs:enumeration value="Routing"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="HL7Result">
              <xs:restriction base="xs:string">
                   <xs:enumeration value="ACCEPT"/>
                   <xs:enumeration value="REFUSE"/>
                   <xs:enumeration value="REJECT"/>
                   <xs:enumeration value="ACK"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="IIPType">
              <xs:restriction base="xs:string">
                   <xs:enumeration value="PUT"/>
                   <xs:enumeration value="GET/LIST"/>
                   <xs:enumeration value="NOTIF"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="ProfileTypeType">
              <xs:restriction base="xs:string">
                   <xs:enumeration value="IIPProfile"/>
                   <xs:enumeration value="BizOperationProfile"/>
                   <xs:enumeration value="OrchestrationProfile"/>
                   <xs:enumeration value="DomainObjectProfile"/>
                   <xs:enumeration value="ServiceProfile"/>
                   <xs:enumeration value="ExceptionProfile"/>
                   <xs:enumeration value="CustomizedProfile"/>
                   <xs:enumeration value="SystemProfile"/>
                   <xs:enumeration value="HL7XMLSchemaProfile"/>
                   <xs:enumeration value="EnricherParametersProfile"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="ParameterType">
              <xs:restriction base="xs:string">
                   <xs:enumeration value="String"/>
                   <xs:enumeration value="Object"/>
                   <xs:enumeration value="Number"/>
                   <xs:enumeration value="Document"/>
              </xs:restriction>
         </xs:simpleType>
         <!-- ************** PART I: END SIMPLE OBJECT TYPE DEFINITIONS ********************************** -->
         <!-- ************** PART II: BEGIN COMPLEX OBJECT TYPE DEFINITIONS ********************************** -->
         <!-- *********************** begin new added objects, by rshan *************************************** -->
         <xs:complexType name="ProfileType">
              <xs:annotation>
                   <xs:documentation>
              1.Profile IS USED TO BE AN WRAPPER ELEMENT FOR ALL KIND OF PROFILES NO MATTER WHAT KIND OF PROFILE IT IS
              2.ProfileID used to uniquely identify the current profile
              3.ProfileData used to hold all the necessary profile related data
              </xs:documentation>
              </xs:annotation>
              <xs:sequence>
                   <xs:element name="ProfileID" type="ProfileIDType">
                        <xs:annotation>
                             <xs:documentation>this will hold all the common attributes, espically the global unique identifier to the profile, no matter what type of profile is</xs:documentation>
                        </xs:annotation>
                   </xs:element>
                   <xs:element name="ProfileData" type="ProfileDataType">
                        <xs:annotation>
                             <xs:documentation>all the non-common profile meta data that attached to each specific profile type such as IIPProfile, OrchestrationProfile, and BizOperationProfile will be placed here</xs:documentation>
                        </xs:annotation>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="ProfileIDType">
              <xs:annotation>
                   <xs:documentation>global unique identifier and all the common attributes across all different profiles, the @ID and @Type together will be used as the primary key to identify the profile data</xs:documentation>
              </xs:annotation>
              <xs:attribute name="ID" type="xs:ID" use="required">
                   <xs:annotation>
                        <xs:documentation>ID is the global unique identifier to the profile, no matter what type of profile it is</xs:documentation>
                   </xs:annotation>
              </xs:attribute>
              <xs:attribute name="Name"/>
              <xs:attribute name="Description"/>
              <xs:attribute name="Version">
                   <xs:annotation>
                        <xs:documentation>version of the profile data</xs:documentation>
                   </xs:annotation>
              </xs:attribute>
              <xs:attribute name="Type" type="ProfileTypeType" use="required">
                   <xs:annotation>
                        <xs:documentation>value to identify the ProfileType type within
                        IIPProfile,BizOperationProfile,OrchestrationProfile,DomainObjectProfile
                        ServiceProfile,ExceptionProfile,SystemProfile,HL7XMLSchemaProfile,
                        EnricherParametersProfile,CustomizedProfile
                        </xs:documentation>
                   </xs:annotation>
              </xs:attribute>
              <xs:attribute name="Status" type="StatusType" default="ACTIVE">
                   <xs:annotation>
                        <xs:documentation>used to show the related profile data status like "ACTIVE","PENDING","VOID"...</xs:documentation>
                   </xs:annotation>
              </xs:attribute>
              <!--
              <xs:sequence>
                   <xs:element name="ProfileReference" type="ProfileIDType" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                             <xs:documentation>this will be the place to hold the integrity relationship with other profiles like foreign key if existed and necessary to show up</xs:documentation>
                        </xs:annotation>
                   </xs:element>
              </xs:sequence>
              -->
         </xs:complexType>
         <xs:complexType name="ProfileDataType">
              <xs:annotation>
                   <xs:documentation>meta data associated tightly to each specific type of profile</xs:documentation>
              </xs:annotation>
              <xs:choice>
                   <xs:element name="EnricherParametersProfileData" type="EnricherParametersDataType">
                        <xs:annotation>
                             <xs:documentation>Enricher Parameters related profile data
                   1. one instance of this type may contains all the related System metadata.
                   2. idType part may use to identify different version/release/status
                   </xs:documentation>
                        </xs:annotation>
                   </xs:element>
                   <xs:element name="ExtendProfileData" type="ExtendProfileDataType">
                        <xs:annotation>
                             <xs:documentation>If needed, any profile data not defined within the current release scope can be added here </xs:documentation>
                        </xs:annotation>
                   </xs:element>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="ExtendProfileDataType">
              <xs:sequence>
                   <xs:element name="ExtendProfile" type="xs:anyType" minOccurs="0"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="EnricherParametersDataType">
              <xs:sequence>
                   <xs:element name="EnricherParameter" type="EnricherParameter" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="EnricherParameter">
              <xs:sequence>
                   <xs:element ref="Enricher"/>
              </xs:sequence>
              <xs:attribute name="serviceName" type="xs:string" use="required"/>
              <xs:attribute name="interactionID" type="xs:string"/>
         </xs:complexType>
         <xs:element name="Enricher">
              <xs:annotation>
                   <xs:documentation>Comment describing your root element</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="Parameters" type="Parameters"/>
                        <xs:element ref="Section" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:complexType name="ValueType">
              <xs:attribute name="field" use="required"/>
              <xs:attribute name="value"/>
              <xs:attribute name="action"/>
         </xs:complexType>
         <xs:element name="Section">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="Value" type="ValueType" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Section" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
                   <xs:attribute name="path" use="required"/>
              </xs:complexType>
         </xs:element>
         <xs:complexType name="Parameters">
              <xs:sequence>
                   <xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
                        <xs:complexType>
                             <xs:attribute name="name" use="required"/>
                             <xs:attribute name="reference"/>
                        </xs:complexType>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="RuleList">
              <xs:annotation>
                   <xs:documentation>an array of rules</xs:documentation>
              </xs:annotation>
              <xs:sequence>
                   <xs:element name="Rule" type="RuleProfile" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="RuleProfile">
              <xs:attribute name="RName" use="required"/>
              <xs:attribute name="RType" type="RuleType" use="required"/>
              <xs:attribute name="Status" default="ON">
                   <xs:annotation>
                        <xs:documentation>By default is ON (or if is missing)</xs:documentation>
                   </xs:annotation>
              </xs:attribute>
              <xs:attribute name="Order"/>
              <xs:attribute name="Direction" type="RouteDirect">
                   <xs:annotation>
                        <xs:documentation>Request / Reply</xs:documentation>
                   </xs:annotation>
              </xs:attribute>
         </xs:complexType>
         <!-- ************** PART II: END COMPLEX OBJECT TYPE DEFINITIONS *********************************** -->
         <!-- ************** PART III: BEGIN ROOT ELEMENTS DEFINITIONS ********************************* -->
         <!-- 0) Profile wrapper root element
    Profile IS USED TO BE AN WRAPPER ELEMENT FOR ALL KIND OF PROFILES NO MATTER WHAT KIND OF PROFILE IT IS
    -->
         <xs:element name="Profile" type="ProfileType">
              <xs:annotation>
                   <xs:documentation>Profile IS USED TO BE AN WRAPPER ELEMENT FOR ALL KIND OF PROFILES NO MATTER WHAT KIND OF PROFILE IT IS</xs:documentation>
              </xs:annotation>
         </xs:element>
    </xs:schema>
    2)register xml schema:
    SQL> begin
    2 dbms_xmlschema.registerSchema
    3 (
    4 schemaurl=>'http://rac3-1-vip:8080/home/'||USER||'/xsd/EHIPProfile_v00.xsd',
    5 schemadoc=>xdbURIType('/home/'||USER||'/xsd/EHIPProfile_v00.xsd').getClob(),
    6 local=>True,
    7 gentypes=>True,
    8 genbean=>False,
    9 gentables=>False
    10 );
    11 End;
    12 /
    PL/SQL procedure successfully completed.
    SQL>
    SQL>
    3) xml data:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--Sample XML file generated by XMLSpy v2007 sp2 (http://www.altova.com)-->
    <Profile xmlns="http://www.emergis.com/eHealth/EHIP/data/meta/profile:v1">
         <ProfileID Type="EnricherParametersProfile" Status="ACTIVE" ID="EnricherPP.ID.0001" Name="EnricherPP.ID.0001" Description="EnricherPP.ID.0001" Version="01"/>
         <ProfileData>
              <EnricherParametersProfileData>
                   <EnricherParameter serviceName="LRS_BusinessDomainObject.lrs.businessDomainObject.domainObjectBuilder.concrete.ExceptionCreators:createExceptionV50CategoryCanonicalPart" interactionID="">
                   <Enricher>
                        <Parameters>
                             <Parameter name="MESSAGE_ID" reference="test"/>
                        </Parameters>
                        <Section path="HEADER">
                             <Section path="RESPONSE_TYPE">
                                  <Value field="value" value="I"/>
                             </Section>
                             <Section path="HL7_STANDARD_VERSION">
                                  <Value field="value" value="HL7V3"/>
                             </Section>
                             <Section path="DESIRED_ACKNOWLEDGMENT_TYPE">
                                  <Value field="value" value="NE"/>
                             </Section>
                             <Section path="SENDING_NETWORK_ADDRESS">
                                  <Value field="value" value=""/>
                             </Section>
                             <Section path="SENDING_APPLICATION_IDENTIFIER">
                                  <Value field="root" value="2.16.840.1.113883.3.133.1.3"/>
                                  <Value field="extension" value=""/>
                             </Section>
                             <Section path="SENDING_APPLICATION_NAME">
                                  <Value field="value" value="NL HIAL"/>
                             </Section>
                        </Section>
                   </Enricher>
         </EnricherParameter>
              <EnricherParameter serviceName="LRS_BusinessDomainObject.lrs.businessDomainObject.domainObjectBuilder.concrete.DomainObjectCreators:createFindClientsAssociatedIdentifersRequestObject" interactionID="PRPA_IN101105CA">
                   <Enricher>
                        <Parameters>
                             <Parameter name="MESSAGE_ID" reference="test"/>
                        </Parameters>
                        <Section path="HEADER">
                             <Section path="RESPONSE_TYPE">
                                  <Value field="value" value="I"/>
                             </Section>
                             <Section path="HL7_STANDARD_VERSION">
                                  <Value field="value" value="HL7V3"/>
                             </Section>
                             <Section path="PROCESSING_CODE">
                                  <Value field="value" value="T"/>
                             </Section>
                             <!--
                             <Section path="PROCESSING_MODE_CODE">
                                  <Value field="value" value="T"/>
                             </Section>
                             -->                         
                             <Section path="DESIRED_ACKNOWLEDGMENT_TYPE">
                                  <Value field="value" value="NE"/>
                             </Section>
                             <Section path="RECEIVER_NETWORK_ADDRESS">
                                  <Value field="value" value="prsunew.moh.hnet.bc.ca"/>
                             </Section>
                             <Section path="RECEIVER_APPLICATION_IDENTIFIER">
                                  <Value field="root" value="2.16.840.1.113883.3.40.5.1"/>
                                  <Value field="extension" value=""/>
                             </Section>
                             <Section path="SENDING_NETWORK_ADDRESS">
                                  <Value field="value" value=""/>
                             </Section>
                             <Section path="SENDING_APPLICATION_IDENTIFIER">
                                  <Value field="root" value="2.16.840.1.113883.3.133.1.3"/>
                                  <Value field="extension" value=""/>
                             </Section>
                             <Section path="SENDING_APPLICATION_NAME">
                                  <Value field="value" value="NL HIAL"/>
                             </Section>
                        </Section>
                   </Enricher>
         </EnricherParameter>
              <EnricherParameter serviceName="LRS_BusinessDomainObject.lrs.businessDomainObject.domainObjectBuilder.concrete.DomainObjectContentEnrichers:enrichPRRequest" interactionID="">
    <!--Sample XML file generated by XMLSpy v2007 sp2 (http://www.altova.com)-->
    <Enricher>
         <Parameters>
              <Parameter name="MESSAGE_IDENTIFIER" reference="test"/>
         </Parameters>
         <Section path="HEADER">
              <Section path="HL7_STANDARD_VERSION">
                   <Value field="value" value="V3PR2"/>
              </Section>
              <!--POS/CPP populated ?-->
              <!--Not sure if this should be set as a variance within EHIP or if we expect the POS/CPP to provide this value-->
              <Section path="PROCESSING_CODE">
                   <Value field="value" value="T"/>
              </Section>
              <!--POS/CPP populated ?-->
              <Section path="PROCESSING_MODE_CODE">
                   <Value field="value" value="T"/>
              </Section>
              <!--POS/CPP populated ?-->
              <Section path="DESIRED_ACKNOWLEDGMENT_TYPE">
                   <Value field="value" value="NE"/>
              </Section>
              <!-- note:We Expect PRS to give us a web service address -->                    
              <!--<Section path="RECEIVER_NETWORK_ADDRESS">
                   <Value field="value" value="_http://PRSServer/svcName"/>
              </Section>
              -->
              <Section path="RECEIVER_APPLICATION_IDENTIFIER[0]">
                   <Value field="root" value="2.16.840.1.113883.3.40.1.14"/>
                   <Value field="extension" value="SIT1"/>
              </Section>
              <!-- note: values of the fields to be provided by PRS -->
              <Section path="RECEIVER_APPLICATION_NAME[0]">
                   <Value field="value" value="receiverAppName"/>
              </Section>
              <!-- note: RECEIVER_ORGANIZATION has an extra trailing space, as in the Excel mapping spreadsheet -->
              <!-- note: values of the fields to be specified by PRS later -->
              <Section path="RECEIVER_AGENT/RECEIVER_ORGANIZATION/RECEIVER_ORGANIZATION_IDENTIFIER[0]">
                   <Value field="root" value="2.16.840.1.113883.3.40.4.1"/>
                   <Value field="extension" value="receiverOrgId"/>
              </Section>
              <Section path="SENDING_APPLICATION_NAME[0]">
                   <Value field="value" value="NLPRSCLNT"/>
              </Section>
              <!-- note: SENDING_ORGANIZATION has an extra trailing space, as in the Excel mapping spreadsheet -->
              <!-- note: values of the fields to be specified by PRS later -->
              <Section path="SENDING_AGENT/SENDING_ORGANIZATION/SENDING_ORGANIZATION_IDENTIFIER[0]">
                   <Value field="root" value="2.16.840.1.113883.4.3.57"/>
                   <Value field="extension" value="3001"/>
              </Section>
              <Section path="PERFORMER/HEALTHCARE_WORKER_IDENTIFIER[0]">
                   <Value field="root" value="2.16.840.1.113883.4.3.57"/>
                   <Value field="extension" value="HIAL_USR"/>
              </Section>          
         </Section>
         <Section path="PAYLOAD">
              <!--<Section path="QUERY_STATUS_CODE">
                   <Value field="value" value="New"/>
              </Section>-->
              <!-- note: AUDIT has an extra trailing space, as in the Excel mapping spreadsheet -->
              <Section path="AUDIT[0]/AUDIT_INFORMATION">
                   <Value field="code" value="LATEST"/>
                   <Value field="codeSystem" value="PRSAuditParameters"/>
              </Section>
              <!-- note: CONFIDENCE has an extra trailing space, as in the Excel mapping spreadsheet -->
              <Section path="CONFIDENCE/CONFIDENCE_VALUE">
                   <Value field="value" value="100"/>
              </Section>
              <!-- note: HISTORY has an extra trailing space, as in the Excel mapping spreadsheet -->
              <Section path="HISTORY/INCLUDE_HISTORY_INDICATOR">
                   <Value field="value" value="false"/>
              </Section>
              <!-- note: JURISDICTION has an extra trailing space, as in the Excel mapping spreadsheet -->
              <Section path="JURISDICTION/JURISDICTION_TYPE">
                   <Value field="value" value="NL"/>
              </Section>
              <!-- note: RESPONSE_OBJECT has an extra trailing space, as in the Excel mapping spreadsheet -->
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[0]">
                   <Value field="code" value="GRS_ADDRESS"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[1]">
                   <Value field="code" value="GRS_ELECTRONIC_ADDRESS"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[2]">
                   <Value field="code" value="GRS_IDENTIFIER"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[3]">
                   <Value field="code" value="GRS_ORGANIZATION_NAME"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[4]">
                   <Value field="code" value="GRS_PERSONAL_NAME"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[5]">
                   <Value field="code" value="GRS_REGISTRY_IDENTIFIER"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[6]">
                   <Value field="code" value="GRS_TELEPHONE"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[7]">
                   <Value field="code" value="PRS_CONDITION"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[8]">
                   <Value field="code" value="PRS_CONFIDENTIALITY_INDICATOR"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[9]">
                   <Value field="code" value="PRS_DEMOGRAPHIC_DETAIL"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[10]">
                   <Value field="code" value="PRS_DISCIPLINARY_ACTION"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[11]">
                   <Value field="code" value="PRS_INFORMATION_ROUTE"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[12]">
                   <Value field="code" value="PRS_NOTE"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[13]">
                   <Value field="code" value="PRS_PROVIDER_CREDENTIAL"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[14]">
                   <Value field="code" value="PRS_PROVIDER_EXPERTISE"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[15]">
                   <Value field="code" value="PRS_PROVIDER_RELATIONSHIP"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[16]">
                   <Value field="code" value="PRS_STATUS"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[17]">
                   <Value field="code" value="PRS_WORK_LOCATION"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[18]">
                   <Value field="code" value="PRS_WORK_LOCATION_ADDRESS"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[19]">
                   <Value field="code" value="PRS_WORK_LOCATION_DETAIL"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[20]">
                   <Value field="code" value="PRS_WORK_LOCATION_ELECTRONIC_ADDRESS"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[21]">
                   <Value field="code" value="PRS_WORK_LOCATION_INFORMATION_ROUTE"/>
              </Section>
              <Section path="RESPONSE_OBJECT[0]/PROVIDER_QUERY_RESPONSE_OBJECT[22]">
                   <Value field="code" value="PRS_WORK_LOCATION_TELEPHONE"/>
              </Section>
              <!-- note: ROLE_CLASS has an extra trailing space, as in the Excel mapping spreadsheet -->
              <Section path="ROLE_CLASS /ROLE_CLASS_VALUE">
                   <Value field="value" value="LIC"/>
              </Section>
              <Section path="SORT_CONTROL[0]/SORT_CONTROL_ELEMENT_NAME">
                   <Value field="code" value="PrincipalPerson.name.value.family"/>
              </Section>
              <Section path="SORT_CONTROL[0]/SORT_CONTROL_DIRECTION_CODE">
                   <Value field="value" value="A"/>
              </Section>
         </Section>
    </Enricher>
         </EnricherParameter>
              </EnricherParametersProfileData>
         </ProfileData>
    </Profile>
    the data is valid against the schema through XML Spy tool... and loaded into the XDB repository...
    4) create table and insert data:
    SQL> CREATE TABLE EHIP_PROFILE OF SYS.XMLTYPE
    2 XMLSCHEMA "http://rac3-1-vip:8080/home/EHIPSBUSER1/xsd/EHIPProfile_v00.xsd" ELEMENT "Profile"
    3 ;
    Table created.
    SQL>
    SQL> alter table EHIP_PROFILE
    2 add CONSTRAINT EHIP_PROF_PK PRIMARY KEY(XMLDATA."ProfileID"."ID",XMLDATA."ProfileID"."Type");
    Table altered.
    SQL>
    SQL>
    SQL>
    SQL>
    SQL> select xdbURIType('/home/'||USER||'/ProfileData/EnricherPP.ID.0001.xml').getClob() from dual;
    XDBURITYPE('/HOME/'||USER||'/PROFILEDATA/ENRICHERPP.ID.0001.XML').GETCLOB()
    <?xml version="1.0" encoding="UTF-8"?>
    <!--Sample XML file generated by XMLSpy
    SQL>
    SQL>
    SQL> insert into ehip_profile values(xmltype.createXML(xdbURIType('/home/'||USER||'/ProfileData/EnricherPP.ID.0001.xml').getClob()));
    insert into ehip_profile values(xmltype.createXML(xdbURIType('/home/'||USER||'/ProfileData/EnricherPP.ID.0001.xml').getClob()))
    ERROR at line 1:
    ORA-21700: object does not exist or is marked for delete
    what's the problem caused the "ORA-21700: object does not exist or is marked for delete" error?
    Thanks in advance for your help?

    Thanks Marco,
    Here're my environment:
    SQL> select INSTANCE_NUMBER, INSTANCE_NAME,HOST_NAME,VERSION from v$instance;
    INSTANCE_NUMBER INSTANCE_NAME HOST_NAME VERSION
    2 rac32 RAC3-2 10.2.0.3.0
    I followed your suggested in the above, and always purge recyclebin, but still got the same problem. because in 10gr2, there's no dbms_xmlschema.purge_schema available,
    and I did checked the recyclebin after force the delete of schema, nothing inside. any other recommendation?

  • Can't insert schema-based xmltype into binary xmltype table

    I'm having issues trying to use binary storage along with the ALLOW ANYSCHEMA clause. I can't use the XMLSchema-instance mechanism for creating my schema-based XMLType instances, so I'm using CreateSchemaBasedXml. When I try to insert the XMLType into the table, however, it seems to think it's not schema-based and throws an error. I trimmed down my schema for the purposes of this example. Here's the schema (schematest.xsd):
    <?xml version="1.0" encoding="Windows-1252"?>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="FORMINFO">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="SUBJECT">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ADDR">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="STREET" type="xs:string" />
                        <xs:element name="CITY" type="xs:string" />
                        <xs:element name="STATEPROV" type="xs:string" />
                        <xs:element name="ZIP" type="xs:string" />
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>Here's the instance file (schema testinst.xml):
    <?xml version="1.0" encoding="utf-8"?>
    <FORMINFO>
       <SUBJECT>
          <ADDR>
             <STREET>123 Main St</STREET>
             <CITY>Las Vegas</CITY>
             <STATEPROV>NV</STATEPROV>
             <ZIP>12345</ZIP>
          </ADDR>
       </SUBJECT>
    </FORMINFO>I registered the schema and created the test table:
    BEGIN
      DBMS_XMLSCHEMA.registerschema(
       schemaurl => 'http://localhost/schematest.xsd',
       schemadoc => bfilename('XMLDIR','schematest.xsd'),
       gentables => false,
       gentypes => false,
       csid => nls_charset_id('AL32UTF8'),
       options => DBMS_XMLSCHEMA.REGISTER_BINARYXML);
    END;
    CREATE TABLE BINARYTEST OF XMLType
    XMLTYPE STORE AS BINARY XML
    ALLOW ANYSCHEMA;But trying to insert gives me an ORA-44422 error (this is on Oracle 11.1.0.7.0 Enterprise):
    SQL> SET SERVEROUTPUT ON
    SQL> declare
      2    x XMLType;
      3    xschema XMLType;
      4  begin
      5    x := XMLType(bfilename('XMLDIR', 'schematestinst.xml'), nls_charset_id('AL32UTF8'));
      6    xschema := x.CreateSchemaBasedXml('http://localhost/schematest.xsd');
      7    xschema.SchemaValidate();
      8    DBMS_OUTPUT.PUT_LINE('Schema: ' || xschema.GetSchemaURL() || ' Validated: ' || xschema.IsSchemaValidated());
      9
    10    INSERT INTO BINARYTEST
    11    VALUES (xschema);
    12    commit;
    13  end;
    14  /
    Schema: http://localhost/schematest.xsd Validated: 1
    declare
    ERROR at line 1:
    ORA-44422: nonschema XML disallowed for this column
    ORA-06512: at line 10You can see from my put_line statement that the XMLType object is reporting its schema URL correctly and thinks it's been validated. Changing the table to "ALLOW NONSCHEMA" allows the insert, but it inserts it as a non-schema-based document. Am I skipping a step here?
    Thanks,
    Jim

    It might be a bug, but I am not yet sure...
    See the following examples...
    c:\>C:\oracle\product\11.1.0\db_1\bin\sqlplus.exe /nolog
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Mar 23 22:14:41 2009
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    SQL> drop user otn cascade;
    User dropped.
    SQL> create user otn identified by otn;
    User created.
    SQL> grant xdbadmin, dba to otn;
    Grant succeeded.
    SQL> conn otn/otn
    connected.
    SQL> var schemaPath varchar2(256)
    SQL> var schemaURL  varchar2(256)
    SQL>
    SQL> begin
      2    :schemaURL := 'http://localhost/schematest.xsd';
      3    :schemaPath := '/public/schematest.xsd';
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType('<?xml version="1.0" encoding="Windows-1252"?>
      4  <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      5    <xs:element name="FORMINFO">
      6      <xs:complexType>
      7        <xs:sequence>
      8          <xs:element name="SUBJECT">
      9            <xs:complexType>
    10              <xs:sequence>
    11                <xs:element name="ADDR">
    12                  <xs:complexType>
    13                    <xs:sequence>
    14                      <xs:element name="STREET" type="xs:string" />
    15                      <xs:element name="CITY" type="xs:string" />
    16                      <xs:element name="STATEPROV" type="xs:string" />
    17                      <xs:element name="ZIP" type="xs:string" />
    18                    </xs:sequence>
    19                  </xs:complexType>
    20                </xs:element>
    21              </xs:sequence>
    22            </xs:complexType>
    23          </xs:element>
    24        </xs:sequence>
    25      </xs:complexType>
    26    </xs:element>
    27  </xs:schema>');
    28  begin
    29  if (dbms_xdb.existsResource(:schemaPath)) then
    30      dbms_xdb.deleteResource(:schemaPath);
    31  end if;
    32   res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    33  end;
    34  /
    PL/SQL procedure successfully completed.
    SQL> commit;
    Commit complete.
    SQL> call dbms_xmlschema.deleteSchema(:schemaURL,4);
    Call completed.
    SQL> BEGIN
      2   DBMS_XMLSCHEMA.registerSchema(
      3    SCHEMAURL => :SchemaURL,
      4    SCHEMADOC => xdbURIType(:SchemaPath).getClob(),
      5    LOCAL     => FALSE, -- local
      6    GENTYPES  => FALSE, -- generate object types
      7    GENBEAN   => FALSE, -- no java beans
      8    GENTABLES => FALSE, -- generate object tables
      9    OPTIONS   => DBMS_XMLSCHEMA.REGISTER_BINARYXML,
    10    OWNER     => USER
    11   );
    12  END;
    13  /
    PL/SQL procedure successfully completed.
    SQL> commit;
    Commit complete.
    SQL> var schemaDoc  varchar2(256)
    SQL>
    SQL> begin
      2    :schemaDoc := '/public/schematest.xml';
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> ----------------------------------------------------------
    SQL>
    SQL> -- Create an XML Document in the repository
    SQL>
    SQL> ----------------------------------------------------------
    SQL>
    SQL> declare
      2    res boolean;
      3    xmlDoc xmlType := xmlType('<?xml version="1.0" encoding="utf-8"?>
      4  <FORMINFO>
      5     <SUBJECT>
      6        <ADDR>
      7           <STREET>123 Main St</STREET>
      8           <CITY>Las Vegas</CITY>
      9           <STATEPROV>NV</STATEPROV>
    10           <ZIP>12345</ZIP>
    11        </ADDR>
    12     </SUBJECT>
    13  </FORMINFO>');
    14  begin
    15  if (dbms_xdb.existsResource(:schemaDoc)) then
    16      dbms_xdb.deleteResource(:schemaDoc);
    17  end if;
    18   res := dbms_xdb.createResource(:schemaDoc,xmlDoc);
    19  end;
    20  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> ----------------------------------------------------------
    SQL>
    SQL> -- Ready to test
    SQL>
    SQL> ----------------------------------------------------------
    SQL>
    SQL> select * from tab;
    no rows selected
    SQL> CREATE TABLE BINARYTEST OF XMLType
      2  XMLTYPE STORE AS BINARY XML
      3  ALLOW ANYSCHEMA;
    Table created.
    SQL> set long 100000
    SQL> select dbms_metadata.get_ddl('TABLE','BINARYTEST',user) from dual;
    DBMS_METADATA.GET_DDL('TABLE','BINARYTEST',USER)
      CREATE TABLE "OTN"."BINARYTEST" OF "SYS"."XMLTYPE"
    OIDINDEX  ( PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS" )
    PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"
    XMLTYPE COLUMN OBJECT_VALUE STORE AS BASICFILE BINARY XML (
      TABLESPACE "USERS" ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10
      NOCACHE LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
    BUFFER_POOL DEFAULT))
    DISALLOW NONSCHEMA
    ALLOW ANYSCHEMA
    1 row selected.
    SQL> SET SERVEROUTPUT ON
    SQL> declare
      2    x XMLType;
      3    xschema XMLType;
      4  begin
      5    x := XMLType(xdbUriType(:SchemaDoc).getClob());
      6    xschema := x.CreateSchemaBasedXml('http://localhost/schematest.xsd');
      7    xschema.SchemaValidate();
      8    DBMS_OUTPUT.PUT_LINE('Schema: ' || xschema.GetSchemaURL() || ' Validated: ' || xschema.IsSchemaValidated());
      9
    10    INSERT INTO BINARYTEST
    11    VALUES (xschema);
    12    commit;
    13  end;
    14  /
    Schema: http://localhost/schematest.xsd Validated: 1
    declare
    ERROR at line 1:
    ORA-44422: nonschema XML disallowed for this column
    ORA-06512: at line 10
    -- ORA-44421: cannot DISALLOW NONSCHEMA without a SCHEMA clause
    -- Cause: If no SCHEMA clause (explicit schema or ANYSCHEMA) was specified, nonschema data cannot be disallowed.-
    -- Action: Remove DISALLOW NONSCHEMA or add some SCHEMA clause.
    SQL> drop table binarytest;
    Table dropped.
    SQL> CREATE TABLE BINARYTEST OF XMLType
      2  XMLTYPE STORE AS BINARY XML
      3  ALLOW NONSCHEMA;
    Table created.
    SQL> select dbms_metadata.get_ddl('TABLE','BINARYTEST',user) from dual;
    DBMS_METADATA.GET_DDL('TABLE','BINARYTEST',USER)
      CREATE TABLE "OTN"."BINARYTEST" OF "SYS"."XMLTYPE"
    OIDINDEX  ( PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS" )
    PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"
    XMLTYPE COLUMN OBJECT_VALUE STORE AS BASICFILE BINARY XML (
      TABLESPACE "USERS" ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10
      NOCACHE LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
    BUFFER_POOL DEFAULT))
    ALLOW NONSCHEMA
    DISALLOW ANYSCHEMA
    1 row selected.
    SQL> declare
      2    x XMLType;
      3    xschema XMLType;
      4  begin
      5    x := XMLType(xdbUriType(:SchemaDoc).getClob());
      6    xschema := x.CreateSchemaBasedXml('http://localhost/schematest.xsd');
      7    xschema.SchemaValidate();
      8    DBMS_OUTPUT.PUT_LINE('Schema: ' || xschema.GetSchemaURL() || ' Validated: ' || xschema.IsSchemaValidated());
      9
    10    INSERT INTO BINARYTEST
    11    VALUES (xschema);
    12    commit;
    13  end;
    14  /
    Schema: http://localhost/schematest.xsd Validated: 1
    PL/SQL procedure successfully completed.
    SQL> select * from binarytest;
    SYS_NC_ROWINFO$
    <?xml version="1.0" encoding="UTF-8"?>
    <FORMINFO>
      <SUBJECT>
        <ADDR>
          <STREET>123 Main St</STREET>
          <CITY>Las Vegas</CITY>
          <STATEPROV>NV</STATEPROV>
          <ZIP>12345</ZIP>
        </ADDR>
      </SUBJECT>
    </FORMINFO>
    1 row selected.
    SQL> SET SERVEROUTPUT ON
    SQL> declare
      2    x XMLType;
      3    xschema XMLType;
      4  begin
      5    x := XMLType(xdbUriType(:SchemaDoc).getClob());
      6
      7    dbms_output.put_line(x.getstringval());
      8
      9    xschema := x.CreateSchemaBasedXml('http://localhost/schematest.xsd');
    10
    11    dbms_output.put_line(xschema.getstringval());
    12
    13    xschema.SchemaValidate();
    14    DBMS_OUTPUT.PUT_LINE('Schema: ' || xschema.GetSchemaURL() || ' Validated: ' || xschema.IsSchemaValidated());
    15
    16    INSERT INTO BINARYTEST
    17    VALUES (xschema);
    18    commit;
    19  end;
    20  /
    <?xml version="1.0" encoding="UTF-8"?>
    <FORMINFO>
      <SUBJECT>
        <ADDR>
          <STREET>123 Main St</STREET>
          <CITY>Las
    Vegas</CITY>
          <STATEPROV>NV</STATEPROV>
          <ZIP>12345</ZIP>
        </ADDR>
      </SUBJECT>
    </FORMINFO>
    <?xml version="1.0" encoding="UTF-8"?>
    <FORMINFO>
      <SUBJECT>
        <ADDR>
          <STREET>123 Main St</STREET>
          <CITY>Las
    Vegas</CITY>
          <STATEPROV>NV</STATEPROV>
          <ZIP>12345</ZIP>
        </ADDR>
      </SUBJECT>
    </FORMINFO>
    Schema: http://localhost/schematest.xsd Validated: 1
    PL/SQL procedure successfully completed.
    SQL> create table ORtest of xmltype
      2  xmlschema "http://localhost/schematest.xsd" element "FORMINFO"
      3  ;
    Table created.
    SQL> declare
      2    x XMLType;
      3    xschema XMLType;
      4  begin
      5    x := XMLType(xdbUriType(:SchemaDoc).getClob());
      6
      7    dbms_output.put_line(x.getstringval());
      8
      9    xschema := x.CreateSchemaBasedXml('http://localhost/schematest.xsd');
    10
    11    dbms_output.put_line(xschema.getstringval());
    12
    13    xschema.SchemaValidate();
    14    DBMS_OUTPUT.PUT_LINE('Schema: ' || xschema.GetSchemaURL() || ' Validated: ' || xschema.IsSchemaValid());
    15
    16    INSERT INTO ORTEST
    17    VALUES (xschema);
    18    commit;
    19  end;
    20  /
    <?xml version="1.0" encoding="UTF-8"?>
    <FORMINFO>
      <SUBJECT>
        <ADDR>
          <STREET>123 Main St</STREET>
          <CITY>Las
    Vegas</CITY>
          <STATEPROV>NV</STATEPROV>
          <ZIP>12345</ZIP>
        </ADDR>
      </SUBJECT>
    </FORMINFO>
    <?xml version="1.0" encoding="UTF-8"?>
    <FORMINFO>
      <SUBJECT>
        <ADDR>
          <STREET>123 Main St</STREET>
          <CITY>Las
    Vegas</CITY>
          <STATEPROV>NV</STATEPROV>
          <ZIP>12345</ZIP>
        </ADDR>
      </SUBJECT>
    </FORMINFO>
    Schema: http://localhost/schematest.xsd Validated: 1
    PL/SQL procedure successfully completed.
    SQL> declare
      2    x XMLType;
      3    xschema XMLType;
      4  begin
      5    x := XMLType(xdbUriType(:SchemaDoc).getClob());
      6
      7    dbms_output.put_line(x.getstringval());
      8
      9    xschema := x.CreateSchemaBasedXml('http://localhost/schematest.xsd');
    10
    11    dbms_output.put_line(xschema.getstringval());
    12
    13    xschema.SchemaValidate();
    14    DBMS_OUTPUT.PUT_LINE('Schema: ' || xschema.GetSchemaURL() || ' Validated: ' || xschema.IsSchemaValid());
    15
    16    INSERT INTO BIN_ONE_SCHEMA
    17    VALUES (xschema);
    18    commit;
    19  end;
    20  /
    <?xml version="1.0" encoding="UTF-8"?>
    <FORMINFO>
      <SUBJECT>
        <ADDR>
          <STREET>123 Main St</STREET>
          <CITY>Las
    Vegas</CITY>
          <STATEPROV>NV</STATEPROV>
          <ZIP>12345</ZIP>
        </ADDR>
      </SUBJECT>
    </FORMINFO>
    <?xml version="1.0" encoding="UTF-8"?>
    <FORMINFO>
      <SUBJECT>
        <ADDR>
          <STREET>123 Main St</STREET>
          <CITY>Las
    Vegas</CITY>
          <STATEPROV>NV</STATEPROV>
          <ZIP>12345</ZIP>
        </ADDR>
      </SUBJECT>
    </FORMINFO>
    Schema: http://localhost/schematest.xsd Validated: 1
    PL/SQL procedure successfully completed.
    SQL> ----------------------------------------------------------
    SQL>
    SQL> -- Create an XML Document in the repository
    SQL>
    SQL> ----------------------------------------------------------
    SQL>
    SQL> declare
      2    res boolean;
      3    xmlDoc xmlType := xmlType('<?xml version="1.0" encoding="utf-8"?>
      4  <FORMINFO>
      5     <SUBJECT>
      6        <ADDR>
      7           <STREET>123 Main St</STREET>
      8           <CITY>Las Vegas</CITY>
      9           <STATEPROV>NV</STATEPROV>
    10           <ZIP>12345</ZIP>
    11           <ONE_TO_MANY>say what?</ONE_TO_MANY>
    12        </ADDR>
    13     </SUBJECT>
    14  </FORMINFO>');
    15  begin
    16  if (dbms_xdb.existsResource(:schemaDoc)) then
    17      dbms_xdb.deleteResource(:schemaDoc);
    18  end if;
    19   res := dbms_xdb.createResource(:schemaDoc,xmlDoc);
    20  end;
    21  /
    PL/SQL procedure successfully completed.
    SQL> declare
      2    x XMLType;
      3    xschema XMLType;
      4  begin
      5    x := XMLType(xdbUriType(:SchemaDoc).getClob());
      6
      7    dbms_output.put_line(x.getstringval());
      8
      9    xschema := x.CreateSchemaBasedXml('http://localhost/schematest.xsd');
    10
    11    dbms_output.put_line(xschema.getstringval());
    12
    13    xschema.SchemaValidate();
    14    DBMS_OUTPUT.PUT_LINE('Schema: ' || xschema.GetSchemaURL() || ' Validated: ' || xschema.IsSchemaValid());
    15
    16    INSERT INTO BIN_ONE_SCHEMA
    17    VALUES (xschema);
    18    commit;
    19  end;
    20  /
    <?xml version="1.0" encoding="UTF-8"?>
    <FORMINFO>
      <SUBJECT>
        <ADDR>
          <STREET>123 Main St</STREET>
          <CITY>Las
    Vegas</CITY>
          <STATEPROV>NV</STATEPROV>
          <ZIP>12345</ZIP>
          <ONE_TO_MANY>say what?</ONE_TO_MANY>
        </ADDR>
    </SUBJECT>
    </FORMINFO>
    <?xml version="1.0" encoding="UTF-8"?>
    <FORMINFO>
      <SUBJECT>
        <ADDR>
          <STREET>123 Main St</STREET>
          <CITY>Las
    Vegas</CITY>
          <STATEPROV>NV</STATEPROV>
          <ZIP>12345</ZIP>
          <ONE_TO_MANY>say what?</ONE_TO_MANY>
        </ADDR>
    </SUBJECT>
    </FORMINFO>
    declare
    ERROR at line 1:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00213: only 0 occurrences of particle "ADDR", minimum is 1
    ORA-06512: at "SYS.XMLTYPE", line 354
    ORA-06512: at line 13
    SQL>

  • How to handle tables data in XML schema based adobe form

    Hi all,
    I am working on the CRM business partner creation by using Interactive adobe form with following steps:
    1) Uploaded the offline Interactive adobe form  to online interactive adobe form via WebDynpro ABAP;
    2) Capture XML data into corresponding BAPI structures;
    3) Save all the changes to database via BAPI.
    The adobe form contains customer information as well as several table views which are bind with the context created in WebDynpro: Node NEW_BP_NODE cardinality 1:1 with single attributes and table type attributes (1:n): COLOUR_COMP, MEN_COMP etc.
    While converting the xml format data to SAP context format, It is fine to use following routine to find the single attribute and map to the BAPI structure to do the database update.
    NODE = DOCUMENT->FIND_FROM_NAME( NAME = 'XYZu2019).
    XYZ = NODE->GET_VALUE( ).
    Question: how to convert the xml table data to SAP context format in WebDynpro ABAP?
    The XML table data looks like below.
    <?xml version="1.0" encoding="UTF-8" ?>
    <NEW_BP_NODE>
    <COLOUR_COMP>
    <DATA>
    <ZZTFLD0W2AQW />
    <ZZTFLDRZ2AQX>000</ZZTFLDRZ2AQX>
    <ZZTFLDVD2TQW />
    <ZZTFLDQK2HQX />
    <ZZTFLDEL2XQX />
    <ZZTFLDTC2DQX>000</ZZTFLDTC2DQX>
    <ZZTFLDOR2UQX />
    </DATA>
    <DATA>
    <ZZTFLD0W2AQW />
    <ZZTFLDRZ2AQX />
    <ZZTFLDVD2TQW />
    <ZZTFLDQK2HQX />
    <ZZTFLDEL2XQX />
    <ZZTFLDTC2DQX />
    <ZZTFLDOR2UQX />
    </DATA>
    <DATA>
    <ZZTFLD0W2AQW />
    <ZZTFLDRZ2AQX />
    <ZZTFLDVD2TQW />
    <ZZTFLDQK2HQX />
    <ZZTFLDEL2XQX />
    <ZZTFLDTC2DQX />
    <ZZTFLDOR2UQX />
    </DATA>
    </COLOUR_COMP>
    <MEN_COMP>
    <DATA>
    <ZZTFLD4V2V7V />
    <ZZTFLDYD2N7W>000</ZZTFLDYD2N7W>
    <ZZTFLDX32I7W />
    <ZZTFLD2D2W7W />
    <ZZTFLDGD2A7W />
    </DATA>
    <DATA>
    <ZZTFLD4V2V7V />
    <ZZTFLDYD2N7W>000</ZZTFLDYD2N7W>
    <ZZTFLDX32I7W />
    <ZZTFLD2D2W7W />
    <ZZTFLDGD2A7W />
    </DATA>
    </MEN_COMP>
    Thanks in advance for your help.
    Michelle

    Hi,
    Just follow these steps:
    1. Create interactive form UI element in your view.
    2. Now provide Datasource and PDFSOURCE to it in form properties.
    3. Now give a template name prefix with 'Z' or 'Y'.
    4. Double click on it. It will prompt for interface name.
    5. Provide interface name prefixed with 'Z' or 'Y'.
    6. Click on Context button in the Pop up window and provide the node you have selected as DATASOURCE.
    7. Click ok and it will open the form designer.
    8. In this way you can create a XML Schema based Form.
    9. Activate the interface and design the form providing layout type and other details.
    Hope it will help.
    Regards,
    Vaibhav

  • Schema-based xmltype table

    Below mentioned is the schema-based xmltype table
    CREATE TABLE BRSK.MEDV_brpubdoc_tab OF XMLType
    XMLSCHEMA "http://xmlns.oracle.com/xdb/schemas/BRSK/www.medversation.com/brpubdoc/brpubdoc.xsd"
    ELEMENT "brpubdoc"
    TABLESPACE BRSK_M;
    when ever delete the old schema and register the new schema should i drop the previous xmltype table and create the new one?If this is the case then we will be losing the previous xml contents.Is there is a way to avoid drop and creation on xmltype table on schema delete and schema registration.Please help me out on this.

    I hava gone through the below mentioned link http://download-east.oracle.com/docs/cd/B12037_01/appdev.101/b10790/xdb07evo.htm which states In prior releases an XML schema, once registered with Oracle XML DB at a particular URL, could not be modified or evolved because there may be XMLType tables that depend on the XML schema. There was no standard procedure for schema evolution. This release supports XML schema evolution by providing a PL/SQL procedure CopyEvolve() a part of the DBMS_XMLSCHEMA package. CopyEvolve() involves copying existing instance documents to temporary tables, dropping and re-registering the XML schema, and copying the instance documents to the new XMLType tables.So i think schema evolution works in 10g only

  • How to create table for XML schema-based Interface form

    Hi All,
    With tcode SFP to crate  a XML schema-based Interface form, how to create a defined table can be listed in "Data View"?
    Just like APAP Dictonary- Based Interface form, that we can drag  a defined table from data view to the panel.

    Hi,
    Just follow these steps:
    1. Create interactive form UI element in your view.
    2. Now provide Datasource and PDFSOURCE to it in form properties.
    3. Now give a template name prefix with 'Z' or 'Y'.
    4. Double click on it. It will prompt for interface name.
    5. Provide interface name prefixed with 'Z' or 'Y'.
    6. Click on Context button in the Pop up window and provide the node you have selected as DATASOURCE.
    7. Click ok and it will open the form designer.
    8. In this way you can create a XML Schema based Form.
    9. Activate the interface and design the form providing layout type and other details.
    Hope it will help.
    Regards,
    Vaibhav

  • Call XML Schema based Adobe form from ABAP Program

    Hi,
      I have a scenario where an online Interactive form is designed and its working fine. Now i have a requirement to call the same Adobe form from a report for viewing purpose. Since it is XML Schema based Interface, is it possible to call the same form instead of creating a new one with the same template? Because i tried to call the same Adobe form by passing the values and converting those to XML(By Creating Transformation). Then i converted the XML to XSTRING and passed to the Generated Function Module for Input paramter "/1bcdwb/docxml". This resulted in an error "com.adobe.ProcessingException: com.adobe.Processin".
    Please help me out in solving this and check the attachment for code.
    Thanks,
    Raj

    Hi,
    outputparams-NODIALOG   = 'X'.
    outputparams-PREVIEW     = 'X'.
    outputparams-dest = 'LP01'.  "give ur printer name.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = outputparams
      EXCEPTIONS
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        OTHERS          = 5.
    and Now call the generated function module
    pass the following in docparams
    docparams-langu = 'E'.
    docparams-country = 'US'.
    and finally close the job.
    It should work.
    Please let me know if u need further details.
    Regards,
    sasi

  • XML Schema Based Table and ORA-22814

    When I want to insert clob into XML Schema Based Table, ORA-22814 was occured.
    Why?

    the instance document ( I can't insert ):
    <nesne xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.yore.com.tr/tkword.xsd" nesne_id="Resim3d1df48649498"><resim><altyazi></altyazi><httpBaslik>image/jpeg</httpBaslik><icerik><![CDATA[ffd8ffe000104a46494600010201012c012c0000ffed089450686f746f73
    686f7020332e30003842494d03ed000000000010012c200000010002012c
    2000000100023842494d03f300000000000800000000000000003842494d
    040a00000000000100003842494d271000000000000a0001000000000000
    00023842494d03f5000000000048002f66660001006c6666000600000000
    0001002f6666000100a1999a0006000000000001003200000001005a0000
    0006000000000001003500000001002d000000060000000000013842494d
    03f80000000000700000ffffffffffffffffffffffffffffffffffffffff
    ffff03e800000000ffffffffffffffffffffffffffffffffffffffffffff
    03e800000000ffffffffffffffffffffffffffffffffffffffffffff03e8
    00000000ffffffffffffffffffffffffffffffffffffffffffff03e80000
    3842494d0408000000000010000000010000024000000240000000003842
    494d040900000000072400000001000000800000001a0000018000002700
    0000070800180001ffd8ffe000104a46494600010201004800480000fffe
    002746696c65207772697474656e2062792041646f62652050686f746f73
    686f70a820342e3000ffee000e41646f626500648000000001ffdb008400
    0c08080809080c09090c110b0a0b11150f0c0c0f1518131315131318110c
    0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c
    0c0c0c0c010d0b0b0d0e0d100e0e10140e0e0e14140e0e0e0e14110c0c0c
    0c0c11110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c
    0c0c0c0c0c0c0c0c0cffc0001108001a008003012200021101031101ffdd
    00040008ffc4013f00000105010101010101000000000000000300010204
    05060708090a0b0100010501010101010100000000000000010002030405
    060708090a0b1000010401030204020507060805030c3301000211030421
    1231054151611322718132061491a1b14223241552c16233347282d14307
    259253f0e1f163733516a2b283264493546445c2a3743617d255e265f2b3
    84c3d375e3f3462794a485b495c4d4e4f4a5b5c5d5e5f55666768696a6b6
    c6d6e6f637475767778797a7b7c7d7e7f711000202010204040304050607
    070605350100021103213112044151617122130532819114a1b14223c152
    d1f0332462e1728292435315637334f1250616a2b283072635c2d2449354
    a317644555367465e2f2b384c3d375e3f34694a485b495c4d4e4f4a5b5c5
    d5e5f55666768696a6b6c6d6e6f62737475767778797a7b7c7ffda000c03
    010002110311003f00f4bcfcfc6e9f8afcac92456d21a1ac697bdef7115d
    54d3533df6dd6d8e6d7556cfcf5c767ff8cdc0c5cb7e3db938b8af63b6ba
    9db6e5bdbc1fd62ec4f4f12bb5b3b2da716ecff4ecff000eb47ebb3ee6b6
    bf49ce0f662e4be90d241163dd8b82ebeb70fa1753899b94dadff99ebaf3
    2c4fa8b8b93d57129b727d0c4b2d6b32a35731903e8bfdcd6bedb3f41eff
    00e6b7fa9624a7d87a075cafac615796d0cd97177a16d4e73ebb1ac3b5ce
    acdb5e3dd5bdaef6be8be8aecfa7e9fad57e956aae07eadddd54f54a5bd4
    7159d3ada3a55028c3acbb6b40ca7d7fd1dfe8bb1acb36b68f4fd4bbd4af
    fc35dfcd26fac56f56abfc65e1bba3d14e4e67eca20577bcd6cdbeadfb9d
    b9bf9c929ef93af34fae191f5b6f6746afade16262e37ed6c5d8fc7b4bdc
    6cfd286b1cd77e66cf53dca87d69fdb3f5d7ad6559d271b232ba6748dd8d
    837635b556dfb682c7bf25efb8fe92afcdfd03ff009bfb3dbea57eaa4a7d
    6925e4dd37eb3bfa6754c6fad1900d5566b874cfad38db4875399482da73
    4d2ddbb7d5637d4db5d3fe0f329fe91620756b3a8756fab3d7bebb640754
    73cd785d358241af09b731968f6b9dfd25dfa2bbff00423fc164a4a7d821
    285e33fb1fead7fdc6fabdff00b97caffc9adce8d97d27a4fd6de9b6e45f
    8785863a09654faef36636efb5daef4e8cbc93badfcefa6e494fa4a785cf
    e77d67fabd9b83918783d730e9ccc9a9f4e35adbd92cb5ed35d363763b76
    e658efcd5e674745e8f5d4caefaba065dcd116653bab5cd363bf3ae731b7
    57b3d4fea24a7db132f221f581b91f554fd54fab184da3a9e7e55f8cfc7c
    7b9d7b0d2c6b5f959746464bff0098cbfe66bdeff4fd3fb4abff0055b33a
    97d5a7e7fd5acea323028cca2ecae88722c63ded7b58ef5a817e3fe877bb
    6fadedf4bd37ff0083fd69253e9c92f29faacdeb3f55feaee17d67e9bea6
    7f46ca617f59e9c4ee7d458f7d4eea385f47e8b2bfd619ff006f7e87f4b8
    3d07f8bacbc5ceea3f5973b0dfeae364e70b2ab76b9bb9ae0e7fd1b1ac7f
    e724a7ffd0f44eb5d29bd4f14561c2bbab25d53deddecf735d4db4df56e6
    7ad8d914596537d7bffe12af4afae9b6be36dfab7d4a8758d0cc966e1b5c
    c35b72d8e61d1edaf2a9bb1df90dfcca3edf878d77a7fce2f414925385d1
    3a6e6fe86dcfadd5fd95be9d565ce63f2ed6825c1b96fa7d56578f5bff00
    494e3b72f27d4fd1db77a5e9fa2b60e262bb25b98ea6b394c61adb905a3d
    40c2773ab6db1bfd3ddf988a924a4593878798c6b32e8af2195bc58c6dac
    6bc35edfa16343c3b6d8d9fa696261e1e15231f0a8af1a86924554b1b5b0
    13ab8ecac35bee454925352ce8fd22d6e4b6cc1c778cd2d3961d530fac58
    7756ec8f6fe9bd377d0f53e8231c4c538bf6334d671767a5f672d1e9fa60
    6df4bd28f4fd3dbedd88a924a737fe6cfd5bff00ca9c2ffd87abff0049a3
    59d17a35b4d58f6e0633e8c7045153a9616560fd214b0b76d7bbf90ae249
    29a0cfabfd02b7b6cafa66231ec32c7b68ac107f79ae0c51ff009b5f5706
    83a5617fec3d5ff905a2924a6b63f4be998b6b6ec6c3a28b58cf49b65753
    18e15ceef45af6343bd2ddfe0d4b2703072dd5bb2f1aac87504ba975ac6b
    cb09e5d5ef0ed8efeaa3a49291e3e3e3e2d2cc7c5a99451588aeaada18c6
    8f063190d6a6c5c3c3c3acd3874578d517179ae96358ddcefa4fdb586b77
    39152494ff00ffd93842494d04060000000000070000000000010100fffe
    002746696c65207772697474656e2062792041646f62652050686f746f73
    686f70a820342e3000ffee000e41646f626500648000000001ffdb008400
    100b0b0b0c0b100c0c10170f0d0f171b141010141b1f17171717171f110c
    0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c
    0c0c0c0c01110f0f11131115121215140e0e0e14140e0e0e0e14110c0c0c
    0c0c11110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c
    0c0c0c0c0c0c0c0c0cffc0001108008f02b103012200021101031101ffdd
    0004002cffc4013f00000105010101010101000000000000000300010204
    05060708090a0b0100010501010101010100000000000000010002030405
    060708090a0b1000010401030204020507060805030c3301000211030421
    1231054151611322718132061491a1b14223241552c16233347282d14307
    259253f0e1f163733516a2b283264493546445c2a3743617d255e265f2b3
    84c3d375e3f3462794a485b495c4d4e4f4a5b5c5d5e5f55666768696a6b6
    c6d6e6f637475767778797a7b7c7d7e7f711000202010204040304050607
    070605350100021103213112044151617122130532819114a1b14223c152
    d1f0332462e1728292435315637334f1250616a2b283072635c2d2449354
    a317644555367465e2f2b384c3d375e3f34694a485b495c4d4e4f4a5b5c5
    d5e5f55666768696a6b6c6d6e6f62737475767778797a7b7c7ffda000c03
    010002110311003f00efd2492494a4924925292492494a49249252924924
    94a4924925292492494a4924925292492494a4924925292492494a492492
    5292492494a4924925292492494a4924925292492494a492492529249249
    4a4924925292492494a4924925292492494a4924925292492494a4924925
    292492494a4924925292492494a4924925292492494a4924925292492494
    a4924925292492494a4924925292492494a4924925292492494a49249252
    92492494a4924925292492494a49249253ffd0efd2492494a49249252925
    1739ac6973886b5a24b8e8001e2b8ffac5f5f598363f0fa7d7ea64088b5d
    05bee1b9aead8d3fcaf67abffb0e929ea733a861e0b3764da19a176d00b9
    e5a2039eda6a0fb5cc6eefdc5cd750ff0018bd2b1cedc561c83b49266358
    fd1b5bb1b631dfcbfd257e92c6c5faa7f583eb1dcecfeb571c3a6e77a82b
    8f79d1ac6edc6ff03fa16fa7ea647e9ff47fcdaea303ea6fd5be99592ec7
    65ee025d76545874976edb60fb3d7b7fe0ea494f327fc6575175d18f895d
    cc3a359b1cd7c9fa3ee6645fff009ed4c7f8c2ebac6fa97f4a6fa7fbc058
    c1fbff004dfea37f9b73174d6fd6afaab8503edb48998f401b07feca32d4
    31f5ebeaa9207dbb9f1aad1ffa212538189fe337de5b9b8a0493b4d72d0d
    1f9beaee7def77bbf72a5d1749fadfd1faa3bd3aec15dba7b5da4e92edbb
    b659ecff0049e97a48edccfab3d688abd4c4cd7bb5153b63dfedddeef46d
    fd2fb3deb23aa7f8bae8f940bf05cec1bb91b7df5cccff0032f3bdbff5ab
    5253d6275e714657d70faad955636556ecec5b1de9d30e2f638bbe8b2ab7
    fc1bff00e0ef67fc5af461c7824a5d2492494a4924925292492494a49249
    25292492494a4924925292492494a4924925292492494a49249252924924
    94a4924925292492494a4924925292492494a4924925292492494a492492
    5292492494a4924925292492494a4924925292492494a492492529249249
    4a4924925292492494a4924925292492494a4924925292492494a4924925
    292492494a4924925292492494a4924925292492494fffd1efd2492494a4
    925ccfd76fac07a4f4f34d0edb95920b6b20896f1b9db4b5ff00ebff0018
    929c6fae1f58b233f35bd0ba3fe99ce3b1fb60eeb25cc757b2cafdbe86cf
    52bbfd6ff87ff417ad7fab3f53f0fa2d6dcfcd22dea3b773ec7905949d5c
    ff00427f3b6ff3b7bffeb7e9207d45fabc31317f6ce7b77e7e5fe92b7bce
    e2ca9e377a9afd1bf277bdf77bff009af4ff00e1962fd73fad96e7596f4e
    e9d69660d5babc9b5a47e9ddfe8abfcff458e66cfd1ff3ff00f11fce253a
    5f58bfc62538cf762f466b722d6921f94ed6a1ff0085dadfe91ff19fccff
    00e185c167f55ea3d4acf573f21f7ba64071f6b7fe2aa6fe8aaffadb1544
    925292492494a5b5d23eb775ce92e029bcdd40d3ecf7cd8c8036b433ddea
    53b7fe06cad62ab5d33a764f54ceab07140375c6013a35a07b9f63ddfb8c
    624a7d7beae7d62c6fac188ebe9adf4d9510dbab76a0388ddfa2bbe85acf
    fc13fd2555a1752aeee999b7fd62b73af760d34edb3a731a1cc3f99beadc
    edacf7fe97e87abfce7eb5f66fd0abfd27a5e2749c1af0b11bb58c1ee77e
    73df10fbadfdeb1ea9f53fac7d2f13371fa5bc8c8cbcab6ba4d0d83b058e
    6b3d4ca9fe6fdafdfe97f3b6ff00e08929bfd37a863f53c1a73b1a7d1bdb
    b9a1c36b86bb1ec737f90f6ecffcf6ad2c56d9d6f1bac5cfca7e353f57eb
    6015b890c209fceddfbfea7b2cf53f43fe896ca4a5d2492494a49733d67e
    bce0747cf7e05f8f6d8f6004babdb1ee13f9ef6aab47f8c8e979191563d5
    8b7efb9edada5db0005e7d36976db1e929ec12492494a4924925292517bb
    6b1cee768263e0b8e7ff008cce94c7b98ec4c8969234d9c831fe91253d9a
    4b9de81f5cb07aee6bb0f1e8b6a7b6b369759b621a6baf6fb1efff004aba
    2494a49250baeaa8a9d75cf6d75306e7bdc61a00fce739c9299a4b86cdff
    0019d8b5dae660e1baf60d1b6d8ff4e7c7f46d65bec4d85fe33f16cb5acc
    ec2750c275b2b7fa91fbbfa2732a494f74921d1755914b2fa1e2caac01cc
    7b4c8734ead73562fd60fad78dd02daabcac7b6c6dc0963ebdb1eddbbdbf
    a4733f7d253bc92e2c7f8cee91df13207c367fe955d6606763f51c3a7371
    9dba9bda1cdf113f498f8ff095bbd9624a6c249249294924abe766e3f4fc
    4b73329db29a5bb9e7fefadfe5bddec624a6c24b8b3fe33fa476c4c8ff00
    a1ff00a556a740fadd8dd7f22ca31716eadb53773edb36ed13f419fa373f
    def494f4092c8eb1f5a7a2f4696e5dfbaf8918f50df61feb37e855ff005f
    b2a580ff00f19fd3038ecc3bdcdec49603c7ee873d253db24b873fe34307
    58c1b4f84b9bfcaffcc3fd6bfd22ff00c74303fee0dbf1dcd494f7092e18
    7f8d0c3ddae0d9b7c77b6674f2febffaff00368ff8d1c38f6e0593e05edf
    3fe4a4a7b94970c3fc686169bb06de7587b789ff00c8ab5d23fc60e3f54e
    a3460370df53af3b43cbc100c6efddfeba4a7af49657d61ebb5f42c26e65
    949b9a5e19b5a434ea0fef2e77ff001d0e9fff0070aeff0039a929edd255
    3a567b7a974ea33dac35b7219bc309923fb415b494a4924925292492494a
    492547aa75ae9bd22917750bc54d7186b60b9ce3fc8aabdcf494de497179
    1fe33ba531c5b8f8b75a0180e76d6023f7dbee7bd03ff1d0c5ff00b8367f
    9c1253dda4b84ffc7431a7fa0be3fac123fe3431bb60bffce0929eed25c3
    33fc67e16bea61da3c36969ffaa73547ff001d0c6ffb82ff00f3824a7bb4
    9739f56feb851d7b26cc66d0fa5f5b77c98208feb05d1a4a52492a5d5bab
    61747c376666bf6d60801a35739c78aea67e7392537525e7d6ff008d27ef
    228e9c3d39f697dbee23f94d655ecff3d69745ff00189d3f3f2198d9b49c
    2b2c30db0bc3aae3fc25aef49d5eff00ea24a7af49327494a49255b3fa8e
    1f4dc676566da2aa59dcf73fb8c6fe7d9fc8494d94970791fe34686dc5b8
    d80eb29074b1f606388ff8a6d56ffe7d5b9d0beb9f49eb4f18ed2ec6cb3c
    536c7ba3fd0d8df659ff009f7fe0d253d024993a4a5249285af35d4f78d4
    b5a5c3e4252533497083fc68e347bb01f3e560ff00c82dbfab3f5aebfac3
    66432bc7340c70d32e707176e2edbf45addbf41253d0249249294924924a
    7fffd2efd2492494c5ef0c639e786824fcb55e658d5bbeb37d736d77eebb
    1719ce7db311b6b25fb1db7f47e93f23d2c5f67f80ff00b7177bf58333ec
    5d1b2f20004b6b20031acfb5ff004fdbfcdef5ccff008b1c63f63cecf712
    e7dd68aa4ccfe8dbeb39d3fcbfb524a753eba753b31702be99886333aa3b
    d0a88e18cf63722ce3f72cf4bfeb9ea7f835e67d44d7ea1c7a8fead87fa2
    a888fd259ff6a2ff00faf58d7dbff11f67a1759f58f3864756eadd41a61b
    d2a86e1531acdd79b2ab2cfcdd9e9fa9915ffd6d738718517b6a7b41afa7
    502fbc100875f6065adaadd7dffad5d8d8567fc0d0929cc7d0e61dbcbdad
    dcf1d9a0c7b5dbbf3fddff00a2d096a3f15e2aae925deadec3979af1aeda
    7f9ca777d1fccfd3ff00c25b763acf34bcb5af0d2058e8a9b049776f67ef
    6dfa09291a4924929404e8395eb1f52beacb7a361fdab25a3f6864b417f8
    d4c30ffb36bf9dfe9ffe13fe2d72df533a133d3b7eb1f506176160b6cb2a
    a809363ea6ef7d8df536b1ccabfc17fdd9ff008a573a2fd6cea5d77eb760
    b6c271f0c7abb716b71da7f457bf7643bdbf68b7fb1ff175d6929f445e2f
    d25ce7fd6ac47bc973dd9cc2e71e4936b4b9ce5ed0bc5ba3c1fad387b440
    fb75700f61eab5253eb7d67a5e2756e9f661e6178a0c3dc6b30ef61dfedf
    6d9ff5083f57ba974eea3d39aee98d7b31318fd9ab6bc418a9ac0cdbb9f6
    3f67a4eaff009cfd2ffa45a8b2ba7e6759bbaa6763e661371fa7d240c4bc
    3a5d66bb773bf32cf59bfa6ff03f65fe62cf5bf9c494eaa4924929f23faf
    dff8a4bffaacfc8b27a309eb1823feec53ff0056c5adf5fbff0014b91fd5
    67fd4ac7e90f657d570ac790d63322a738930000f61dce724a7dd12544f5
    be8e3fed6d1e1fce37bff6937edde8dff73a8f1fe71bf1f1494df4950fdb
    9d1bfee751ff006e37fbd2fdb9d1a63edd44ff00c637ff0024929b9609ad
    c3c41fc8bc27334cbbc7fc23ff00ea9cbda1fd73a3fa6edb9b4125a63f48
    dd74feb2f16ca70764dce0410e7b88238d49494f53fe2d3fe5fb7ff0abff
    00eaf1d7a8af2eff00169ff2fddff855ff00f578ebd452529705fe31faf6
    c637a2504ee786db9241d36cfe8a8ff39beb7fdb7fe91767d4b3e8e9b837
    66e418ae969747771fccadbfcbb1cbc4b3f3afea399766e49dd75cedce3d
    bf75adfec33d8929ae92d1e83d22ceb3d529c1612d6be5d6bc09dac6fd37
    7fdf107aaf4ebba667dd85708754e21a7f79b3ec7a4a7b5ff16fd71b1674
    5bddef936e2c9e447e9e86ff00576fadff006eae93eb6f461d5fa3db531b
    39158f5283fca6fe6ff6ff009aff00ae2f21c3cbbf072aacbc776dba9707
    b0fc3f35dfc97af6de95d468ea9814e7506596b4123bb5dfe12b747ee392
    53e1af6398e2c782d7b490e6910411f49ae6aedbfc5d75f34643ba3e4bff
    00437fbb164986d9f9f4b3fe3ff9cffadffc22cdfaf5d14f4deaeec8ac7e
    af984d8df27ff87ff3f77abff6e7fa35ce556d94d8cb6a716595b8398e1a
    10e07735c1253efa92cafab9d66beb5d2a9cb047ad1b32183f36c6ff0039
    edfe5ff3b5ff00c1ad5494a5e73fe31baf9b6f1d131cfe8e92d7e491225f
    1baba3f96c631feaff00c67fc5aecfeb0f59a7a2f4cb732c8366aca19fbd
    690ef49bff0047debc5adb6cbad7dd6b8becb0973dce32493f49ce494c17
    a6615167d51fa9f765c4e6581af7070fa36dbb6a6b7e97d0abd9f43fd1fa
    ab94fa95d19bd57acb3d66eec6c61ea5808d1ceff0357fe8dffacaedbfc6
    100dfab2f68d00b6a007cfcd253e55658fb6c759612e7bc9739c79249dce
    728a4bd33ea666741abeaed0cccb716bb83acde2e35b5d3b9c5ae77a9eef
    e6d253e6692f673d47eaa7fa7c2fbeb4bf697d553ff6a30bfcea9253e309
    2f67fda5f553fee4610fed5490ea3f554f17e14f6d6b494f8c2dbfa9627e
    b3e07f5dc7ee658bd33f697d55063ed185e3f4aa44c6cefabb6e43062dd8
    8ec871860acd7ea131f99b3dff00452538bfe324ff009059e7737f239797
    2f52ff00191ff2037fe3d9f91ebcb5253ecff54bff00137d3ffe247e572d
    858ff54fff00137d3bfe247e52b6125292492494a492492520ceca661e1d
    d9767d0a18e7bbe0d1b9789754ea795d5736ccdca7175961d0766347d0aa
    bfe4317aff00d689ff009bbd463fee3bff0022f15494a497a07f8bfeabd2
    30ba45f567e453458ec8739adb5cd0e2d35d0dfcefccf62ea3fe717d5aff
    00b9f8bfe7b5253e2e92f69ff9c7f56bfee7e2ff009ed4bfe71fd5affb9f
    8dfe7b5253e2c92f69ff009c7f56bfee7e2ff9ed56713a8f49cd91879145
    e4448adcd7113f47dad494f9ff00f8b364f56c87feed31f79ffcc57a6a88
    6b4190003e202924a59793fd7aebaeea7d54e35366ec2c486d61a65af7c6
    eb6ff6fe77bbd0ff00adaee3eba75d3d1fa4bbd17465e49f4e9e0ed9fe76
    eda7f719ff0082fa6bc85252925b9f573ead5dd7464b9ae2c6d35b8b08ef
    644b18efe42c5b2b7d563abb06d7b096b9a7b1076b9a929f58fa8dd74f56
    e95e8dc67270b6d4f24c97363f437bbfe3363d74abc63eab75a7f46eaf4d
    e5c4635845792dec587dbea39bff0001bbd55ecad735ed0e6996b8483e45
    25325e5ffe317aa5d91d55bd3f514e30ddb7c5eefcefecb3ff003e5abd41
    790fd7affc52e4fc1bf91253cf270482083046a0856fa3e35797d53171ad
    1babbac0c70d4687fa9ee577eb1fd5bcbe8395b1f3662bcfe86f8e7fe0ec
    fdcb7ff3e7fdb95d694f61f537eba0cc0ce9bd56c03284fa590e200b47e6
    54ff00a3fac7fe7dff008d5daaf010482083047057a3fd4cfae9f6ad9d2f
    aabff58d45392e3a3e3fc1def7bbf9ff00f47fe97fe37f9c4a7b842c9fe8
    d6ff0051df911143204d168f163bf224a7c11779fe2b4fe9ba88fe4d5f96
    d5c1aef3fc577f3dd43fab57e5b5253e86924924a524924929ffd3efd249
    2494f3df5ef68fab19649870f4f6eb124beb6bbfe86f50fa8148abeac633
    844dcfb5e63c77be9f77fdb489f5eab0ff00ab197224b76387910f67fdf5
    0bfc5fddeafd59a1b20fa2fb1840edef75d0effb75253c93ddf68c5b446e
    1d47ae10ed796b21fb5dfc9fd6953cb06db7aa6ae272fa8331c471b43eeb
    76fb7fab42b98ecb28c3a4810707ae16ba609f70a9bff47d042c8a8d2ceb
    05e3df81d4aabce9aec73f22a77f23fd124a5758a5950ebb73040aefc7c1
    a8ff0021a1fbd9ff00b254a81c3a68afabe4346e6f4ec7a71a8f27dfb69c
    8b7d9fd7caff00b7568752c776457f592867b7df4750ac11ab9843ec7fb7
    feba932a3d43edf8b5eadeb5874e562b89d4dd8a1bebe37fdbadbbfeb492
    9e7323a4595d9656d23f55c5af26f719ff000a2ab1ac6ffec5d34a27d5be
    836f5dea4dc404d74346fc8b409d8c1f47e916fbed7fe8d9ff006e7f835a
    ed7d97d03a97a2fc965d8ff61ead8ccd2ea9d4fa555594d63bf7bd3c7fa7
    fe13d4ff00ad69fd52eafd13a630578b7e5655d94407e18a039f5107d36d
    b6e456d6fab5319ff0ff00f59494f59d531e9c5fabd9b8f8ec15d55625cd
    ad8386815bf6af1ce9dd432ba666559d88e0cbe92763880e1ee0ea9fed7f
    ef56f5ed1d73fe44ea1ff856ff00fcf762f27faa3858b9ff00587131332b
    16e3d9ea6fac9201db55d6b3e86dff0008c494da3f5ffeb41000ca6823b8
    aab93a33c6bfe47fe0b67fc17a79fd01eeb3eb174f7bccb9d97539c7c49b
    18e72f4fff00993f55e23ec0dd3f9767fe955e6dd2ea653f5b71aaac6d65
    79ec6306ba06dbb5adf76e7a4a7d9963bb0fa97fce46658ea43ec469703d
    348d6006b37b593eefd3d8cb9f95fceffda5fe6ac5b0b9e8fabeff00ae01
    fead8eeb35d2582ad4d6c6edddbbe87f3be859fe95253d0a4924929f23fa
    fdff008a5bff00aacffa95ce2e93ebff00fe29b23fa95ffd4b7cd6160d2c
    c8cdc7c7b090cbad656e2d8061ce6b1db7724a4092f52ffc6dba07efe47f
    9edf2ff824bff1b6e811f4f23fcf6ffe92494f96a4bd4bff001b6fabff00
    bf91fe7b7ff4927ffc6dfeaf69eec8e67e98fe4fb7f9afe4a4a7cb125ea1
    67f8b7e8018e707e402013f4dbd87fc52f31b5a196bd8386b8813e45253d
    67f8b3ff0097eeff00c2afff00cf98ebd45797ff008b33fe5ebfcf15ff00
    f9f31d779f587acd7d17a5db98e836416d0c3f9d611fa31fd5ff0049ff00
    06929e2bfc6375df5f29bd1a9335639165e7fe1483b2bfec5762e254eeba
    dbee7df738bedb1c5cf71ee4eae44c7c1ceca6976363db7b5a61c6b639e0
    1fe57a6d724a76feaa7d63c1e806dbadc57e464dbed0e6b834359fbbee0f
    4beb4fd61e9dd79ccbeac5b31f299a17b9c1c1cdfddfcddab2bf62f58ffb
    8193ff006cbfff002097ec6eb1ff0070327fed9b3ff20929a4bb4ff173d7
    3ecd98fe9173bf459477d13c36c68fd237febd5b3ff035c9e4606762b43f
    2b1ada1ae30d758c73013f4b6b5d635a854db6516b2ea8edb2b707b0f839
    a77b0a4a7d8beb67466f57e91752d137d63d4a0e9f4dbee6b7fb7fcd7fd7
    2c5e36e6b98e2c782d73490e6910411f49ae6af6afabbd66aeb5d2e9cb69
    02d8db7b3bb6c6fb5ffd977d3ad79dfd7be86ee9bd50e5d63f56cd25e23f
    36c1fce877fc6ff3bff6ea4a63f51faf0e93d57d1bdc46266456ff0006be
    7f437bbfced8f5eb2bc0576e3ebf387d58fb24b8f568f40d8663610e1f6b
    f527f9dd9ff8324a737ebc75f3d57a99c7a1e4e1627b5827dafb07f3b91e
    dffb6abffd48b9a4974bf513a29ea5d61b7d8d9c6c3fd238f6367f80afff
    00477fd6bfe11253de7d4ee8aee8fd2195dc00c8b89b2ef273bf33fb35b2
    b55bfc6198fab56f9db57fd57c574c000206802e6bfc6109fab371f0b2a3
    ff004a1253e4c924bd0bea8fd53e81d53a1d1999743adbdce787bbd47b47
    b5ce6b5bb6a7b3f31253e7a92f5cff00981f55ff00ee2bbfeddb3ff4a25f
    f307eabffdc577fdbb67fe94494f91a4bd73fe607d57ff00b8aeff00b76c
    ff00d2897fcc1faaff00f715dff6ed9ffa51253e46b67ea7ff00e29ba7ff
    00c61ffa97af43ff00983f55ff00ee2bbfeddb3ff4aa3e0fd4de81819756
    662d0e65f499638d8f7092367d1b1ee6fe724a73bfc64ffc80cff8f67e4b
    1796af55ff0018cd07eaec9305b756479fd26af2a494fb47d5411f573a70
    ff008169fbf55aeb27eaa907eae74e23fd0307dcb5925292492494a49249
    2535fa862333b0afc3b090cbd8eadc4730e1b5789f54e9997d2b31f8796c
    db633507b3da7e85b5ff0021ebdd155cfe9b81d4a9346750cbebec1e3569
    e375767f3953ff00975a4a7c2925eab91fe2e7eae5c66b17e30f0aec91ff
    00b34cc941ff00c6cba0ff00dc8cbff3ebff00de5494f9824bd3ff00f1b2
    e85ff7232ffcfaff00f7992ffc6cba17fdc8cbff003ebffde6494f982704
    b4820c11a823995e9dff008d9742ff00b9197fe7d7ff00bccb90fae1d030
    ba167538d86fb2c6595ef71b4b490676fb7d2ae9494ed7d49fae395f6a67
    49ea761babb7db8f7bcfbdaefcda6cb1ff00ce5767f835e8848682e2600d
    492bc27a7bdd5e7e358dfa4cbab709f10e6b97a5fd7eebbf60e9430e87c6
    4e682c31daa8fd3f6fcfdfe9ff00d71253c3fd6deb7fb6babbeeadc4e2d2
    3d3c71a8f68fa766d9fa56bfff0003f496224add1d27aa64d42ec7c4bada
    9d3b5ecadce698f6bb6b9ad494f49d07eba61f44e9cdc4a311ceb490eb6c
    274718f77b377efac2ebbd4713a9e69ccc7a3eceeb07e95823693fbecd5e
    a3fb03adcc7d8323fedb77fe452fd81d73fee064787f36effc8a4a73d7a8
    7f8beeba33ba79e9b71fd630800c263df51fe6f6c06ff33b7d35e6993899
    58967a5954be8b2376cb1a5a60fe76d7ab5d0faad9d23aa519cc98add16b
    47e756ef6dace5bbbdbf43fe11253ee0bc87ebdffe29727e0cfc8bd63172
    69ccc6ab2a876eaae687b1de4e1b9abca3ebe7fe29727faacffa9494e7fd
    5c04f5dc003fd3b3f2ff00697b1f50e9f8bd4b15f8996c165560820ffd52
    f1bfaba63aee07fc7b3f2af6e494f8d7d64fab597d0b2487036623cfe86e
    ff00d156ff00c2ff00e7dffb72aaf14120c8d08e0af76cfc0c5ea18cfc5c
    b60b2ab04105792fd66fab195d0b24900d984f23d2bbc09ddfa1b3f97ed4
    94f53f537ebb7da4d7d2faabff004e7db4649fcff0aaf77fa6ff0085ff00
    0bff0019fce770e82d33c415e04bbdfaadf5ef6d1fb3fabb8b9cd6c51926
    35007b6ac873b6fbff0072eff09fe13f49fce253c12eeffc56ff003fd47f
    a957e5b5708bbcff0015dfcf750fead5f96d494fa1a49249294924924a7f
    ffd4efd2492494d3ead88dcde999588e98baa7b749e48f6fd15c97f8b3ca
    2da33fa65836db4d82dda79f70f42ef6ff00c13e8aff00edc5dcaf37cf3f
    f363ebd3330cb30b31dbec3260b2ef664b9fad8f7fa191fac7fd6d252fd4
    f09f4e67d60e9267d4cadbd4709a3f38b5cebeee3feb8cff00ad27ad95e6
    e49c9711e8fd64c33469a3599d536a735b638ec633d5beafd1ff00c3adaf
    aeb83734627d62c268b2ce9c66f60126cc7711bb7387f81aff004bbffe0b
    22db16007d258705973abc1ea2ff00b6f49ca100e3e4cbbd4c5b1cdf4767
    e918fa59e9ff00337ff33fa7fd25694bd59797874559cea7f5be9a5dd37a
    c5701ce7e3457f66b7e97f36c6633ff4b57f3bfe97fc2203853431bd31f7
    3598a2dfb4747ea103730bbddf66b5fb9ecf43759ea6c7fe8edfd27e93fd
    1deb5b9d9adfda0d635bd6711be9751c37437ed353363fed6c6b7db631fe
    b53e9e4d7fccfa95fa9ea50b3f14b4d760c2a3f6860007ed1d36e245b411
    b9f6594d7ecb18cfa6ff00d17f85ff000c929b5765371721d6e6fafd1bab
    35a4599f4037519325a6af599fcbfa7ffa311adeb114c9fac38b508daeb3
    1b10faee693bf6fe6ecffc0d361f5468afd2c0ea8cc7a58619d37aab37fa
    665c1945393fd23d2655b2b57197f5864135745c5fdfbc1dda0fdda98fde
    ff00dcff008c494ecfd5ab87ece7576b323ec712ccaea2e68b2f2fdcdbff
    0040e73df5e333f45e97adfcefaca357d4ee9f89d7b1bac74f8c6151b3d6
    c60258ef5196d5be8d7f57daebbf99fe63d3fe6bd1ff0009cbdb978d91d4
    01befb3eb164b4fe870e96fa586cd03293b3f4957fa4ab7ffe7c5dbf4cea
    7eb574e3675d8ffb55ec36598f413ed6cfb7f47639f6fb6bd9ea6fff000a
    929d25e398023eb952008ff288d3febcbd8d798647d5dea1d23eb7615f73
    43b1327398faaeac12c1baddeca2ddc3f457ecff0007ff006d7a8929f4f5
    8fd1ddf6bcecdcdbba59c0c863cd0cc8781bf22b11fa4fa35bfd3fd1d5ff
    0005fe8afb7f48aef5319eec0bdbd35cc666b9a450eb356877fafd051e8e
    dea4de9b437aab9afce008b9cd882773b67d0dacfe6b624a6ea4924929f2
    4ff181ff008a6bff00a95ffd4858dd23fe55c2ff00c3157fd5b1775f5afe
    a5f56eb1d61f9d88ea1b5398c6c3dc5ae968daeddb2a72cec0ff00179d77
    1b3f1b22c7e396536b2c7c3dc4c31cd7bbfc07f25253e96924924a524924
    92985dfcd3ff00aa7f22f07c8fe916ff005ddf957bcbc6e696f88217995f
    fe2e3af3eeb1ecb31f6b9ce2d97b81827fe252530ff16ba75fb89e062be7
    fcfc743fafdd70751ea9f63a1fbb1b0fdb20e8eb0ff38ee7fc17f37ff6f2
    d7e89f533eb17487e5e4576d1ebd98eea6987388dcf754edcfdf537dbb6b
    5967fc5bfd62264bb1e4f3363bff004924a79400b886b44926001dcaf65f
    aabd17f62f48af1dd1ebbff49791ddeeff00c833f46b9afab5f507370baa
    5799d50d4eaa8f7d6c638ba6c07f46e7ee637db5fd3ff8c5dea4a5d24924
    94e5fd62e8d575ae976e23f4b3e952f892d78f7376ff00d42f16b6a7d36b
    eab06db2b716bda7b39a76b9abdf5709f5a7ea265f50ea4737a51a98db84
    decb1c5bfa407f9c6fb6cfe71bfebfa4494e0fd45eb87a67566e35847d9b
    348ade4cfb5fafa2f6ff0059ff00a35e85f59ba3b3acf49b7174f55a3d4a
    1c7f36c68f67f9df41ff00f04b831fe2e3eb10321d8e08e3f48eff00d24b
    d1ba3d59d4f4dc7a7a86d3955b032c731db83b6fb5b66f736bfa6929f0fb
    2bb2ab1f55ad2cb2b716bda790e69daf6b9457a5fd6efa8f6752c83d47a5
    96b725ff00cfd2f30d7c0dac7d2efa35d9ecd9fe8d723ff327eb44c7d81d
    fe7d7ffa5525386c63ec7b58c6973dc435ad689249d1ad6b42f65faadd10
    745e935e33e0e4389b2f70eef77fe419b2b585f553ea23ba7e437a87562c
    7e4335a2869dcdaddfe9ad7fe7dccfccff00075ff39ff17db24a52c2fae9
    83767fd5dcaaa86efb59b6d6b7c7639afb3ff01f516ea6494f80abd8bd6f
    abe15228c4ccba9a4124318f21a09fa5b5abb9ebdfe2e6ac9b5f95d1ec6d
    0f792e763593e949ff004163039f4ffc5ecb3feb4b07ff001bafac731b69
    f8fa9ff9824a727fe737d61ffcb1c8ff00b71dfde9ff00e73fd6131fe51c
    8d3fe11cb57ff1bafac7fbb4ff00db9ff98a6ffc6efeb27ee53ff6e0fee4
    94e57fce6fac3ff96391a7fc2392ff009cbf580ffde8e46bff0008effc92
    d5ff00c6ebeb27eed3ff006e7fe6290ff175f592636d23cfd4ff00cc5253
    97ff0039beb0ff00e58e47fdb8ef8ad8faa3d7bace57d62c2c7c9cdbaea5
    e5e1d5bde48315d85bbb77f510cff8bafac9fbb49ffae7fe62b5beacfd49
    eb3d33ade2e765fa428a77976c7ee77b99654df6ecfde7a4a7a2faf18766
    5fd5bca6d4ddd655b6d00730c735d67fe05bd78faf7e2038104483a10785
    c3758ff16b564643efe9790dc76bc971c7b1a4b1a4ff00a1b2bfa157fc1f
    a6929e4717eb67d60c3c7af171b31d5d150db5b0359a0feb1af7237fcf6f
    ad1ff73ddfe657ff00a4568ffe369f583fd2e2ff009eff00fde74dff008d
    afd60ff498dfe7bfff004824a73ffe7b7d68ff00b9eeff0032bf2ff82fe4
    a6ff009ebf5a35fd7ddaff0022bffd24b47ff1b5fac1fe971bfcf7ff00e9
    0487f8b5fac07fc2e30fedbfff004824a73bfe7afd6899fb7bbfccafff00
    49271f5dbeb40007dbdda7f22b3e1ff05fc95a1ff8da7d60ff004b8bfe7b
    ff00f79d3ffe369f583fd2e2ff009eff00fde7494cfeac7d6cebf99d730f
    132b2cdb8f6bc87b1cd66bed73be9b58c7a87d69fac7d730beb0e6518b99
    655554e68ad822002c63ff0039bfcb5a3f57bea1f58e9bd631b3f26da3d2
    a1c5ce0c7b8b8fb5cdf6efa367e726fac5f51bacf53eb5959d8cea0537b8
    1607bdc1da3595fb9ada9dfb8929e61df5afeb1b9c5c7a85b2798200ff00
    35ad4dff003abeb17fe585df7ad6ff00c6dbeb0fefe37fdb8eff00d2297f
    e36df587f7f1bfedc77fe91494e4ff00ceafac5ff96177f9c97fceafac5f
    f96177dffec5adff008db7d61fdfc6ff00b71dff00a452ff00c6dbeb0fef
    e37fdb8eff00d22929ca6fd6cfac6c3b8750b67cc83ff56d5473ba8e7751
    b45d9b73afb0080e74682776df6ae8ff00f1b6fac3fbf8dff6e3bff48a3e
    2ff8b2eacfb232f269a6a8fa55eeb1d33f47639b47fd5a4a799e8f8e6fce
    add3b6ba3f4d6bcf0d6b0874bbfb49758ea77755ea16e65c492f30c07f35
    a3e8b7fefebbcea5f516daba7370ba1bdad758672eebdc43ac681ecaff00
    4553bf3961ff00e36bf583fd2637f9efff00d20929e7fa3f4bbfab750ab0
    68d0d87dce890d68fa6f77faff0038bdaf0f16ac3c5ab169686d753435a0
    7905cf7d4efaa6fe86cb6fccd8fcdb0ed0eac921b5fee6e7b59f9cba8494
    a49249253c87f8c0e82337a71ea54b7f58c305ce8e5d569eaeeff8967e9b
    ff00562f2f5efae6b5ed2c7096b8410bcdfa87f8b7ea8ecdb9f83651f657
    38baa6bdce6b9ad2777a7b5b53ff009b494dcff173d78163ba3643a0b7dd
    8b27904b9d6d7fd8ff005fe6960fd7d1ff0064b91e6d67fd4ad1c0fa83f5
    9b07329cca6dc66d94bc387e91fdbe937f98fcf6fb15dfac7f527adf57ea
    6ecea9f8ed0f63410e7381dcd1eee2ab1253c87d5cff0097b03fe3d9f957
    b6af39e8ff00503ad61754c5cbbdf43aaa6c6bde18f717403f9ad752d5e8
    c9294abe6e0e367e33f172ab1654f105a44ab0924a7c77eb37d56cbe8579
    709b709e7f457784fd1aeffddb3ff3e7fe06b097bce4e2e3e5d2ea326b6d
    b4bfe931e241fecae07abff8b4bfd636748b98697127d1b89059fc965ad6
    bfd46ff5ff00f04494f08bd13fc5861dacc7cdcd708aed736b64f7f4f739
    eeff00c1567607f8b5ea8fc86fed0b6aab1c105fe9b8bdee13eead9ed636
    bdccff0009ff0081af45c3c4a30716ac4c66eca6968631be4047bbf79252
    74924925292492494fffd5efd2492494a5cefd71fabffb67003a96ce5512
    6b800b9c0fe67d2afe8bbfe37f45ebfa58f7647a2ba249253c4fd46ebedc
    bc677d5fea91f68a41ae86583f9da8076fc67b5c366fc6637feb98ff00f1
    36aa5d73eafd9d11f739949cbe8194e2eb6b6b775988e8f75f5ed6fe8eaa
    ff00f3dfe86dff004ead7d74fab598fcc6758e9559f59bb5cef45bef1634
    ef6dbb296fa9639ced9fa6fd259ea7f3ff00abfa7f67b7f567eba539db7a
    6759fd5ba9b4fa44d836b6e77d18734b5adc7c9fccb287ff00396ff31fe8
    2b4a7956b28af66464dd01e7f52eb1538bde1ccf4d8caba962fa9ec67a3e
    9b3df57fe7dc8b16866e774dc80d1d76a0dcb869a3acf4f717b5cd9b18db
    6cd59757edc67d5fa5f5ff00c35d554b77a9fd49acdb665f44b461db6c9b
    319e3763d9a386cf4dbefc7dfea3ff004957f33fe02b5cf1e97d430722d3
    66364748f697d97e334e4e14303ecb6fc8abf4be9d7b59eca9252ccc6bf2
    e1b46474eeaf5b2093900559003bdbe86ff63bf33f9cfd27f38add7d1ac6
    936b7eade2b9a0c6ff00b607301fe536c7bdbfb8a8330f1b2bda1dd2ba8b
    5d1b6c16bb0b25c4ff00c138d2dffc06c55dfd1f258e34bba239dee2d6ed
    c976d3f49ed6b7dfb5ff00a36bff00e33f9c494e8e465e46233d3bb2f0fa
    456c6fb31ba682fc9b376e7fa3ebb7d5d9b9edfe777fa4aa62e25b5db464
    b83fa6e33acdd53e77f50c971db51663318df56cb323f73d3fd0db917d5f
    a3c3c94466259815d765b7607452c6877a95b9d7658247f37e935f7dbfa4
    ddf9ecb7d0ff008dad6d61635b66f77d5fc1b6cc9b810eeb7d50969008f6
    db8dbbf5cbbd467b3f56a29abf9af57d4494f598594ec8a2b7df57d9b21e
    373b19ce6b9ecfdddfe9ff0023deacae7ba6f44c0e80d7f55ea7946dcc2d
    8bf32f7c34076dfd0d5bb6edabd4fe6ebffd46a8e6752ea3f59aaa2efaab
    9868fb35c5b955d9fa327567d9ef76966fc6f6dbfa3ff09fe87d4fd1a4a6
    0f7e17d76c96d6d765603fa5d8e77006f92d6b5fba7f439357a7fb9fa25d
    8a8535b995b4585aeb768163dadda1cefcf7867bb66e7ff2d11252924924
    94a4924925292492494a4924925292492494a4924925292492494a492492
    5292492494a4924925292492494a4924925292492494a492492529249249
    4a4924925292492494a4924925292492494a4924925292492494a4924925
    292492494a4924925292492494a4924925292492494a4924925292492494
    a4924925292492494a4924925292492494a4924925292492494a49249253
    ffd6efd2492494a492492529733f593ea5e17582ec9a00a33dc5bbac921a
    e1f45fea57eef7ecff00b73fd257ea7aaba649253e6d8bd6beb5fd542313
    3f1ce5e1b07b1af9f635a03dde865b03ff00475fa8c67bfed18f5ff3542e
    8b03fc60fd5ecb6c5f63f0ec9036dad2419fddb71fd666cff8df4974b657
    5dac2cb1a1ec772d70041f8b5cb0337ea3fd5ecb73de683558f2e71731c4
    7b9dbb5d7fadfcdff36929b4f67d56eacf758efb0e6d80439ffa2b1e07fc
    637758d556dfa9ff0054092fb312b6fc2db18381f9acbd8c5903fc57e0ef
    797e6d9b4ba58d630376b7f71ceb1f77a8ff00e5ff00e069bff1aec2db1f
    6fb77763b1b1f9bf9bbbfaff00ebfce253aaec8fa8bd208b9a706bb2b300
    d6196dad274fa340bf2566753ff1958cddd4f48c67e4dba86db68dacd3fc
    232967e9ed67f5fecc9b1bfc5860b2c71cacdb2da88f636b60aded33eddd
    6bdf935bff00ed85d1e1fd59e8585b0d3875ef6410f70dcedc07a7ea7bfd
    bbd253c4e3fd5dfac9f5b6d19dd5720d147f822f69da1ae1bb76163b7654
    fabf99fd2eff00d3ff00dc8f51779d1fa360f46c46e2e1b600fa763a37d8
    7f7ed7abc9d25292492494a4924925292492494a4924925292492494a492
    4925292492494a4924925292492494a4924925292492494a492492529249
    2494a4924925292492494a4924925292492494a4924925292492494a4924
    925292492494a4924925292492494a4924925292492494a4924925292492
    494a4924925292492494a4924925292492494a4924925292492494a49249
    25292492494a4924925292492494ff00ffd7efd2492494a4924925292492
    494a4924925292492494a4924925292492494a4924925292492494a49249
    25292492494a4924925292492494a4924925292492494a49249252924924
    94a4924925292492494a4924925292492494a4924925292492494a492492
    5292492494a4924925292492494a4924925292492494a492492529249249
    4a4924925292492494a4924925292492494a4924925292492494a4924925
    292492494a4924925292492494a4924925292492494a49249253ffd9
    ]]></icerik></resim><kisa_ad>Resim 3d1df48649498</kisa_ad><kaynak>TKWORD</kaynak><gizlilik>TASNIF DISI</gizlilik><tarihce islemturu="YENI_KAYIT"><kullanici>havelsan</kullanici><islemani>2002-06-29T20:55:18</islemani></tarihce></nesne>

  • XML Schema based form in webdynpro

    Hi I have existing webdynpro which is having an interactive form view. The form is XML schema based.
    I want to create the same webdynpro with different data structure and different interactive form.
    Do i need to create the form with XML schema or do i need to do that from Webdynpro side which will generate the XML Schema automatically.
    Can you please help.
    Nik

    Thanks Amit,
    It as a really a good help for me to understand the process of creation of form from Webdynpro.
    Let me explain you the problem in detail:-
    There is an webdynpro application where  7 forms are added using differents views for each form (created through webdynpro) with different interfaces. That means in all the forms i found XML Schema based interface.
    One for the forms view for surround frame form ZFORM1 (using a structure  ZSTR1 of 20 fields in the interface ZINT1 is there)
    An adobe form Developer created a new form ZFORM2 by copying this ZFORM1. That means ZFORM2 is also using the same interface ZINT1 (we can also say same structure ZSTR1 ).
    No view was created to use this form.
    Now before creating the view & add  it in the WD aplication, for this ZFORM2 Client want to delete 2
    fields & 2 new fields for this form ZFORM2.
    I created a new structure ZSTR2 ( as per the fields required) Now i am thinking of to create a new form ZFORM2 using this structure ZSTR2 in the context of my new View .This will create a new interface ZINT2 (XML schema based)
    But this is a very time consuming process as the form ZFORM2 created by the developer earlier has so many java scripting code. he took 2 months to develop it. and i dont have that much time.
    I am sure there must be some other way to fix this problem.
    Can anyone give me the proper solution .
    Cheers,
    Nik

  • Generate Adobe Interactive Form with XML Schema-Based Interface

    Hi,
    I need to generate a adobe Interactive but with XML Schema-Based Interface, i have one example but with ABAP Dictionary-Based Interface.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams       = fp_outputparams
    * EXCEPTIONS
    *   CANCEL                = 1
    *   USAGE_ERROR           = 2
    *   SYSTEM_ERROR          = 3
    *   INTERNAL_ERROR        = 4
    *   OTHERS                = 5
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        i_name     = 'ZMMDM_CL'
      IMPORTING
        e_funcname = fm_name.
    But when i call the next function for print i need the docxml parameter and i don't know how to get it
    fm_name
    CALL FUNCTION fm_name
      EXPORTING
       /1BCDWB/DOCPARAMS        = fp_docparams
    *    /1bcdwb/docxml           =
    * IMPORTING
    *   /1BCDWB/FORMOUTPUT       =
    * EXCEPTIONS
    *   USAGE_ERROR              = 1
    *   SYSTEM_ERROR             = 2
    *   INTERNAL_ERROR           = 3
    *   OTHERS                   = 4

    1) this questions was asked many times before, you didn´t search for a second
    2) I am not aware of any standard solution
    3) custom solution: use XSLT transformation ID to get XML from the filled DDIC structure and use string operations to add the header and footer to create a valid XML.
    Regards Otto

  • Inserting XML data into xmltype column

    Oracle version: 10.1.0.5
    OpenVms Alpha V8.3
    1) Tried this and get the error shown below. Removed charset and placed a zero. Same error.
    INSERT INTO xml_demo (xml_data) -- column of xmltype
    VALUES
    xmltype
    bfilename('XML_DIR', 'MOL.XML'),
    nls_charset_id('AL32UTF8')
    ORA-22993: specified input amount is greater than actual source amount
    ORA-06512: at "SYS.DBMS_LOB", line 637
    ORA-06512: at "SYS.XMLTYPE", line 283
    ORA-06512: at line 1
    2) This PL/SQL block works. However maximum raw size around 32K. The file can be around 100K. May be I can load it into a table of raw and somehow concatnate it to insert. Not sure whether this is possible but I am sure there must me a simple way of doing this.
    Subset of the xml file is pasted below.
    set serveroutput on size 1000000
    DECLARE
    file1 bfile;
    v_xml XMLType;
    len1 number(6);
    v_rec1 raw(32000);
    BEGIN
    file1 := bfilename('XML_DIR','MOL.XML');
    DBMS_LOB.fileopen(file1, DBMS_LOB.file_readonly);
    len1 := DBMS_LOB.getLength(file1);
    v_rec1 := dbms_lob.substr(file1,len1,1);
    v_xml := xmltype(UTL_RAW.CAST_TO_VARCHAR2(v_rec1));
    INSERT INTO xml_demo (xml_data) VALUES (v_xml);
    COMMIT;
    DBMS_LOB.fileclose(file1);
    exception
    when others then
    dbms_output.put_LINE (sqlerrm);
    DBMS_LOB.fileclose(file1);
    END;
    <?xml version="1.0" encoding="UTF-8"?>
    <MolDocument DtdVersion="3" DtdRelease="0">
    <DocumentIdentification v="MOL_20100331_1500_1600"/>
    <DocumentVersion v="1"/>
    <DocumentType v="A43"/>
    <SenderIdentification codingScheme="A01" v="17X100Z100Z0001H"/>
    <SenderRole v="A35"/>
    <ReceiverIdentification codingScheme="A01" v="10XFR-RTE------Q"/>
    <ReceiverRole v="A04"/>
    <CreationDateTime v="2010-03-31T14:10:00Z"/>
    <ValidTimeInterval v="2010-03-31T15:00Z/2010-03-31T16:00Z"/>
    <Domain codingScheme="A01" v="10YDOM-1001A001A"/>
    <MolTimeSeries>
    <ContractIdentification v="RTE_20100331_1500_16"/>
    <ResourceProvider codingScheme="A01" v="10XFR-RTE------Q"/>
    <AcquiringArea codingScheme="A01" v="17Y100Z100Z00013"/>
    <ConnectingArea codingScheme="A01" v="10YFR-RTE------C"/>
    <AuctionIdentification v="AUCTION_20100331_1500_1600"/>
    <BusinessType v="A10"/>
    <BidTimeInterval v="2010-03-31T15:00Z/2010-03-31T16:00Z"/>
    <MeasureUnitQuantity v="MAW"/>
    <Currency v="EUR"/>
    <MeasureUnitPrice v="MWH"/>
    <Direction v="A02"/>
    <MinimumActivationQuantity v="50"/>
    <Status v="A06"/>
    <Period>
    <TimeInterval v="2010-03-31T15:00Z/2010-03-31T16:00Z"/>
    <Resolution v="PT60M"/>
    <Interval>
    <Pos v="1"/>
    <Qty v="50"/>
    <EnergyPrice v="50.45"/>
    </Interval>
    </Period>
    </MolTimeSeries>
    </MolDocument>

    Marc
    Thanks. I understand what you are saying. I have been copying files in binary mode from NT servers into VMS. I have to get a proper xml file via FTP from the originating system to further investigate.
    I have one last item i need help on. If anything looks obvious let me know:
    +1) The xsd defintion of Qty (type: QuantityType) and EnergyPrice (type: Amount Type)+
                   <xsd:element name="Qty" type="ecc:QuantityType">
                        <xsd:annotation>
                             <xsd:documentation/>
                        </xsd:annotation>
                   </xsd:element>
                   <xsd:element name="EnergyPrice" type="ecc:AmountType" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation/>
                        </xsd:annotation>
                   </xsd:element>
    +2) Definition of AmountType and QuantityType in the parent xsd+
         <xsd:complexType name="AmountType">
              <xsd:annotation>
                   <xsd:documentation>
                        <Uid>ET0022</Uid>
                        <Definition>The monetary value of an object</Definition>
                   </xsd:documentation>
              </xsd:annotation>
              <xsd:attribute name="v" use="required">
                   <xsd:simpleType>
                        <xsd:restriction base="xsd:decimal">
                             <xsd:totalDigits value="17"/>
                        </xsd:restriction>
                   </xsd:simpleType>
              </xsd:attribute>
         </xsd:complexType>
         <!--_________________________________________________-->
         <xsd:complexType name="QuantityType">
              <xsd:annotation>
                   <xsd:documentation>
                        <Uid>ET0012</Uid>
                        <Definition>(Synonym "qty") The quantity of an energy product. Positive quantities shall not have a sign.</Definition>
                   </xsd:documentation>
              </xsd:annotation>
              <xsd:attribute name="v" type="xsd:decimal" use="required"/>
         </xsd:complexType>
         <!--________________
    +3. Data in the XML file+
    <Period>
    <TimeInterval v="2010-03-31T15:00Z/2010-03-31T16:00Z"/>
    <Resolution v="PT60M"/>
    <Interval>
    <Pos v="1"/>
    <Qty v="50"/>
    <EnergyPrice v="50.45"/>
    </Interval>
    +4) When I do the load:+
    the EnergyPrice is saved in the xmltype column as <EnergyPrice v="50"/>
    Losing its decimal value of .45
    +5) When I select as follows:+
    **DEV** SQL>> l
    1 SELECT
    2 EXTRACTVALUE(x2.column_value,'/MolTimeSeries/Period/Interval/EnergyPrice/@v') v1,
    3 EXTRACTVALUE(x2.column_value,'/MolTimeSeries/Period/Interval/EnergyPrice') v2,
    4 EXTRACTVALUE(x2.column_value,'/MolTimeSeries/Period/Interval/Qty') v3
    5 FROM balit_mol_xml x,
    6 TABLE(
    7 XMLSEQUENCE(
    8 EXTRACT(x.xml_payload, '/MolDocument/MolTimeSeries')
    9 )
    10 ) x2
    11* WHERE EXISTSNODE(x.xml_payload,'/MolDocument/DocumentIdentification[@v="MOL_20100331_1500_1600"]') = 1
    +6) get the result+
    50
    AmountType479_T(XDB$RAW_LIST_T('1301000000'), 50)
    QuantityType471_T(XDB$RAW_LIST_T('1301000000'), 50)
    +7) XDB$RAW_LIST_T('1301000000'),+
    Does that tell what I am doing wrong?

  • Extract XML data based on column tag

    Dear All,
    i want to extract the XML data type based on column selection.
    For example:
    i have the below xml in my database stored as XMLTYPE() data.
    <c1>10</c1><c2>0011</c2><c3>DEBIT</c3><c4>USD</c4>
    i want to extract the column tag c2&c3 alone. Is there any query to extract the same.
    Waiting for your response.Thanks in Advance.

    Hi,
    How do I set the web service option up correctly?  The XMLs are being created behind the scenes on what data to be used but I don't know how to make the menu only pick the xml based on the menu option.
    I have one XML that populates the menu options and specific XML's that has the data that goes with each menu option. The menu population works great but it doesn't pull the other XML's to populate the charts. This is the part that I need help.
    How do I use the web service to fix this? Any help would be very much appriecated.  I could even send you my dashboard if it helps so you can see what I've gotten so far (it's not all prettied up yet since I wanted to see if it's doable first)
    I'm new to Xcelsius so I apologize if these are newbie questions.
    Thanks,
    Jay

  • How to insert 4K of XML data into XMLType column?

    I use OCCI and our Oracle version is 9.2.0.1.0. I have successfully been able to insert xml data (any size) into a clob column using "insert into...values(.., empty_clob()) returning c1 into :3"; and then using Statement::GetClob() to acquire a reference to the internal clob and populate it. I cannot seem to be able to do the same when the column type is of XMLType.
    I could not find a single sample code which demonstrates inserting into a table with a XMLType column. Using SetDataBuffer(OCCI_SQLT_STR) with data over 4000 bytes does not work.
    I'd greatly appreciate any feedback.

    Pretty sure this was a bug in the base 9.2 release which was fixed in a patch drop. Try 9.2.0.6 or later.

  • Saving xmltype columns to file system

    I want to output the values of an XMLTYPE column in one of our tables into a separate file for each record.
    I'm trying to get UTL_FILE to write the data and am having issues. I have found many examples of how to do this in 10, but I'm on 9i. Anyone have any sample code around that will allow me to do this?
    _mike                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Yes It works...

Maybe you are looking for

  • Problems with OracleAS adapter for Siebel

    Hi, I have a problem starting the Java data bean connection from the OracleAS Adapter Application Explorer. When I try to connect to my Siebel Instance I get the following error from the application explorer Problem Activating adapter. (null). See lo

  • Win 2000 PC can't connect to a WEP enabled BEFW11S4 wireless router

    Hi, I just set up my wireless router to use WEP with 124 bits encryption. However, when I installed the WUSB11 wireless adaptor on a windows 2000 PC, it couldn't connect to the router and get an IP address. If I do an "ipconfig", it shows the "Cable

  • TS5150 No audio from my Apple TV.

    Have a 3rd gen Apple TV but I'm getting no audio.  I've tried the standard recommendations but nothing yet.  Further advise would be great.

  • IOS 7.1.2 keeps crashing iPad mini

    Hey everyone, I just wanted to get on here and post my issue. I researched and seen other versions have done similar to what is happening now. After updating to current operating system, my  mini keeps crashing and resetting.  I thought it was an app

  • Table entries in the transport

    Hi, What are the steps to add Table entries(SM30) in the transport? I have added the entries using SM30 for the table, but it doesnt appear in the transport request. Please help. Thanks & regards, Yogita