ORA-00600 when saving an XML schema

Hi all, my situation: when saving a schema, the following error message appears:

[ORA-00600: internal error code, arguments: [qmtsGetCompilationContext1], [], [], [], [], [], []]
ORA-06512: at "XDB". DBMS_XMLSCHEMA_INT', line 37
ORA-06512: at "XDB". DBMS_XMLSCHEMA', line 61
ORA-06512: at "XDB". DBMS_XMLSCHEMA", line 126
ORA-06512: at line 2

I am on a test computer, laptop with Windows XP 32-bit and Oracle 10.2.0.4.0
The command is:
BEGIN
DBMS_XMLSCHEMA.registerSchema (SCHEMAURL = > 'http://hl7.ifc.cnr.it/hl7/schemas/CDAR2/infrastructure/cda/POCD_MT000040.xsd',)
SCHEMADOC = > BFILENAME ("DATA_PUMP_DIR', 'POCD_MT000040.xsd'),
CSID = > NLS_CHARSET_ID ("AL32UTF8'));
END;

The diagram includes various include files, and it's quite 87K.

Thank you to everyone,
Fabrizio

There are a few known bugs associated with it. It is usually related to the schemas with complex cyclic dependencies (for example a b imported, imports imports c and c a b). Some of them are set at 11.1.x, you can see if your drawings with sign up. A bug that comes to mind is 5038284, which is fixed at 11.1 and has been backported to 10.2.0.4.0. You will probably need to open a tar and provide all of the XML schemas to determine if this fix solves your problem and ask a rear port.

Tags: Database

Similar Questions

  • ORA-12505 error connecting to the schema of HR of Oracle 11 g local db, ORA-00600, ORA-01033

    Hello

    When I try to connect to the hr schema in SQL Developer with these credentials (host: localhost, port: 1521, SID: ORCL), it throws the error message.

    "" Status: failed - Test has failed: listener refused the connection with the following error: ORA-12505, TNS: listener does not currently know the SID ".



    When I try to connect through cmd, it throws this

    SQL * more: Production version 11.2.0.1.0 Mon Jan 11 17:09:47 2016

    Copyright (c) 1982, 2010, Oracle.  All rights reserved.

    Enter the user name: human resources

    Enter the password:

    ERROR:

    ORA-01033: ORACLE initialization or shutting

    Process ID: 0

    Session IDs: serial number 0: 0



    And here is the status of the listener


    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production January 11, 2016 16:04

    : 28

    Copyright (c) 1991, 2010, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Prod

    ction

    Start date January 11, 2016 15:02:27

    Uptime 0 days 1 hour 2 minutes 5 seconds

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Listener parameter File D:\app\DKMOH\product\11.2.0\dbhome_1\network\admin\l

    istener.ora

    D:\app\dkmoh\diag\tnslsnr\DKMOH-PC\listener\alert\ log listener

    log. XML

    Summary of endpoints listening...

    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=127.0.0.1) (PORT = 1521)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    The command completed successfully



    I went through this link fixed - ORA-01033: ORACLE initialization or shutdown in progress | IT Blogger Tips , where it says to change the status from the db to 'OPEN'.

    SQL > select status, database_status from v$ instance;

    STATUS DATABASE_STATUS

    ------------ -----------------

    ACTIVE RISE



    And then, when I run this query below, that's what I get.

    SQL > alter database open;

    change the database open

    *

    ERROR on line 1:

    ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr], [1],

    [[507], [56509], [56515] [] [], [], [], [], []]



    I'm totally lost here. Any help would be appreciated.

    Thank you

    Hello

    This issue seems to be with the redo log.

    SQL > bootable media.

    SQL > show parameter control_files

    Query 1

    ------------

    SQL > select a.member, a.group #, b.status v$ logfile a, v$ log b where a.group #= b.group # and b.status = 'CURRENT';

    Note the name of the redo log

    SQL > the judgment;

    Take a backup of the controlfile operating system level (this is to ensure that we have a copy backup of the current state of the controlfile)

    SQL > bootable media.

    SQL > restore database using backup controlfile until cancel;

    Enter the location of the log to roll forward as recent on demand 1 when you are prompted for the recovery of

    Press enter

    SQL > Alter database open resetlogs;

    Thank you

  • Stuck with ORA-30937 when inserting XML in the table...

    Hello

    We are in 10 gr 2 (10.2.0.3.0)

    I've never been so far with XMLs...
    and I followed as well as Marc can messages and XML and relational views:
    DB XML FAQ
    View relational content XML.
    XMLType view relational content

    I have saved the schema, renamed tables XMLTYPE that I needed...
    but when I try to insert my XML data in the XMLTYPE, I get this error:
    ORA-30937: no schema definition for 'WORKBENCH_PROJECT' (namespace ") in parent ' / '.


    I think I need to display the xml, xsd, and code as well:

    XML is:
    <? XML version = "1.0"? >
    < WORKBENCH_PROJECT >
    < BaseCalendars >
    < calendar
    name = "Standard" lastUpdatedDate = "2001-07 - 10 T 09: 04:08" >
    < / calendar >
    < calendar
    name = "Tunbase" lastUpdatedDate = "" 2008-02 - 21 T 12: 01:30 ' lastUpdatedBy = "sacchaud" > "
    < days >
    < day departure = '2008-01-01' isWorkDay = "false" / >
    < day departure = finishing '2008-03-20' = '2008-03-21' isWorkDay = "false" / >
    < day departure = "2008-04-09" isWorkDay = "false" / >
    < day departure = '2008-05-01' isWorkDay = "false" / >
    < day departure = '2008-07-25' isWorkDay = "false" / >
    < day departure = '2008-08-13' isWorkDay = "false" / >
    < day departure = "2008-11-07" isWorkDay = "false" / >
    < / days >
    < / calendar >
    < calendar
    name = 'SPAIN-BASE' lastUpdatedDate = "" 2008-11 - 28 T 10: 11:53 ' lastUpdatedBy = "ashwkulk" > "
    < days >
    < day departure = '2008-01-01' isWorkDay = "false" / >
    < day departure = "2008-01-07" isWorkDay = "true" >
    < go >
    < Shift start = "08:00:00" complete ="12:00:00" / > "
    < Shift start = "13:00:00" complete ="17:00:00" / > "
    < / travel >
    < / day >
    < day departure = '2008-03-20' isWorkDay = "true" >
    < go >
    < Shift start = "08:00:00" complete ="12:00:00" / > "
    < Shift start = "13:00:00" complete ="17:00:00" / > "
    < / travel >
    < / day >
    < day departure = '2008-03-21' isWorkDay = "false" / >
    < day departure = '2008-05-01' isWorkDay = "false" / >
    < day departure = '2008-08-15' isWorkDay = "false" / >
    < day departure = '2008-10-13' isWorkDay = "true" >
    < go >
    < Shift start = "08:00:00" complete ="12:00:00" / > "
    < Shift start = "13:00:00" complete ="17:00:00" / > "
    < / travel >
    < / day >
    < day departure = "2008-12-08" isWorkDay = "false" / >
    < day departure = '2008-12-25' isWorkDay = "false" / >
    < day departure = '2009-01-01' isWorkDay = "false" / >
    < day departure = "2009-01-06" isWorkDay = "false" / >
    < day departure = '2009-04-10' isWorkDay = "false" / >
    < day departure = '2009-05-01' isWorkDay = "false" / >
    < day departure = '2009-10-12' isWorkDay = "false" / >
    < day departure = "2009-12-08" isWorkDay = "false" / >
    < day departure = '2009-12-25' isWorkDay = "false" / >
    < / days >
    < / calendar >
    < / BaseCalendars >
    < PoolResources >
    < PoolResource
    resourceType = '0' inputTypeCode = '0' ADO = "FGASNIER" userFlag2 = "false" userFlag1 = "false".
    fullName = "Gasnier Florian" firstName = "Florian" isExternal = "false" isActive = 'true '.
    ResourceID = "FGASNIER" managerUserName = "PIDUPUIS" employmentType = "3" userNumber2 = "0.0".
    userNumber1 = '0,0' userText2 = 'POWEO' userText1 = "' UDDI EUC + ' openForTimeEntry = 'true'"
    emailAddress = '[email protected]' LastName As String = "Gasnier" isRole = "false" trackMode = "2" >
    < Calendar CalendrierBase = 'FRANCE' >
    < days >
    < day departure = '2008-12-26' isWorkDay = "false" / >
    < day departure = "2009-03-23" Finish = "2009-03-25" isWorkDay = "false" / >
    < / days >
    < / calendar >
    < curve name = 'availability' type = '1' default = "1.0" / >
    < / PoolResource >
    < PoolResource
    resourceType = '0' inputTypeCode = '0' ADO = "mmazelei" userFlag2 = "false" userFlag1 = "false".
    fullName = "Kounde, Guillaume" firstName = "Guillaume" isExternal = "false" isActive = 'true '.
    ID = "GKOUNDE" managerUserName = "PIDUPUIS" employmentType = "3" userNumber2 = "0.0".
    userText3 = "RE7' userNumber1 = '0,0' userText2 = 'Poweo' userText1 =" ' UDDI EUC + ' openForTimeEntry = 'true' "
    emailAddress = '[email protected]' LastName As String = "Kounde" isRole = "false" trackMode = "2" >
    < Calendar CalendrierBase = 'FRANCE' >
    < days >
    < / days >
    < / calendar >
    < curve name = 'availability' type = '1' default = "1.0" / >
    < / PoolResource >
    < / PoolResources >
    <>projects
    < project
    UID = "AJWF [& quot;" / A_ "'? & quot; GW:R'! '''? "P" ' 0 "baseTime =" "2008-10 - 02T 17: 33:10" closed = 'false' "
    Active = 'true' approved = 'false' userText2 = 'Poweo' userText1 = '& amp; "D EUC +" start = "" 2008-10 - 02T 08: 00:00 ""
    openForTimeEntry = 'true' format = '0' trackMode = '2' lastUpdatedDate = "" 2009-03 - 09 T 17: 25:03 ""
    "baseFinish =" "2008-10 - 02T 17: 00:00" end = "2012-12 - 31 T 17: 00:00 ' baseStart =" "2008-10 - 02 T 08: 00:00" "
    priority = "10" finishImposed = "true" cpmType = "0" name = 'ID-ID-Poweo recipe' startImposed = 'false '.
    program = 'false' lastUpdatedBy = "lletaill" >
    baseline <>
    < baseline
    Description = "P.Dupuis pilgrims © ation" code = 'Main' name = "ReferencePrincipale20081002" "
    current = "true" / >
    < / basic lines >
    < resources >
    < resource
    requestStatus = '1' lastUpdatedBy = "JRATAJAK" resourceID = "lletaill" openForTimeEntry = "true".
    lastUpdatedDate = "" 2009-01 - 06 T 16: 10:59 "bookingStatus ="15">"
    < curve name = "allowance" type = "1" default = "1.0" / >
    < curve name = 'rate' type = '1' default = "1.0" >
    <>segments
    "< start of the segment =" ' 1900-01 - 01 T 00: 00:00 "Finish =" 2008-10 - 02 T 00: 00:00 ' rate '0.0' = >
    < / segment >
    "< start of the segment =" "2008-10 - 02T 00: 00:00" end = "2010-01 - 01 T 00: 00:00" rate = "0.008880555555555555" >
    < / segment >
    "< start of the segment =" "2010-01 - 01 T 00: 00:00" Finish = "2013-01 - 01 T 00: 00:00 ' rate '0.0' = >
    < / segment >
    "< start of the segment =" "2013-01 - 01 T 00: 00:00" Finish = "2079-06 - 03 T 00: 00:00 ' rate '0.0' = >
    < / segment >
    < / segments >
    < / curve >
    < / resource >
    < resource
    requestStatus = '1' lastUpdatedBy = "EDAUDIFF" resourceID = "EDAUDIFF" availTo = "" 2009-02 - 14 T 00: 00:00 ""
    openForTimeEntry = "false" lastUpdatedDate = "" 2009-02 - 16 T 15: 09:50 "bookingStatus ="15">"
    < curve name = "allowance" type = "1" default = "1.0" / >
    < curve name = 'rate' type = '1' default = "1.0" >
    <>segments
    "< start of the segment =" ' 1900-01 - 01 T 00: 00:00 "Finish =" 2008-10 - 02 T 00: 00:00 ' rate '0.0' = >
    < / segment >
    "< start of the segment =" "2008-10 - 02T 00: 00:00" end = "2010-01 - 01 T 00: 00:00" rate = "0.008880555555555555" >
    < / segment >
    "< start of the segment =" "2010-01 - 01 T 00: 00:00" Finish = "2013-01 - 01 T 00: 00:00 ' rate '0.0' = >
    < / segment >
    "< start of the segment =" "2013-01 - 01 T 00: 00:00" Finish = "2079-06 - 03 T 00: 00:00 ' rate '0.0' = >
    < / segment >
    < / segments >
    < / curve >
    < BaselineDetails >
    < BaselineDetail
    "Start =" "2008-10 - 02T 08: 00:00 ' baselineCode = 'Main' Finish =" 2008-10 - 02 T 17: 00:00.
    costSum = "1283.2" usageSum = "144000.0" duration = "1.0" >
    < curve name = "costCurve" type = "2" default "0,0" = >
    <>segments
    "< start of the segment =" "2008-10 - 02T 08: 00:00" end = "2008-10 - 02 T 17: 00:00" rate = "0.04455555555555556" / >
    < / segments >
    < / curve >
    < curve name = "usageCurve" type = "2" default "0,0" = >
    <>segments
    "< start of the segment =" "2008-10 - 02T 08: 00:00" end = "2008-10 - 02 T 17: 00:00" rate = "5.0" / >
    < / segments >
    < / curve >
    < / BaselineDetail >
    < / BaselineDetails >
    < / resource >
    < resource
    requestStatus = '1' lastUpdatedBy = "JRATAJAK" resourceID = "JZARIOUH" availTo = "" 2010-12 - 31 T 17: 00:00 ""
    "openForTimeEntry ="true"availFrom =" "2009-01 - 05 T 00: 00:00" lastUpdatedDate = "2009-01 - 05 T 15: 19:32.
    bookingStatus = "15" >
    < curve name = "allowance" type = "1" default = "1.0" / >
    < curve name = 'rate' type = '1' default = "1.0" >
    <>segments
    "< start of the segment =" ' 1900-01 - 01 T 00: 00:00 "Finish =" 2008-10 - 02 T 00: 00:00 ' rate '0.0' = >
    < / segment >
    "< start of the segment =" "2008-10 - 02T 00: 00:00" end = "2010-01 - 01 T 00: 00:00" rate = "0.008880555555555555" >
    < / segment >
    "< start of the segment =" "2010-01 - 01 T 00: 00:00" Finish = "2013-01 - 01 T 00: 00:00 ' rate '0.0' = >
    < / segment >
    "< start of the segment =" "2013-01 - 01 T 00: 00:00" Finish = "2079-06 - 03 T 00: 00:00 ' rate '0.0' = >
    < / segment >
    < / segments >
    < / curve >
    < / resource >
    < / resource >
    < task
    UID = "AJ; & apos; Y6'? 1_'' ' ? & quot; GW:R'! '''? ' "P" ' 0 "baseTime =" "2008-10 - 02T 17: 33:10" start = "2009-02 - 16 T 08: 00:00.
    proxy = 'false' critical = "false" status = '0' lastUpdatedDate = "" 2009-03 - 09 T 17: 25:03 "outlineLevel = '3'"
    "baseFinish =" "2008-10 - 02T 17: 00:00" end = "2009-02 - 16 T 17: 00:00 ' summary = 'false' baseStart =" "2008-10 - 02 T 08: 00:00" "
    baselineDuration = "1.0" milestone = "false" name = "RE7 - awareness" fixed = "false".
    Locked = 'false' key = 'false' lastUpdatedBy = "lletaill" percComp = "0,0" unexpected = "false" >
    <>assignments
    < assignment
    status = '0' lastUpdatedBy = "lletaill" actualWork = "0,0" ResourceID = "EDAUDIFF" start = "" 2009-02 - 16 T 08: 00:00 ""
    baselineWork = "144000.0" unplanned = "false" estPattern = "3" actualThrough = "" 2009-02 - 16 T 00: 00:00 ""
    «Finish = "" 2009-02 - 16 T 17: 00:00 "="144000.0"remainingWork lastUpdatedDate =" 2009-03 - 09 T 17: 25:03»
    estMax = "1.0" >
    < curve name = "basic" type '2' default = '0.0' = >
    <>segments
    "< start of the segment =" "2008-10 - 02T 08: 00:00" end = "2008-10 - 02 T 17: 00:00" rate = "5.0" >
    < calendar >
    < days >
    < day dayOfWeek = 'SUN' isWorkDay = "false" / >
    < day dayOfWeek = 'MY' isWorkDay = "true" >
    < go >
    < Shift start = "08:00:00" complete ="12:00:00" / > "
    < Shift start = "13:00:00" complete ="17:00:00" / > "
    < / travel >
    < / day >
    < day dayOfWeek = 'SAT' isWorkDay = "false" / >
    < / days >
    < / calendar >
    < / segment >
    < / segments >
    < / curve >
    < BaselineDetails >
    < BaselineDetail
    "Start =" "2008-10 - 02T 08: 00:00 ' baselineCode = 'Main' Finish =" 2008-10 - 02 T 17: 00:00.
    costSum = "1283.2" usageSum = "144000.0" duration = "1.0" >
    < curve name = "costCurve" type = "2" default "0,0" = >
    <>segments
    "< start of the segment =" "2008-10 - 02T 08: 00:00" end = "2008-10 - 02 T 17: 00:00" rate = "0.04455555555555556" / >
    < / segments >
    < / curve >
    < curve name = "usageCurve" type = "2" default "0,0" = >
    <>segments
    "< start of the segment =" "2008-10 - 02T 08: 00:00" end = "2008-10 - 02 T 17: 00:00" rate = "5.0" / >
    < / segments >
    < / curve >
    < / BaselineDetail >
    < / BaselineDetails >
    < / assignment >
    < / assignments >
    < BaselineDetails >
    < BaselineDetail
    "Start =" "2008-10 - 02T 08: 00:00 ' baselineCode = 'Main' Finish =" 2008-10 - 02 T 17: 00:00.
    costSum = "1283.2" usageSum = "144000.0" duration = "1.0" >
    < curve name = "costCurve" type = "2" default "0,0" = >
    <>segments
    "< start of the segment =" "2008-10 - 02T 08: 00:00" end = "2008-10 - 02 T 17: 00:00" rate = "0.04455555555555556" / >
    < / segments >
    < / curve >
    < curve name = "usageCurve" type = "2" default "0,0" = >
    <>segments
    "< start of the segment =" "2008-10 - 02T 08: 00:00" end = "2008-10 - 02 T 17: 00:00" rate = "5.0" / >
    < / segments >
    < / curve >
    < / BaselineDetail >
    < / BaselineDetails >
    < / task >
    < / tasks >
    < BaselineDetails >
    < BaselineDetail
    "Start =" "2008-10 - 02T 08: 00:00 ' baselineCode = 'Main' Finish =" 2008-10 - 02 T 17: 00:00.
    costSum = "2566.4" usageSum = "288000.0" duration = "1.0" >
    < curve name = "costCurve" type = "2" default "0,0" = >
    <>segments
    "< start of the segment =" "2008-10 - 02T 08: 00:00" end = "2008-10 - 02 T 17: 00:00" rate = "0.08911111111111111" / >
    < / segments >
    < / curve >
    < curve name = "usageCurve" type = "2" default "0,0" = >
    <>segments
    "< start of the segment =" "2008-10 - 02T 08: 00:00" end = "2008-10 - 02 T 17: 00:00" rate = "10.0" / >
    < / segments >
    < / curve >
    < / BaselineDetail >
    < / BaselineDetails >
    < / project >
    < / project >
    < / WORKBENCH_PROJECT >

    -------------------------------
    XSD is (it was automatically generated by the "Stylus Studio" tools... so I changed a few stuffs up):
    <? XML version = "1.0" encoding = "UTF-8"? >
    < xsd: Schema targetNamespace = "http://www.oracle.com/xsd/projet.xsd."
    container = "http://www.w3.org/2001/XMLSchema" elementFormDefault = "unqualified".
    xmlns:xdb = "http://xmlns.oracle.com/xdb".
    xdb:storeVarrayAsTable = 'true '.
    xmlns = "http://www.oracle.com/xsd/projet.xsd" >
    < xsd: element name = "WORKBENCH_PROJECT" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT ref = "BaseCalendars" / >
    < xsd: ELEMENT ref = "PoolResources" / >
    < xsd: ELEMENT ref = "Projects" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "BaseCalendars" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT maxOccurs = "unbounded" ref = "Calendar" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "PoolResources" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT maxOccurs = "unbounded" ref = "PoolResource" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "PoolResource" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT ref = "Calendar" / >
    < xsd: ELEMENT ref = "Curve" / >
    < / xsd: SEQUENCE >
    < xsd: attribute name = "category" / >
    < xsd: attribute name = "emailAddress" / >
    < xsd: attribute name = "employmentType" use = "required" type = "xsd: Integer" / >
    < xsd: attribute name = "FirstName" type = "xsd:NCName" / >
    < xsd: attribute name = "full name" use = "required" / >
    < xsd: attribute name = "hireDate" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "inputTypeCode" type = "xsd: Integer" / >
    < xsd: attribute name = "isActive" use = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = use "isExternal" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = use "isRole" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "lastName" use = "required" / >
    < xsd: attribute name = "managerUserName" type = "xsd:NCName" / >
    < xsd: attribute name = "ADO" use = "required" type = "xsd:NCName" / >
    < xsd: attribute name = use "openForTimeEntry" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "Resource ID" use = "required" / >
    < xsd: attribute name = "resourceType" use = "required" type = "xsd: Integer" / >
    < xsd: attribute name = use "trackMode" = "required" type = "xsd: Integer" / >
    < xsd: attribute name = use "userFlag1" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = use "userFlag2" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "userNumber1" type = "xsd: Decimal" / >
    < xsd: attribute name = "userNumber2" type = "xsd: Decimal" / >
    < xsd: attribute name = "userText1" / >
    < xsd: attribute name = "userText2" type = "xsd:NCName" / >
    < xsd: attribute name = "userText3" type = "xsd:NCName" / >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Projects" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT ref = "Project" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Project" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT ref = "Baselines" / >
    < xsd: ELEMENT ref = "Resources" / >
    < xsd: ELEMENT ref = "Tasks" / >
    < xsd: ELEMENT ref = "BaselineDetails" / >
    < / xsd: SEQUENCE >
    < xsd: attribute name = use "UID" = "required" / >
    < xsd: attribute name = "active" use = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "authorized" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = use "baseFinish" = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = use "baseStart" = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = use "baseTime" = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "closed" use = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = use "cpmType" = "required" type = "xsd: Integer" / >
    < xsd: attribute name = "complete" use = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = use "finishImposed" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = use 'format' = "required" type = "xsd: Integer" / >
    < xsd: attribute name = use "lastUpdatedBy" = "required" type = "xsd:NCName" / >
    < xsd: attribute name = "lastUpdatedDate" use = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "name" use = "required" / >
    < xsd: attribute name = use "openForTimeEntry" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "priority" use = "required" type = "xsd: Integer" / >
    < xsd: attribute name = "programs" use = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "Use DΘmarrer" = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = use "startImposed" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = use "trackMode" = "required" type = "xsd: Integer" / >
    < xsd: attribute name = "userText1" use = "required" / >
    < xsd: attribute name = use "userText2" = "required" type = "xsd:NCName" / >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Base lines" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT ref = "Baseline" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "basic" >
    < xsd: complexType >
    < xsd: attribute name = "code" use = "required" type = "xsd:NCName" / >
    < xsd: attribute name = "use" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "description" use = "required" / >
    < xsd: attribute name = "name" use = "required" type = "xsd:NCName" / >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Resources" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT maxOccurs = "unbounded" ref = "Resource" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Resource" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT maxOccurs = "unbounded" ref = "Curve" / >
    < xsd: ELEMENT minOccurs = '0' ref = "BaselineDetails" / >
    < / xsd: SEQUENCE >
    < xsd: attribute name = "availFrom" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "availTo" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = use "bookingStatus" = "required" type = "xsd: Integer" / >
    < xsd: attribute name = use "lastUpdatedBy" = "required" type = "xsd:NCName" / >
    < xsd: attribute name = "lastUpdatedDate" use = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = use "openForTimeEntry" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = 'requestStatus' use = "required" type = "xsd: Integer" / >
    < xsd: attribute name = "Resource ID" use = "required" type = "xsd:NCName" / >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Tasks" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT maxOccurs = "unbounded" ref = "Task" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Task" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT minOccurs = '0' ref = "Assignments" / >
    < xsd: ELEMENT minOccurs = '0' ref = "BaselineDetails" / >
    < / xsd: SEQUENCE >
    < xsd: attribute name = use "UID" = "required" / >
    < xsd: attribute name = "baseFinish" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "baseStart" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "baseTime" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "baselineDuration" type = "xsd: Decimal" / >
    < xsd: attribute name = "category" / >
    < xsd: attribute name = "critical" use = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "complete" use = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = use 'fixed' = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = use 'key' = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = use "lastUpdatedBy" = "required" type = "xsd:NCName" / >
    < xsd: attribute name = "lastUpdatedDate" use = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = use 'locked' = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "milestone" use = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "name" use = "required" / >
    < xsd: attribute name = "outlineLevel" use = "required" type = "xsd: Integer" / >
    < xsd: attribute name = use "percComp" = "required" type = "xsd: Decimal" / >
    < xsd: attribute name = using the "proxy" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "Use DΘmarrer" = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "status" use = "required" type = "xsd: Integer" / >
    < xsd: attribute name = "summarized" use = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "unexpected" use = "required" type = "xsd: Boolean" / >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Assignments" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT maxOccurs = "unbounded" ref = "Assignment" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Assignment" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT minOccurs = "0" maxOccurs = "unbounded" ref = "Curve" / >
    < xsd: ELEMENT minOccurs = '0' ref = "BaselineDetails" / >
    < / xsd: SEQUENCE >
    < xsd: attribute name = use "actualThrough" = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = use "actualWork" = "required" type = "xsd: Decimal" / >
    < xsd: attribute name = "baselineWork" type = "xsd: Decimal" / >
    < xsd: attribute name = use "estMax" = "required" type = "xsd: Decimal" / >
    < xsd: attribute name = use "estPattern" = "required" type = "xsd: Integer" / >
    < xsd: attribute name = "Finish" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = use "lastUpdatedBy" = "required" type = "xsd:NCName" / >
    < xsd: attribute name = "lastUpdatedDate" use = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "pendActSum" type = "xsd: Decimal" / >
    < xsd: attribute name = "pendEstSum" type = "xsd: Decimal" / >
    < xsd: attribute name = use "remainingWork" = "required" type = "xsd: Decimal" / >
    < xsd: attribute name = "Resource ID" use = "required" type = "xsd:NCName" / >
    < xsd: attribute name = "DΘmarrer" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "status" use = "required" type = "xsd: Integer" / >
    < xsd: attribute name = "unexpected" use = "required" type = "xsd: Boolean" / >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Calendar" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT minOccurs = '0' ref = 'Days' / >
    < / xsd: SEQUENCE >
    < xsd: attribute name = "CalendrierBase" / >
    < xsd: attribute name = "lastUpdatedBy" type = "xsd:NCName" / >
    < xsd: attribute name = "lastUpdatedDate" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "name" / >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Days" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT minOccurs = "0" maxOccurs = "unbounded" ref = "Day" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Day" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT minOccurs = '0' ref = "Travel" / >
    < / xsd: SEQUENCE >
    < xsd: attribute name = "dayOfWeek" type = "xsd:NCName" / >
    < xsd: attribute name = "Finish" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = use "isWorkDay" = "required" type = "xsd: Boolean" / >
    < xsd: attribute name = "DΘmarrer" type = "xsd:NMTOKEN" / >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Travel" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT maxOccurs = "unbounded" ref = "Shift" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Shift" >
    < xsd: complexType >
    < xsd: attribute name = "complete" use = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "Use DΘmarrer" = "required" type = "xsd:NMTOKEN" / >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Curve" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT minOccurs = '0' ref = "Segments" / >
    < / xsd: SEQUENCE >
    < xsd: attribute name = "default" use = "required" type = "xsd: Decimal" / >
    < xsd: attribute name = "name" use = "required" type = "xsd:NCName" / >
    < xsd: attribute name = use "enter" = "required" type = "xsd: Integer" / >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Segments" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT maxOccurs = "unbounded" ref = "Segment" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "Segment" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT minOccurs = '0' ref = "Calendar" / >
    < / xsd: SEQUENCE >
    < xsd: attribute name = "complete" use = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "rate" use = "required" type = "xsd: Decimal" / >
    < xsd: attribute name = "Use DΘmarrer" = "required" type = "xsd:NMTOKEN" / >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "BaselineDetails" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT ref = "BaselineDetail" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "BaselineDetail" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: ELEMENT maxOccurs = "unbounded" ref = "Curve" / >
    < / xsd: SEQUENCE >
    < xsd: attribute name = use "baselineCode" = "required" type = "xsd:NCName" / >
    < xsd: attribute name = use "costSum" = "required" type = "xsd: Decimal" / >
    < xsd: attribute name = "duration" use = "required" type = "xsd: Decimal" / >
    < xsd: attribute name = "complete" use = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = "Use DΘmarrer" = "required" type = "xsd:NMTOKEN" / >
    < xsd: attribute name = use "usageSum" = "required" type = "xsd: Decimal" / >
    < / xsd: complexType >
    < / xsd: element >
    < / xsd: Schema >


    ---------------------------
    Here is the procedure for registration of the scheme and rename XMLTYPE tables:
    PROCEDURE install_schema (p_schema IN VARCHAR2)
    IS

    l_res BOOLEAN;
    l_nested_table_name VARCHAR2 (50);
    l_parent_table_name VARCHAR2 (50);
    l_iot_index_name VARCHAR2 (50);
    l_continue BOOLEAN: = TRUE;

    BEGIN

    BEGIN
    -load XSD/XML in the table
    sipmo_XML_utils.charger_xml ('XSD_DIR', p_schema);
    EXCEPTION
    WHILE OTHERS THEN
    dbms_output.put_line (' error loading of in, err ='|) SQLERRM);
    l_continue: = FALSE;
    END;

    IF l_continue = TRUE
    THEN
    -Diagram of the removal
    BEGIN
    dbms_output.put_line ('deleteSchema in progress...) ');
    -"projet.xsd".
    () DBMS_XMLSCHEMA.deleteSchema
    SCHEMAURL = > 'http://www.oracle.com/xsd/ ' | p_schema
    , DELETE_OPTION = > dbms_xmlschema. DELETE_CASCADE_FORCE);
    EXCEPTION
    WHILE OTHERS THEN
    dbms_output.put_line (' ko deleteSchema ' |) SQLERRM);
    NULL;
    END;
    END IF; -l_continue = TRUE

    -Removal of resources:
    IF l_continue = TRUE
    THEN
    IF (dbms_xdb.existsResource ('/ public /'| p_schema))
    THEN
    DBMS_XDB.deleteResource ('/ public /'| p_schema);
    END IF;
    l_res: = dbms_xdb.createResource ('/ public /'| p_schema, BFILENAME ('XSD_DIR', p_schema));

    IF l_res
    THEN
    dbms_output.put_line ('createresource OK');
    ON THE OTHER
    dbms_output.put_line ('createresource KO');
    END IF;
    END IF; -l_continue = TRUE

    -Schema of creation of the:
    IF l_continue = TRUE
    THEN
    BEGIN
    dbms_output.put_line ('REGISTERSCHEMA in progress...) ');
    DBMS_XMLSCHEMA. REGISTERSCHEMA)
    SCHEMAURL = > 'http://www.oracle.com/xsd/ ' | p_schema
    , SCHEMADOC = > BFILENAME ('XSD_DIR', p_schema)
    , CSID = > NLS_CHARSET_ID ('AL32UTF8')
    local = > TRUE
    , genTypes = > TRUE
    , genBean = > FALSE
    genTables = > TRUE);

    EXCEPTION
    WHILE OTHERS THEN
    dbms_output.put_line (' ko REGISTERSCHEMA ' |) SQLERRM);
    l_continue: = FALSE;
    END;
    END IF; -l_continue = TRUE
    COMMIT;

    IF p_schema = "projet.xsd".
    AND l_continue = TRUE
    THEN
    dbms_output.put_line (' XML rename tables ' | p_schema);

    -First... the enventuelle dropper table main "WORKBECH_PROJECT."
    BEGIN
    EXECUTE IMMEDIATE ' drop table 'WORKBENCH_PROJECT "";
    EXCEPTION
    WHILE OTHERS THEN
    NULL;
    END;

    -Resource table
    Select table_name
    in l_nested_table_name
    of user_nested_tables
    where parent_table_column = ' "XMLDATA". "" "" PoolResources '. "" PoolResource' '
    and parent_table_name like '% WORKBENCH_PROJECT ';

    EXECUTE IMMEDIATE "Rename" ' | "" l_nested_table_name | "" "to PROJET_RESSOURCES ';

    Select index_name
    in l_iot_index_name
    from user_indexes
    where table_name = 'PROJET_RESSOURCES '.
    and index_type = 'IOT - TOP';

    Index of IMMEDIATE'alter EXECUTE ' ' |. ' l_iot_index_name |' "and rename it PROJET_RESSOURCES_I1';

    -Table projects/tasks
    Select table_name
    in l_nested_table_name
    of user_nested_tables
    where parent_table_column = ' "XMLDATA". "Projects '." "Project '." "" Task"". "" The task""
    and parent_table_name like '% WORKBENCH_PROJECT ';

    EXECUTE IMMEDIATE "Rename" ' | "" l_nested_table_name | "" "to PROJET_TACHES ';

    Select index_name
    in l_iot_index_name
    from user_indexes
    where table_name = 'PROJET_TACHES '.
    and index_type = 'IOT - TOP';

    EXECUTE IMMEDIATE ' alter index ' ' |. ' l_iot_index_name |' "and rename it PROJET_TACHES_I1';

    -Table of the project/tasks/Activities and (+ main table)
    Select table_name, parent_table_name
    in l_nested_table_name
    l_parent_table_name
    of user_nested_tables
    where parent_table_column = ' "XMLDATA". "Projects '." "Project '." "" "" BaselineDetails '. "" "" "BaselineDetail '." " Curve"'
    and parent_table_name like '% WORKBENCH_PROJECT ';

    EXECUTE IMMEDIATE "Rename" ' | "" l_nested_table_name | "" "to PROJET_ACTIVITES ';

    Select index_name
    in l_iot_index_name
    from user_indexes
    where table_name = 'PROJET_ACTIVITES '.
    and index_type = 'IOT - TOP';

    EXECUTE IMMEDIATE ' alter index ' ' |. ' l_iot_index_name |' "and rename it PROJET_ACTIVITES_I1';

    -Main table WORKBENCH_PROJECT
    EXECUTE IMMEDIATE "Rename" ' | "" l_parent_table_name | "" "to WORKBENCH_PROJECT ';


    dbms_output.put_line ('rename XML tables... end');
    ON THE OTHER
    dbms_output.put_line (' rename XML tables...) NOT DONE ");"
    END IF; -p_schema = "projet.xsd".

    END install_schema;


    ---------------------------------------
    Here is the procedure of inserting data into XMLTYPE table (where I get the error)

    * insert into WORKBENCH_PROJECT values (xmltype (bfilename('XML_DIR','P21002635_2.xml'), nls_charset_id ('AL32UTF8'))); *

    + In my idea, I think I should load the full XML in my table XMLTYPE WORKBENCH_PROJECT... +.
    and more and then interrogate him with better performance... more

    --------------------------------------

    Note that the same XML file is already loaded into a table containing an XMLTYPE column...
    So, I really wonder if I need to do both?

    ----------------------------------------

    In any case, I hope that you will be able to help me... and that my explanation is clear...

    Thanks in advance,
    Olivier

    Oliver

    I don't know where you got the impression that I said that the DOM would be better. It will be definitely worse. The only advantage of the evaluation of DOM based (or functional) is that it can handle a much wider range of XQuery and XPath expressions. However there is nothing in what I saw in your examples the SQL execution path is not be be able to manage the only way you get the performance you need is to get the work of path of execution of SQL. To get the job of re - write, you will need to avoid wildcards and get the fix for the bug.

    I hate to disappoint you, but your XML schema is actually quite simple, it is certainly not in a class, that I would not complex, for recording results in a hierarchical structure very simple, unique, with 42 nested tables, if you want to see an example of something I would consider as complex search the Web for the FpML or NIEM schemas , recording these patterns result in recursive structures with multiple nested tables 1000!

    I see nothing in your XML schema that would make the use of wildcard characters required (with the exception of running in this bug). For tasks and Instance/tasks / * are identical in your use case as a tasks element can contain one or more elements of task, not do I see anything that would make me think that some how transform XML CSV would make it easier to load.

    My number 1 recommendation is to apply the 10.2.0.4.0 patch or upgrade to GR 11, 1 material. According to your deadlines, you can also consider 11 GR 2 beta.

    -Mark

    Published by: mdrake on April 10, 2009 14:28

  • LSX-00204 error when validating an XML file on a registered scheme

    Hello

    When I want to validate an XML file against the registered scheme I get the following error:

    ORA-31154: Ungultiges XML-Dokument ORA-19202: Fehler bei XML-Verarbeitung LSX-00204: additional data am Ende von komplexem aufgetreten element

    Here is the schema snippet:

    <! - the address of a given party in fixed or free form possibly the two forms - >

    < xsd: complexType name = 'Subscription_type' xdb:SQLType = "ITX_FTC_ADDRESS_TYPE_O" xdb:maintainDOM = "false" >

    < xsd: annotation >

    < xsd: documentation XML: lang = "fr" >

    The user has the possibility to enter the data concerning the address of a party, either in a single long field or to distribute data on items up to eight or even to use both formats. If the user chooses the option to enter the necessary data in separate elements, the container for this item will be "AddressFix". If the user chooses the option to enter the necessary data in a way less structured in "AddressFree" all the available coordinates must be submitted as a string of bytes, empty or ' / ' (slash) or trolley line break return used as a delimiter between the parts of the address. PLEASE NOTE that the country code address is outside these two elements. The use of the fixed form is recommended as a general rule, to allow an easy match. However, the use of the free form is recommended if the sending State can surely identify and distinguish the different parts of the address. The user wants to use both formats for example if in addition which separates the logical part of the address he also wants to show a decent breakdown in print-lines of delimiters in the form of free text. In this case, "AddressFix" must precede the 'AddressFree '.

    < / xsd: documentation >

    < / xsd: annotation >

    < xsd: SEQUENCE >

    < xsd: element name = "PostalCode" type = "iso: CountryCode_Type ' xdb:SQLName = 'COUNTRY_CODE' / >

    < xsd: Choice >

    < xsd: element name = "AddressFree" type = "xsd: String" xdb:SQLName = "ADDRESS_FREE" / >

    < xsd: SEQUENCE >

    < xsd: element name = "AddressFix" type = "sfa:AddressFix_Type" xdb:SQLName = "ADDRESS_FIX" / >

    < xsd: element name = "AddressFree" type = "xsd: String" minOccurs = "0" xdb:SQLName = "ADDRESS_FREE" / >

    < / xsd: SEQUENCE >

    < / xsd: Choice >

    < / xsd: SEQUENCE >

    < xsd: attribute name = "legalAddressType" type = "stf:OECDLegalAddressType_EnumType" use = "optional" / >

    < / xsd: complexType >

    The problem occurs only when the second choice (when: "AddressFix" and "AddressFree") was given in the XML file. When only the first choice ("AddressFree") gave then the validation against schema very well recorded works.

    I think that the problem is based on the generation of all objects in the database of dbms_xmlschema.registerSchema.

    BTW, how is possible to get a more meaningful error message because the error I get is very common, and I can't imagine in which the problem occurs.

    Thanks in advance.

    Best regards

    Martin

    I have reproduced the issue on 11.2.0.4 using the Schémas XML FATCA.

    declare
    
      l_schemas  sys.odcivarchar2list :=
                sys.odcivarchar2list('isofatcatypes_v1.0.xsd',
                                     'oecdtypes_v4.1.xsd',
                                     'stffatcatypes_v1.1.xsd',
                                     'FatcaXML_v1.1.xsd');
    begin
    
      for i in 1 .. l_schemas.count loop
    
        dbms_xmlschema.registerSchema(
          schemaURL       => l_schemas(i)
        , schemaDoc       => xmltype(bfilename('FATCA_DIR', l_schemas(i)), nls_charset_id('AL32UTF8'))
        , genTypes        => true
        , genTables       => false
        , enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_NONE
        );
    
      end loop;
    
    end;
    /
    

    As in schema extract that you provided, I've annotated subscription_type complexType with xdb:maintainDOM = "false".

    Then tried to validate the example NilFIReport.xml file after adding an AddressFix element:

    JP

    String

    String

    SQL> declare
      2    doc  xmltype := xmltype(bfilename('FATCA_DIR', 'NilFIReport.xml'), nls_charset_id('AL32UTF8'));
      3  begin
      4    doc.schemaValidate();
      5  end;
      6  /
    declare
    *
    ERROR at line 1:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00204: extra data at end of complex element
    ORA-06512: at "SYS.XMLTYPE", line 354
    ORA-06512: at line 4
    

    Now, let's abandon patterns, remove the xdb:maintainDOM annotation (or set to true, the default) and re - register:

    SQL> declare
      2    doc  xmltype := xmltype(bfilename('FATCA_DIR', 'NilFIReport.xml'), nls_charset_id('AL32UTF8'));
      3  begin
      4    doc.schemaValidate();
      5  end;
      6  /
    
    PL/SQL procedure successfully completed.
    

    Works.

    Conclusion: set maintainDOM to false when using XS: Choice.

    There is probably a mess when the positional descriptor (attribute "$SYS_XDBPD") is missing in this case.

  • ORA-19030: invalid method for the schema not based XML Documents

    Hi everyone can u help me please when I am trying to execute query below his throw errror

    DECLARE

    doc xmltype.

    BEGIN

    SELECT

    XMLAGG (XMLElement ("employee",

    XMLAttributes)

                      ' http://www.Oracle.com/emp_simple.xsd ' AS 'xmlns',

                      ' http://www.w3.org/2001/XMLSchema-instance ' AS ' xmlns: xsi ",

                      ' http://www.Oracle.com/emp_simple.xsd

    http://www.oracle.com/emp_simple.xsd'

    AS "xsi: schemaLocation").

    XMLForest (e.employee_id LIKE "EmployeeId",

    Select AS "name."

    e.job_id AS "Job."

    e.manager_id "MANAGER."

    e.hire_date AS "Hire Date"

    e.Salary AS "wages."

    e.commission_pct AS 'The Commission',

    XMLForest)

    d.department_id AS "DeptNo."

    d.department_name AS "DeptName",.

    d.location_id AS 'Place') AS 'Dept')))

    in the doc

    E employees, departments d

    WHERE e.department_id = d.department_id;

    doc.schemaValidate ();

    END;

    /

    The error I get is following

    ORA-19030: invalid method for the schema not based XML Documents

    Yes, Odie meant something like that.

    
        
            
                
                    
                        
                            
                                
                                
                                
                                
                                
                                
                                
                                
                                    
                                        
                                            
                                            
                                            
                                        
                                    
                                
                            
                        
                    
                
            
        
    
    

    See how the employee node can now occur more than once in the employees node.

  • When inserting the data for ORA-00600.

    Hello

    I am inserting a lot of record in a table, while inserting some records I give below error.

    Error in the command line: 54 column: 1

    Error report:

    [SQL error: ORA-00600: internal error code, arguments: [ktbesc_plugged], [], [], [], [], [], [], [], [], [], []]

    00600 00000 - "internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s] '.

    * Cause: It's the generic internal error for Oracle program number

    exceptions.    This indicates that a process has encountered a

    Exceptional condition.

    * Action: Report as a bug - the first argument is the internal error number

    Above the error only comes for some records only. But works fine for other records.

    Hi Sher,

    Thanks for your reply, maybe this would help.

    I have question regarding ORA-0600, is it possible that this error occur for some selected only all time record.

    I tried 10 to 15 times. For some selected only records, this error occurs every time. If I jump records, it works fine.

    So is it possible that the error ORA-0600 occur that for some files only.

  • ORA-00600: internal error when delete masters lines in a materialized view

    I have a view, materialized in 11g 2 on Redhat 5, defined as
    CREATE MATERIALIZED VIEW mv_idty
    PARALLEL BUILD IMMEDIATE REFRESH FAST ON COMMIT ENABLE QUERY REWRITE AS
    select IDTY_NAME_FIRST,IDTY_NAME_MIDDLE,IDTY_NAME_LAST,IDTY_NAME_SUFFIX,IDTY_SSN,
      IDTY_DR_LIC_NUM,IDTY_DR_LIC_STA,x.person_id,i.rowid i_rowid,x.rowid x_rowid
      from idty i,person_x_idty x where x.idty_id=i.idty_id;
    I deleted a few lines of the masters and error tables
    13:58:48 SQL> delete idty where  idty_id like 'test_row%' ;
    
    7 rows deleted.
    
    13:58:52 SQL> commit;
    commit
    *
    ERROR at line 1:
    ORA-12008: error in materialized view refresh path 
    ORA-00600: internal error code, arguments: [kkzfrfajv_markdml-1], [], [], [], [], [], [], [], [], [], [], [] 
    I have other materialized views and they all delete OK master. It's the simplest but is a problem. Help!

    Published by: user13148231 on August 11, 2010 17:45

    Hello
    Please check this metalink note

    * ORA-600 [Kkzfrfajv_markdml-1] [ID 743766.1] *.

    Thank you

  • Kcbnew_3 ORA-00600, triggered when some vars are bind

    Hello

    My DB 9.2.0.8 has meet some ORA600 this week...

    the given argument are kcbnew_3 while inserting some new lines in the database

    the tables are patitioned and datafile has not yet reached the point auto extend

    There are many similar cases reported but slipped as a file resize

    Could you me advice where to look to find the reason

    Thank you...

    [22300065] error in inserting database probably due to bind values: ORA-00600: internal error code, arguments: [kcbnew_3], [0], [1]
    [, [2117960], [0], [], [],]

    Time: Thu Apr 30 00:50:58 2009
    Host: wz1cre1
    Process: 9206
    Location: wbpMeasBase_c::ExceptionHandler (2): mType 14



    200630 Sat Apr 25 00:51:26 2009
    200631 errors in the /d/db/app/oracle/admin/oss/udump/oss_ora_14020.trc file:
    [200632 ORA-00600: internal error code, arguments: [kcbnew_3], [0], [1], [2062465], [0], [], [],]
    200633 Sat Apr 25 00:51:51 2009
    200634 1 wire advanced to record the sequence 63129


    Dump file shows
    ksedmp: internal or fatal error
    [ORA-00600: internal error code, arguments: [kcbnew_3], [0], [1], [2094210], [0], [], [],]
    For this session current SQL statement:
    insert into P_TRAFFIC



    DBVERIFY - verification complete

    Total Pages reviewed: 3269120
    Total number of Pages processed (data): 3268969
    Total Pages failing (data): 0
    Total number of Pages processed (Index): 0
    Total Pages failing (Index): 0
    Total number of Pages processed (other): 144
    Total number of Pages processed (Seg): 0
    Total Pages failing (Seg): 0
    Total empty Pages: 7
    Total Pages marked corrupt: 0
    Total Pages influx: 0
    More high block YVERT: 8560612231793 (1993.742410865)


    BR/ricky

    Published by: zs_hzh on April 29, 2009 20:41

    Unless someone has faced a similar question AND received an Oracle solution AND is looking at this issue, I don't see a lot of help from the community on this subject... but I'm wrong :-)

  • ORA-04030: memory of large XML file loading process

    Experts: I am trying to load a 2.1 G XML into a table relational object. The xsd xml schema document is already saved successfully. It fails with the following error:
    ORA-04030: out of process memory when trying to allocate 4032 bytes
    (qmxtgCreateBuf,kghsseg: kolaslCreateCtx)
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 1
    I am able to load the document in the NAVIGATION XML BINARY table successfully, but that would not work because I need to create a relational view on top of this table that does not work with storage SECUREFILE XML BINARY.

    Please suggest what can be the solution here?

    Thank you
    Kevin

    The error is correct. You are missing the last quot for the attribute @LOADED

    select  x1.*
       from HUGE_XML T,
          XMLTABLE('/EMPLOYEES'
                PASSING T.xml_col
                COLUMNS CREATED TIMESTAMP  PATH '@CREATED',
                 COLUMNS LOADED TIMESTAMP  PATH '@LOADED
    ) x1
    

    should be

    select  x1.*
       from HUGE_XML T,
          XMLTABLE('/EMPLOYEES'
                PASSING T.xml_col
                COLUMNS CREATED TIMESTAMP  PATH '@CREATED',
                 COLUMNS LOADED TIMESTAMP  PATH '@LOADED'
    ) x1
    

    I invite you to have a read on the white paper: "Oracle XML DB: * choose the best Option of XMLType storage for your use case * (PDF) Jan 2010" here: http://www.oracle.com/technetwork/database-features/xmldb/downloads/index.html
    Advantages and disadvantages of the various options are clearly explained in this white paper.

  • ORA-00600: internal error code, arguments: [qmcxeExUseLoc93] with xmltable and big bows in the CLOB column

    Hi all

    Running the following:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production

    PL/SQL Release 11.2.0.2.0 - Production

    "CORE 11.2.0.2.0 Production."

    AMT for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production

    NLSRTL Version 11.2.0.2.0 - Production

    Create a view of a relational table and XMLTABLE and extract nodes from voluminous of the xmltable, mapped text using COLUMNS. I concatenate the text nodes in an xml element in the XQuery xmltable, simple sequencing:

    <CONTENT>
    {$i/summary/text(),$i/know/text(),$i/considerations/text(),$i/look_for/text(),
    $i/nc//text(),$i/level1//text(),$i/level2//text(),$i/ipocc//text()}
    </CONTENT>
    

    SQLDeveloper query execution and right on when I scroll the 50th outcome accordingly set or... DB connection is closed and stack following error appears:

    [ORA-00600: internal error code, arguments: [qmcxeExUseLoc93], [], [], [], [], [], [], [], [], [], []]

    00600 00000 - "internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s] '.

    * Cause: It's the generic internal error for Oracle program number

    exceptions.    This indicates that a process has encountered a

    Exceptional condition.

    * Action: Report as a bug - the first argument is the internal error number

    I went site Oracle Support to use the 'search' for these types of errors, but he found nothing to the argument: "qmcxeExUseLoc93"... any ideas short of opening an SR with Oracle support? S/n reports that no problems with memory or tablespace... trace files report a stack trace is complete:

    [ORA-00600: internal error code, arguments: [qmcxeExUseLoc93], [], [], [], [], [], [], [], [], [], []]

    = Dump for incident 32114 (ORA 600 [qmcxeExUseLoc93]) =.

    2014-04-08 07:31:51.369

    dbkedDefDump(): from the default crash dumps (flags = 0x2, level = 3, mask = 0 x 0)

    -Run SQL statement for the current session (sql_id = 0qn4zxr0stgjh).

    SELECT ID, CONTENT of ort_active_content_en_vw

    -Call trace stack memory-

    call call entered the argument values in hex

    location point type (? means dubious value)

    -------------------- -------- -------------------- ----------------------------

    skdstdst () + 40 bl 107ca 9980 FFFFFFFFFFD99A8? 000002004?

    000000001? 000000003?

    000000000? 000000002?

    000000001? 000000000?

    ksedst1 () + 104 call skdstdst() FFFFFFFFFFD89B0? 000002004?

    110641000? 1098C 1164?

    110641000? 000000000?

    FFFFFFFFFFD8AE0? 700000007?

    ksedst () + 40 call ksedst1() 3030000000000? 002050033?

    1098C 1158? 700000000025C?

    000000000? 000000000?

    1098C07B8? 000000000?

    dbkedDefDump (+ 2828) call ksedst() FFFFFFFFFFD8B90? 000000000?

    000000000? 000000000?

    000000000? 000000000?

    000000000? 300000003?

    …….

    -Binary stack dump-

    = FRAME [1] (skdstdst () + 40 - > 107ca 9980) =.

    defined by pointers frame 0xffffffffffd88b0 and 0xffffffffffd8840

    CALL TYPE: bl ERROR REPORTED: no COMPONENT: (null)

    0xffffffffffd8840 to 0xffffffffffd88b0 memory dump

    FFFFFFFFFFD8840 0FFFFFFF FFFD88B0 42422220 098C 1158 [...] BB '... X]

    08EBE70C FFFFFFFFFFD8850 00000001 00000001 10641000 [... d..]

    FFFFFFFFFFD8860 00000000 00000000 0FFFFFFF FFFD89E8 [...]

    FFFFFFFFFFD8870 0FFFFFFF FFFD99A8 00000000 00002004 [...].

    FFFFFFFFFFD8880 00000003 00000000 00000000 00000001 [...]

    FFFFFFFFFFD8890 00000000 00000000 00000000 00000002 [...]

    FFFFFFFFFFD88A0 00000000 00000001 00000000 00000000 [...]

    = SETTING [2] (ksedst1 () + 104-> skdstdst()) =.

    defined by pointers frame 0xffffffffffd89b0 and 0xffffffffffd88b0

    TYPE of CALL: call ERROR REPORTED: no COMPONENT: KSE

    0xffffffffffd88b0 to 0xffffffffffd89b0 memory dump

    FFFFFFFFFFD88B0 0FFFFFFF FFFD89B0 42422220 10317 68 A... 1zh BB"]

    FFFFFFFFFFD88C0 1033F758 00000001 00000001 0014963C [... <...] 3.X]

    FFFFFFFFFFD88D0 09ED0CA9 1873F04F 28422848 73743231... Sagna (B (Hst21]

    FFFFFFFFFFD88E0 0FFFFFFF FFFD89B0 00000000 00002004 [...].

    FFFFFFFFFFD88F0 00000001 00000001 10641000 098C 1164 [... d...d]

    FFFFFFFFFFD8900 00000001 10641000 00000000 00000000 [... d...]

    ……

    -Status of the Dump process (2).

    ===================================================

    STATE OF THE PROCESS

    -------------

    Global information process:

    process: 0x700000012b18de8, call: 0x70000000b880ee0, xact: 0x0, curses: 0x700000012bf11f0, usrses: 0x700000012bf11f0

    in_exception_handler: no

    ----------------------------------------

    SO: 0x700000012b18de8, type: 2, owner: 0x0, flag: INIT /-/-/ 0x00 if: 0 x 3 c: 0 x 3

    proc = 0x700000012b18de8, name = process, queue = ksu.h LINE: 12451 ID:, pg = 0

    (process) Oracle pid:42, ser:153, called heart/high: 0x70000000b880ee0/0x70000000b880ee0

    flags: (0x0).

    Flags2: (0 x 800), flags3: (0x0)

    Intr error: call error 0,: 0, sess error: error of txn, 0, 0

    queue intr: vacuum

    ksudlp FALSE to the location: 0

    (post info) last message received: 0 0 0

    Last message received-card: no post

    last process affect me: no

    Last message sent: 0 0 26

    Last message sent-map: ksa2.h LINE: 282 ID:ksasnd

    last process posted by me: 6 1 700000012af9058

    (info from latch) wait_event = 0 bits = 0

    Process group: by DEFAULT, proc pseudo: 0x700000012b4db88

    Info of the o/s: user: tst214, duration: UNKNOWN, ospid: 4370650

    OSD pid Info: Unix process pid: 4370650, image: oracle@mldb2385

    ----------------------------------------

    SO: 0x700000010430ba0, type: 10, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: c: 0x1 0x1

    proc = 0x700000012b18de8, name = FileOpenBlock, leader is ksfd.h LINE: 6337 ID:, pg = 0

    (FOB) flags = 2050 fib = 700000010de3758 incno = 0 waiting for IO cnt = 0

    fname=/tst214_01/oradata/TST214/temp01.dbf

    FNO = 201 lblksz = 8192 fsiz = 36608

    ----------------------------------------

    SO: 0 x 700000010430578, type: 10, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: c: 0x1 0x1

    proc = 0x700000012b18de8, name = FileOpenBlock, leader is ksfd.h LINE: 6337 ID:, pg = 0

    (FOB) flags = 2050 fib = 700000010de2b40 incno = 0 waiting for IO cnt = 0

    fname=/tst214_03/oradata/TST214/ort_data01.dbf

    FNO = 6 lblksz = 8192 fsiz = 25600

    ----------------------------------------

    SO: 0x70000001042ff38, type: 10, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: c: 0x1 0x1

    proc = 0x700000012b18de8, name = FileOpenBlock, leader is ksfd.h LINE: 6337 ID:, pg = 0

    (FOB) flags = 2050 fib = 700000010de1310 incno = 0 waiting for IO cnt = 0

    fname=/tst214_01/oradata/TST214/sysaux01.dbf

    FNO = 2 lblksz = 8192 fsiz = 89600

    ----------------------------------------

    SO: 0x70000001042f910, type: 10, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: c: 0x1 0x1

    proc = 0x700000012b18de8, name = FileOpenBlock, leader is ksfd.h LINE: 6337 ID:, pg = 0

    (FOB) flags = 2050 fib = 700000010de0d10 incno = 0 waiting for IO cnt = 0

    fname=/tst214_01/oradata/TST214/System01.dbf

    FNO = 1 lblksz = 8192 fsiz = 96000

    ----------------------------------------

    SO: 0x700000012bf11f0, type: 4, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: 0 x 3 c: 0 x 3

    proc = 0x700000012b18de8, name = session, lead = ksu.h LINE: 12459 ID:, pg = 0

    (session) sid: 41 ser: 1263 trans: 0x0, creator: 0x700000012b18de8

    indicators: (0 x 8000045) USR /-flags_idl: (0 x 1) BSY /-/ - /-/ - / -.

    Flags2: (0 x 40008) - / -.

    DID:, DID in the short term:

    TXN branch: 0x0

    Oct: 3, prv: 0, sql: 0x70000000c59dbd0, psql: 0x70000000b196c38, user: 73/ORT_READ

    ksuxds FALSE to the location: 0

    name of the service: the USERS of SYS$

    Customer details:

    Info of the o/s: user: norman.jonker, duration: unknown, ospid: 6224

    machine: G4021165 program: SQL Developer

    application name: SQL Developer, hash value = 1012150930

    Battery active waiting:

    No waiting; last waiting ended 2,617517 sec ago

    Wait state:

    fixed_waits = 0 flags = 0 x 21 limit = 0 x 0 /-1

    History of waiting for session:

    elapsed time of 2,617552 sec from last wait

    0: waiting for 'direct path read '.

    number = 0 x 6, first s/n = 0 x 2901, block cnt = 0 x 2

    wait_id = 2222 seq_num = 2223 snap_id = 1

    wait time: snap = 0,000035 s, exc = 0,000035 s, total s = 0,000035

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,029003 seconds time elapsed

    1: expected "asynch descriptor resize.

    #aio in circulation = 0 x 0, the current limit of aio = 0xc8, this capping aio = 0 x 145

    wait_id = 2221 seq_num = 2222 snap_id = 1

    wait time: snap = 0,000003 s, exc = 0,000003 s, total s = 0,000003

    wait time: max = 307445734561 min 49sec

    wait charges: calls = 0 os = 0

    After 0,000710 seconds time elapsed

    "2: expected ' SQL * Net message to client"

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2220 seq_num = 2221 snap_id = 1

    wait time: snap = 0,000005 dry, exc = 0,000005, total = 0,000005 sec

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,001452 seconds time elapsed

    3: expected ' SQL * Net client message'

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2219 seq_num = 2220 snap_id = 1

    wait time: snap = 0,499033 s, exc = 0,499033 s, total s = 0,499033

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000034 seconds time elapsed

    "4: expected ' SQL * Net message to client"

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2218 seq_num = 2219 snap_id = 1

    wait time: snap = 0,000003 s, exc = 0,000003 s, total s = 0,000003

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000048 seconds time elapsed

    5: expected ' SQL * Net client message'

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2217 seq_num = 2218 snap_id = 1

    wait time: snap = 0,061319 s, exc = 0,061319 s, total s = 0,061319

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000028 seconds time elapsed

    "6: expected ' SQL * Net message to client"

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2216 seq_num = snap_id 2217 = 1

    wait time: snap = 0,000003 s, exc = 0,000003 s, total s = 0,000003

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000048 seconds time elapsed

    7: expected ' SQL * Net client message'

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2215 seq_num = 2216 snap_id = 1

    wait time: snap = 0,063435 s, exc = 0,063435 s, total s = 0,063435

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000045 seconds time elapsed

    "8: expected ' SQL * Net message to client"

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2214 seq_num = 2215 snap_id = 1

    wait time: snap = 0,000003 s, exc = 0,000003 s, total s = 0,000003

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000070 seconds time elapsed

    9: expected ' SQL * Net client message'

    pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0

    wait_id = 2213 seq_num = 2214 snap_id = 1

    wait time: snap = 0,060780 s, exc = 0,060780 s, total s = 0,060780

    wait time: max = infinite

    wait charges: calls = 0 os = 0

    After 0,000030 seconds time elapsed

    The Session history sampled session 1263 series 41

    ---------------------------------------------------

    History of the sampled session is built by sampling

    the session target all the 1 second. The sampling process

    capture to each sample, if the session is in an active waiting.

    a wait inactive, or not in a wait. If the session is in a

    active wait interval then one is indicated for all samples

    the session was in the same active waiting. If the

    session is in an inactive waiting or not waiting for

    consecutive samples then one interval is indicated for all

    consecutive samples. If we post these consecutive

    samples in a single interval session may NOT be permanently

    inactive or not in a wait (the sampling process is unclear).

    The history is displayed in reverse chronological order.

    sampling interval: 1 s, max 120 sec history

    ---------------------------------------------------

    [3 samples, 07:31:51 - 07: 31:53]

    not waiting at each sample

    [18 samples, 07:31:33 - 07: 31:50]

    waiting in each sample slowed

    [2 samples, 07:31:31 - 07: 31:32]

    not waiting at each sample

    [42 samples, 07:30:49 - 07:31:30]

    waiting in each sample slowed

    [4 biopsies, 07:30:45 - 07: 30:48]

    not waiting at each sample

    [7 samples, 07:30:38 - 07: 30:44]

    waiting in each sample slowed

    [sample 1, 07:30:37]

    waited for ' SQL * Net break/reset for customer ', seq_num: 1149

    P1: 'driver id' = 0 x 54435000

    P2: 'pause '? = 0 x 0

    P3: "= 0x0

    time_waited: 0,013444 sec (sampling interval: 0 sec)

    [14 samples, 07:30:23 - 07: 30:36]

    waiting in each sample slowed

    [4 biopsies, 07:30:19 - 07: 30:22]

    not waiting at each sample

    [26 samples, 07:29:53 - 07:30:18]

    waiting in each sample slowed

    ---------------------------------------------------

    History of the sampled plenary:

    longest_non_idle_wait: ' SQL * Net break/reset for customer '

    [sample 1, 07:30:37]

    time_waited: 0,013444 sec (sampling interval: 0 sec)

    ---------------------------------------------------

    the temporary object counter: 2

    ----------------------------------------

    Virtual discussion:

    kgskvt: 700000011f06658, sess: 700000012bf11f0 sid: 41 ser: 1263

    VC: 0, proc: 700000012b18de8, id: 41

    News consumer group: OTHER_GROUPS (upd? 0) maps: DEFAULT_CONSUMER_GROUP, orig:

    vt_state: 0x100, vt_flags: 0xA030, blkrun: 0, numa: 1

    inwait: 0

    place where last insched series: kgskthrrun

    place where insched last reset: kgskthrrun2

    place where inwait the last value: NULL

    place where inwait last reset: kgskbindfast

    is_assigned: 1, in_sched: 0 (0)

    QCLs: 0, qlink: FALSE

    vt_active: 0 (pending: 1).

    vt_pq_active: 0, dop: 0

    used quanta: 0 (cg: 0) usec, num penalty: 0

    start of CPU time: 0

    idle time: 0, time: 0 (cg: 0)

    yields of processor: 0 (cg: 0), expected: 0 (cg: 0), wait time: 0 (cg: 0) usec

    e/s expected: 0 (cg: 0), wait time: 0 (cg: 0) usec

    ASL in queue wait times: 0, time: 0 (NEWS 0, 0 cg)

    PQQ in queue wait times: 0, time: 0 (NEWS 0, 0 cg)

    Violation of the time to wait in queue: 0

    aborted calls: 0, num is exec hit limit: 0

    Cancel current: max k 0: 0 k

    I/O credits: small = 0 General = 0

    I/O waiting credits: small = 0 General = 0

    KTU Session Commit Cache Dump for IDLs:

    XID: 0x0009.008.00002025 RCS: flg 0x0000.00cd4e90 = 0x1

    XID: 0x0006.018.00001f5a RCS: flg 0x0000.00cd4e90 = 0x1

    XID: 0x0009.015.00002024 RCS: flg 0x0000.00cd4e90 = 0x1

    XID: 0x0005.004.00001f30 RCS: flg 0x0000.00cd4e90 = 0x1

    XID: 0x0006.021.000011ed RCS: flg 0x0000.00cd4e90 = 0x1

    KTU Session Commit Cache Dump for Non-IDLs:

    ----------------------------------------

    KKS - UOL used: 0 locks (used = 19, free = 3)

    KGX atomic operation Log 70000000b30a840

    Mutex 0 (0, 0) oper idn 0 NONE

    Cursor Parent uid 41 DTS 4 w/h 7 slp 0

    Oper = pt1 NONE = 0 pt2 pt3 0 = 0 =

    PT4 = 0 = 0 = 0 stt u41

    KGX atomic operation Log 70000000b30a890

    Mutex 0 (0, 0) oper idn 0 NONE

    parasite of the slp whr 6 table uid 41 DTS torrent 4 0

    Oper = NONE pt1 = 70000000d1485e8 pt2 = pt3 148678 = 0 70000000d

    PT4 = 0 = 0 = 0 stt u41

    KGX atomic operation Log 70000000b30a8e0

    Mutex 0 (0, 0) oper idn 0 NONE

    FSO uid 41 DTS mutex 0 w/h 0 slp 0

    KGX atomic operation Log 70000000b30a930

    Mutex 0 (0, 0) oper idn 0 NONE

    FSO uid 41 DTS mutex 0 w/h 0 slp 0

    ----------------------------------------

    KGL - UOL SO Cache (total = 182, free = 107)

    KGX atomic operation Log 70000000 b 045538

    Mutex 0 (0, 0) oper idn 0 NONE

    Library Cache uid 41 DTS 5 w/h 85 slp 0

    Oper = 0 = 70000000b 227350 pt2 = pt3 = 0 70000000c5df180 pt1

    PT4 = 0 = 0 = 0 ub4 pt5

    KGX atomic operation Log 70000000 b 045590

    Mutex (0, 0) 70000000c5b11d8 idn 69fd5d60 oper NONE

    Library Cache uid 41 DTS 4 w/h 77 slp 0

    Oper = pt1 pt2 70000000934fb60 0 = = 0 = 0 pt3

    PT4 = 0 = 0 = 0 ub4 pt5

    KGX atomic operation Log 70000000b0455e8

    Mutex 0 (0, 0) oper idn 0 NONE

    Library Cache uid 41 DTS 4 w/h 79 slp 0

    Oper = 0 = 70000000b 225950 pt2 = pt3 = 0 70000000c382cb8 pt1

    PT4 = 0 = 0 = 0 ub4 pt5

    KGX atomic operation Log 70000000 b 045640

    Mutex (0, 0) 70000000b225a80 idn ae8e84f6 oper NONE

    Library Cache uid 41 DTS 4 w/h 70 slp 0

    Oper = 0 = 70000000b 225950 pt2 = 0 = 0 pt3, pt1

    PT4 = pt5 0 = 0 ub4 = 4

    KGX atomic operation Log 70000000 b 045698

    Mutex (0, 0) 70000000b225a80 idn ae8e84f6 oper NONE

    Library Cache uid 41 DTS 4 w/h 70 slp 0

    Oper = 0 = 70000000b 225950 pt2 = 0 = 0 pt3, pt1

    PT4 = 0 = 0 = 0 ub4 pt5

    KGX atomic operation Log 70000000b0456f0

    Mutex 0 (0, 0) oper idn 0 NONE

    Library Cache 41 DTS uid 0 w/h 0 slp 0

    Oper = pt1 pt2 = pt3 0 = 0 0 = 0

    PT4 = 0 = 0 = 0 ub4 pt5

    KGX atomic operation Log 70000000 b 045748

    Mutex 0 (0, 0) oper idn 0 NONE

    Library Cache 41 DTS uid 0 w/h 0 slp 0

    Oper = pt1 pt2 = pt3 0 = 0 0 = 0

    PT4 = 0 = 0 = 0 ub4 pt5

    KGL SO hide

    SO = 70000000c5df180 link = 70000000c5df1f0 [70000000b115e38, b 70000000, 045520]

    FLG = 8000 use its 700000012bf11f0 = 700000012bf11f0 =

    SO = 70000000b115dc8 link = 70000000b115e38 [70000000c5df380, 70000000c5df1f0]

    FLG = 8000 use its 700000012bf11f0 = 700000012bf11f0 =

    SO = 70000000c5df310 link = 70000000c5df380 [70000000c7abab8, 70000000b115e38]

    FLG = 8000 use its 700000012bf11f0 = 700000012bf11f0 =

    Hello

    I'm not saying that it will solve the problem, but you must use XMLCast in this case, not XMLSerialize.

    Try also with fn:local - name instead (unless you need information namespace as well):

    Select (xmlcast)

    XMLQUERY)

    "for $dcrContent in fn:collection("oradb:/PUBLIC/DATA_CAPTURE_RECORD_CONTENT") / ROW.

    where $dcrContent/DATA_CAPTURE_RECORD_CONTENT_ID = xs:decimal ($id)

    "return fn:local - name($dcrContent/CONTENT_XML/*)"

    from 608 as "id".

    contents of return

    )

    as varchar2 (100)

    )

    Double;

  • ORA-00600: error code internal all-in-package of fall!

    Friends,

    I use oracle 10g Oracle Ent Linux 5.0. Now I want to delete a user, when I give the command 'drop user' I got the below error:

    SQL > drop user user cascade;.

    Drop user user cascade

    *

    ERROR on line 1:

    ORA-00600: internal error code, arguments: [psdtyfnd_with_suffix], [], [], [],.

    [], [], [], []

    Then I try to manually remove all the purpose of the schema specified. All objects are deleted except a 'PACKAGE '. When I manually drop this PACKAGE

    Once again and then I got the above error again. Now, I'm sure that this 'package' is the main culprit.

    Now, if only someone please help me how I let fall what package manually?

    Hello

    If you have access to My Oracle Portal Support, take a look at:

    Note 275519.1 : drop, re-create or compile a package fails with ORA-600 [PSDTYFND_WITH_SUFFIX]

    Note 1237934.1 : ORA-600 [psdtyfnd_with_suffix]

    Kind regards

    Suntrupth

  • Cannot export XML schema objects

    Hello

    I have a problem when you attempt to export objects from XML schema.

    I have a data pump job that runs every day, last week, I added a few XML objects to the DB and now the data pump produces the following errors:

    Output

    Export: Release * 10.2.0.3.0 *-64 bit Production on Thursday, April 21, 2011 05:00:01

    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    ;;;
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64 bit Production
    With the options of partitioning and Data Mining
    Departure 'SYS '. "' SYS_EXPORT_FULL_05 ': ' / * AS SYSDBA" logfile = parallel export_full.log = 12 dumpfile=exp_file%U.dmp full = y filesize = 2000 M
    Current estimation using BLOCKS method...
    Treatment of DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA object type
    ORA-39139: data pump does not support the XMLSchema objects. TABLE_DATA: "USER01". "' application252_TAB ' will be ignored.
    ORA-39139: data pump does not support the XMLSchema objects. TABLE_DATA: "USER01". "' application263_TAB ' will be ignored.
    ORA-39139: data pump does not support the XMLSchema objects. TABLE_DATA: "USER01". "' tbl_form_data266_TAB ' will be ignored.
    Total estimation using BLOCKS method: 131.8 GB
    Object DATABASE_EXPORT/TABLESPACE of treatment type
    ...

    I read about the error ORA-39139
    It is said the old exp rather than the data pump user to export the XML schema objects

    But when I run

    exp file = my_dump.dmp tables = USER01.application252_TAB

    as / sysdba

    I get the following error:

    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64 bit Production
    With the options of partitioning and Data Mining
    Export in US7ASCII and AL16UTF16 NCHAR character set
    Server uses the character WE8ISO8859P15 (possible character set conversion) set

    About to export specified tables by conventional means...
    EXP-00011: USER01. TBL_FORM_DATA266_TAB does not exist
    Export completed successfully with warnings.


    The table seems to have disappeared from DB.

    EG if I do

    sqlplus USER01/pass
    SQL > desc tbl_form_data266_TAB
    ERROR:
    ORA-04043: tbl_form_data266_TAB of the object does not exist

    Any ideas?

    G.

    Please see:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14215/exp_imp.htm#CEGFIAGE

    Table name restrictions

    The following restrictions apply to the names of the tables:

    * By default, the names of tables in a database are stored as uppercase. If you have a table in lowercase or lowercase name and you want to retain the respect of the case for the name of the table, you must put the name in quotes. The name must match exactly the name of the table stored in the database.
    Some operating systems require that the quotes on the command line should be preceded by an escape character. Here are examples of how respect for the case can be stored in different modes of export.

    o using the command line:
    TABLES = "------'Emp\'"

    o in interactive mode:
    Table (T) export: "Emp".

    o parameter file:
    TABLES = ""Emp"

  • Registering XML Schema error

    Hi team,

    The purpose of the mail of my project is to load data from the file in tables Oracle XML stream. I did it following the steps went perfectly well...

    I did following steps.

    (1) create the DIRECTORY xml_dir as 'c:\xmldata ';

    (2) create table xmltab XMLType;

    (3) following packages are carried out by schema 'Sys '.

    (1) dbmslob. SQL;
    (2) prvtlob. PLB;

    (4) a xmldata folder is created under "c:\". "and with data_file.xml file is stored in it.

    5) insert in xmltab values (XMLType (bfilename ('XML_DIR', 'data_file.xml'), nls_charset_id ('AL32UTF8')));

    When I try to run following select statement "No. lines selected" message; Although there is an element in the xml data file.

    SELECT OBJECT_VALUE
    FROM xmltab
    WHERE existsNode (OBJECT_VALUE, ' / ConsolidatedAssetHeader [AssetSourceSystem = "CAPS"]') = 1


    Now, I think that in order to use all functions like existsNode and exctractValue I have to save the schema in DB.

    This is the XML schema file.

    "< xsd: Schema targetNamespace =" "schemas-dart - com:sql:ConsolidatedAssetHeader" xmlns:schema = "schemas-dart - com:sql:ConsolidatedAssetHeader" container = "http://www.w3.org/2001/XMLSchema" xmlns:sqltypes = "http://schemas.microsoft.com/sqlserver/2004/sqltypes" elementFormDefault = "qualified" >
    < xsd: import namespace = "http://schemas.microsoft.com/sqlserver/2004/sqltypes" schemaLocation = "http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd" / >
    -< xsd: element name = "ConsolidatedAssetHeader" >
    -< xsd: complexType >
    -< xsd: SEQUENCE >
    < xsd: element name = "InternalId" type = "sqltypes:int" / >
    -< xsd: element name = "DCN" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "30" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    < xsd: element name = "EventDateLastChanged" type = "SqlTypes: DateTime" minOccurs = "0" / >
    -< xsd: element name = "FinancialStatusIndicator" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "InScopeIndicator" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationPriorityIndicator" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "PhysicalInstallDate" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetComment" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "255" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetContractExtension" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetContractNumber" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetDescription" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    < xsd: element name = "AssetFinancialInstallDate" type = "SqlTypes: DateTime" minOccurs = "0" / >
    < xsd: element name = "AssetFinancialRemovalDate" type = "SqlTypes: DateTime" minOccurs = "0" / >
    -< xsd: element name = "AssetFinancialStatus" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetName" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "255" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetParentSource" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetParentSourceID" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    < xsd: element name = "AssetPhysicalInstallDate" type = "SqlTypes: DateTime" minOccurs = "0" / >
    < xsd: element name = "AssetPhysicalRemovalDate" type = "SqlTypes: DateTime" minOccurs = "0" / >
    -< xsd: element name = "AssetPhysicalStatus" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetPhysicalStatusIndicator" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetSerialIndicator" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetSerialNumber" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetSource" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetSourceID" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetSourceIndicator" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetSourceSystem" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetSourceType" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetTag" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "BillabilityIndicator" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "InScopeFlag" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "IP address" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "NetworkNumber" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "SubnetAddress" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    < xsd: ELEMENT ref = "Schema: ConsolidatedAssetLocation" minOccurs = "0" maxOccurs = "unbounded" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    + < xsd: element name = "ConsolidatedAssetLocation" >
    -< xsd: complexType >
    -< xsd: SEQUENCE >
    < xsd: element name = "InternalId" type = "sqltypes:int" minOccurs = "0" / >
    < xsd: element name = "ParentId" type = "sqltypes:int" minOccurs = "0" / >
    -< xsd: element name = "AssetLocationIDBillTo" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetLocationIDShipTo" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetLocationIDSoldTo" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetSourceDt" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetSourceIDDt" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "AssetSourceSystemDt" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "ContractNumberExtensionDt" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationBillToAddress" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "150" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationBillToAddressLine2" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "150" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationBillToAddressLine3" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "150" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationBillToCity" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationBillToCountry" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationBillToAddressLine4" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "150" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationBillToState" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationBillToZip" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationPriorityIndicator" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationShipToAddress" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "150" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationShipToAddressLine2" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "150" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationShipToAddressLine3" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "150" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationShipToAddressLine4" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "150" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationShipToCity" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationShipToCountry" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationShipToState" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationShipToZip" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationSoldToAddress" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "150" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationSoldToAddressLine2" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "150" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationSoldToAddressLine3" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "150" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationSoldToAddressLine4" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "150" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationSoldToCity" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationSoldToCountry" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationSoldToState" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "LocationSoldToZip" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "PartySource" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    -< xsd: element name = "PartySourceID" minOccurs = "0" >
    -< xsd:simpleType >
    -xsd:restriction base = "sqltypes:nvarchar" sqltypes:localeId = "1033" sqltypes:sqlCompareOptions = "IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId = "52" >
    < xsd:maxLength value = "50" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    < xsd: element name = "RowCreateDateTime" type = "SqlTypes: DateTime" minOccurs = "0" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < / xsd: Schema >

    I use the suite package registry scheme, which is in error

    BEGIN
    () DBMS_XMLSCHEMA.registerSchema
    "schemas-dart - com:sql:ConsolidatedAssetHeader',
    XDBURIType('http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd').getClob(),
    TRUE,
    TRUE,
    FAKE,
    (TRUE);
    END;

    Following error.

    BEGIN
    ERROR on line 1:
    ORA-31001: handle or path of the invalid resource name
    'http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd '.
    ORA-06512: at "SYS." XDBURITYPE", line 4
    ORA-06512: at line 2


    Can you please tell me what changes should I do to fix this error? Is there any specific location where should I put my schema file?
    Thanks in advance

    Murielle

    OK, finally, the missing piece of the puzzle! :)

    You do not actually use the schema that you have a hard time to register.
    Besides, only a fragment of the example document "temp.xml" conforms to the schema.

    So we're back to what said in the very first posts of this thread: question of the namespace, and also (now) incorrect XPath expressions.

    Try below example (no necessary schema):

    SQL> CREATE TABLE test_table OF XMLTYPE
      2  XMLTYPE STORE AS SECUREFILE BINARY XML;
    
    Table created
    
    SQL>
    SQL> INSERT INTO test_table
      2  VALUES(
      3   XMLType(bfilename('TEST_DIR','temp.xml'), nls_charset_id('AL32UTF16'))
      4  );
    
    1 row inserted
    
    SQL>
    SQL> SELECT x.*
      2  FROM test_table t,
      3       XMLTable(
      4        XMLNamespaces(default 'http://BAROutboundXML'),
      5        '/BAROutboundXML/Row/ConsolidatedAssetHeader'
      6        passing t.object_value
      7        columns InternalId number path 'InternalId',
      8                DCN        number path 'DCN'
      9       ) x
     10  WHERE x.InternalId = 1275
     11  ;
    
    INTERNALID        DCN
    ---------- ----------
          1275    1111111
     
    

    Since there are several elements of "ConsolidatedAssetHeader" by the document, you cannot use extractValue (because it works on a single node).
    XMLTable is used instead, so that each "ConsolidatedAssetHeader" is actually mapped to a line separated from the relational.

  • XML Schema

    Hello

    I use the suite of xml schema to generate an XMLType table,
    <?xml version="1.0" encoding="utf-16"?>
    <xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <xsd:element name="Attorney" type="AttorneyType"/>
       <xsd:complexType name="AttorneyType">
        <xsd:sequence>
          <xsd:element name="Metadata" type="MetadataType" />
          <xsd:element name="Address" type="AddressType" />
          <xsd:element name="Email" type="EmailType" />
          <xsd:element name="Fax" type="FaxType" />
          <xsd:element name="Internet" type="InternetType" />
          <xsd:element name="Name" type="NameType" />
          <xsd:element name="NarrativeText" type="xsd:string" />
          <xsd:element name="Phone" type="PhoneType" />
          <xsd:element name="PracticeArea" type="PracticeAreaType" />
          <xsd:element name="Source" type="SourceType" />
          <xsd:element name="WestProductCategory" type="xsd:string" />
        </xsd:sequence>
        <xsd:attribute name="active" type="xsd:boolean" />
      </xsd:complexType>
      <xsd:complexType name="SourceType">
        <xsd:sequence>
          <xsd:element name="Dataset" type="xsd:string" />
          <xsd:element name="SourceId" type="xsd:int" />
          <xsd:element name="SourceName" type="xsd:string" />
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="PracticeAreaType">
        <xsd:sequence>
          <xsd:element name="Description" type="xsd:string" />
          <xsd:element name="PracticeAreaCode" type="xsd:int" />
          <xsd:element name="TopicalCode" type="xsd:int" />
        </xsd:sequence>
        <xsd:attribute name="new" type="xsd:boolean" />
      </xsd:complexType>
      <xsd:complexType name="PhoneType">
        <xsd:sequence>
          <xsd:element name="Description" type="xsd:string" />
          <xsd:element name="Notes" type="xsd:string" />
          <xsd:element name="Number" type="xsd:string" />
        </xsd:sequence>
        <xsd:attribute name="new" type="xsd:boolean" />
      </xsd:complexType>
      <xsd:complexType name="NameType">
        <xsd:sequence>
          <xsd:element name="firstName" type="xsd:string" />
          <xsd:element name="lastName" type="xsd:string" />
          <xsd:element name="middleName" type="xsd:string" />
        </xsd:sequence>
        <xsd:attribute name="new" type="xsd:boolean" />
      </xsd:complexType>
      <xsd:complexType name="InternetType">
        <xsd:sequence>
          <xsd:element name="Description" type="xsd:string" />
          <xsd:element name="Notes" type="xsd:string" />
          <xsd:element name="Url" type="xsd:string" />
        </xsd:sequence>
        <xsd:attribute name="new" type="xsd:boolean" />
      </xsd:complexType>
      <xsd:complexType name="FaxType">
        <xsd:sequence>
          <xsd:element name="Description" type="xsd:string" />
          <xsd:element name="Notes" type="xsd:string" />
          <xsd:element name="Number" type="xsd:string" />
        </xsd:sequence>
        <xsd:attribute name="new" type="xsd:boolean" />
      </xsd:complexType>
      <xsd:complexType name="EmailType">
        <xsd:sequence>
          <xsd:element name="Description" type="xsd:string" />
          <xsd:element name="Notes" type="xsd:string" />
          <xsd:element name="Url" type="xsd:string" />
        </xsd:sequence>
        <xsd:attribute name="new" type="xsd:boolean" />
      </xsd:complexType>
      <xsd:complexType name="AddressType">
        <xsd:sequence>
          <xsd:element name="City" type="xsd:string" />
          <xsd:element name="Country" type="xsd:string" />
          <xsd:element name="Line" type="xsd:string" />
          <xsd:element name="State" type="xsd:string" />
          <xsd:element name="Zip" type="xsd:int" />
        </xsd:sequence>
        <xsd:attribute name="new" type="xsd:boolean" />
      </xsd:complexType>
      <xsd:complexType name="MetadataType">
        <xsd:sequence>
          <xsd:element name="CreatedTS" type="xsd:decimal" />
          <xsd:element name="Deceased" type="xsd:boolean" />
          <xsd:element name="DirectoryType" type="xsd:int" />
          <xsd:element name="Disbarred" type="xsd:boolean" />
          <xsd:element name="EntityInstanceUuid" type="xsd:string" />
          <xsd:element name="EntityType" type="xsd:string" />
          <xsd:element name="FamilyUuid" type="xsd:string" />
          <xsd:element name="FirmSite" type="xsd:string" />
          <xsd:element name="ImageID" type="xsd:string" />
          <xsd:element name="MemberAssociations" type="xsd:string" />
          <xsd:element name="ModifiedBy" type="xsd:string" />
          <xsd:element name="ModifiedTS" type="xsd:decimal" />
          <xsd:element name="OrgType" type="xsd:string" />
          <xsd:element name="OrgUuids" type="xsd:string" />
          <xsd:element name="Organization" type="xsd:string" />
          <xsd:element name="Practicing" type="xsd:boolean" />
          <xsd:element name="ProfileUuid" type="xsd:string" />
          <xsd:element name="Retired" type="xsd:boolean" />
          <xsd:element name="Role" type="xsd:string" />
          <xsd:element name="Type" type="xsd:string" />
          <xsd:element name="Uuid" type="xsd:string" />
        </xsd:sequence>
      </xsd:complexType>
    </xsd:schema>
    Here is the XML that I intend to generate
    <Attorney active="true">
      <Metadata>
        <CreatedTS>1198773095000</CreatedTS>
        <Deceased>false</Deceased>
        <DirectoryType>1</DirectoryType>
        <Disbarred>false</Disbarred>
        <EntityInstanceUuid>
        I1ccc6d800cbb11dd86d5f687b7443f19</EntityInstanceUuid>
        <EntityType>ACTRESS</EntityType>
        <FamilyUuid>Ia5958e30ca6111d8b6ca908fe47590bb</FamilyUuid>
        <FirmSite></FirmSite>
        <ImageID></ImageID>
        <MemberAssociations></MemberAssociations>
        <ModifiedBy>Bermuda</ModifiedBy>
        <ModifiedTS>1208463367255</ModifiedTS>
        <OrgType></OrgType>
        <OrgUuids></OrgUuids>
        <Organization></Organization>
        <Practicing>true</Practicing>
        <ProfileUuid>I1e3bd97e1dd211b2af25f90092082940</ProfileUuid>
        <Retired>false</Retired>
        <Role>US Private Practice</Role>
        <Type>ATTORNEY</Type>
        <Uuid>I1ccc6d800cbb11dd86d5f687b7443f19</Uuid>
      </Metadata>
      <Address new="false">
        <City>California</City>
        <Country>United States of America</Country>
        <Line>100 Wall Street</Line>
        <State>CA</State>
        <Zip>10005</Zip>
      </Address>
      <Email new="false">
        <Description>Email Address</Description>
        <Notes>Email Address</Notes>
        <Url>[email protected]</Url>
      </Email>
      <Fax new="false">
        <Description>Fax Number</Description>
        <Notes>Fax Number</Notes>
        <Number>(212) 687-0659</Number>
      </Fax>
      <Internet new="false">
        <Description>Internet URL</Description>
        <Notes>Internet URL</Notes>
        <Url>http://www.harrisbeach.com</Url>
      </Internet>
      <Name new="false">
        <firstName>Katrina</firstName>
        <lastName>Kaif</lastName>
        <middleName>T</middleName>
      </Name>
      <NarrativeText>Katrina Kaif (born Katrina Turquotte on 16 July
      1984) is a British Indian actress and model who has appeared in
      Bollywood, Telugu and Malayalam films.</NarrativeText>
      <Phone new="false">
        <Description>Phone Number</Description>
        <Notes>Phone Number</Notes>
        <Number>(212) 313-5439</Number>
      </Phone>
      <PracticeArea new="false">
        <Description>Litigation Appeals</Description>
        <PracticeAreaCode>934</PracticeAreaCode>
        <TopicalCode>934</TopicalCode>
      </PracticeArea>
      <Source>
        <Dataset>release-5-old</Dataset>
        <SourceId>0337159902</SourceId>
        <SourceName>WLD</SourceName>
      </Source>
      <WestProductCategory></WestProductCategory>
    </Attorney>
    The schema gets registered without any error but when I try to create the table using the xml schema, I get the following error.
    ORA-19003 : Missing XML root element name
    I checked the pattern several times. Everything seems to go well with the schema, or I'm missing something.

    Please help me to identify the problem.

    Thank you.

    Hello

    It works fine for me, using the following statement:

    CREATE TABLE test_table OF XMLTYPE
     XMLTYPE STORE AS OBJECT RELATIONAL
     XMLSCHEMA "http://xmlns.oracle.com/xdb/schemas/DEV/test_otn.xsd"
     ELEMENT "Attorney";
    

    where 'test_otn.xsd' is the XML schema you provided.

    Could you post the statement you are running?

  • [ORA-00600: internal error code, arguments: [1350], [1], [23] [] [], [], [], [], [], [], []]

    Hello

    We have an instance 12.1.3 (12.1.1 upgrade clone instance Prod)

    When I connect to the application and press the preferences at the top of the main html page link, I

    You have encountered an unexpected error. Please contact the system administrator for assistance.

    Click here for exception details.

    error and when I check the db alert log file I see this error:

    Sat Apr 12 11:05:08 2014

    Errors in the /u01/PROD/db/tech_st/11.1.0/admin/PROD_fapp/diag/rdbms/prod/PROD/trace/PROD_ora_3884.trc file (incident = 32266):

    [ORA-00600: internal error code, arguments: [1350], [1], [23] [] [], [], [], [], [], [], []]

    Incident details in: /u01/PROD/db/tech_st/11.1.0/admin/PROD_fapp/diag/rdbms/prod/PROD/incident/incdir_32266/PROD_ora_3884_i32266.trc

    Sat Apr 12 11:05:12 2014

    Sweep the Incident [32266]: completed

    Sat Apr 12 11:05:12 2014

    Track of dumping performs id = [cdmp_20140412110512]

    and in the PROD_ora_3884_i32266.trc log file, I see:

    -Run SQL statement for the current session (sql_id = 8qv1vyc197t0b).

    SELECT * FROM (select t.territory_short_name, territory_name, t.nls_territory)

    of fnd_territories_vl t, v$ nls_valid_values v

    where t.nls_territory = v.value

    and v.parameter = 'TERRITORY') QRSLT ORDER BY territory_name

    If the problem is related to this request.

    I have search in metalink and I found that it is probably because of ORA_NLS10 parameter.

    but when I checked the settings in my os (oratrng and appltrng) in both two users the path is valid.

    document ORA-600 [1350] error raised when E - Business Suite is in use (Doc ID 1117757.1() see this problem for 11.1.0.7 step 10 interoperability on E - Business Suite 12.0 with Oracle Database 11 GR 1 (11.1.0) material (Doc ID 735276.1().

    but in this procedure some patches must be applied to that I applied their 12.1.1 to 12.1.3 upgrade

    can someone help me what can I do to solve this problem please?

    Thank you

    Can you stop all services on the application tier and the database layer, make sure that this environment variable is set correctly, then restart the database services and the application of layer? If the error persists, pl open a SR

    HTH
    Srini

Maybe you are looking for

  • How can I make it display back to the previous page?

    I don't have a left arrow or forward arrow on my Firefox page. How to fix this? I'm not able to go back and forth between pages on the same Web site.

  • Cannot connect to itunes store

    When I open Itunes Store, appears an Itunes U link, open it, and this message "cannot connect to itunes store. I don't know how to solve this problem, I want to watch movies and I can't. It is not connecting to wifi, it only is not that I don't sign,

  • Two monitors will not show extended display

    I just bought a HP Envy 7000 with two dell monitors. In addition, I bought a DVI - D splitter and two monitor DVI - D cables to connect the monitors. The two monitors work, but he won't show a mirrored display.  It is the splitter I bought for connec

  • Can I plug projector into a router and wireless it has become?

    I want to do my projector free wireless! is it possible to do it by connecting to a router, I have in it?

  • Audio driver for HP Pavilion dv6622ca

    Hi, I have a Pavilion laptop (product dv6500, model dv6622ca), and I can't find the modem / audio for XP. I looked on the HP site under the name of my product and there is no audio driver for XP. How am I supposed to get this working? In addition, th