Anyone register the full ACORD P&C XML schema in XDB?

Hi -
We are attempting to use Oracle’s XDB in a new project and are experiencing some issues. I am wondering if anyone has any experience with the following and could share or enlighten us as to the cause of our troubles.
We have two test servers set up (10gR1 & 11gR1) and are trying to register the ACORD P&C XML Schema. It is a very large schema and it references a number of other NS and DTD’s.
The most recent attempts to register this schema have resulted in out of memory errors.
Has anyone registered the ACORD P&C XML Schema in Oracle Xdb? 10g or 11g?
Has anyone attempted to register a schema that is 12 to 20MB in size?
While, the schema is very large, the XML documents will only implement a small portion of it and should be small in size, <1MB. We need to perform Inserts, Updates and Deletes on the XDB data in addition to Selects joining this data to relational tables. It appears that structured storage fits this scenario the best. However, if someone has had some practical experience with both structured and unstructured and can share their thoughts, that would be helpful as well.
I'm hoping someone has already faced and resolved this issue.
Thanks in advance for any help!
Mike
Edited by: mriley99 on Sep 30, 2009 8:45 AM

Your best place to ask this question would be the {forum:id=34} forum since that is for XML DB related questions. I would also information regarding how you are registering the schemas and the exact error(s) you are getting.

Similar Messages

  • Is JAXB the best solution to store XML schema in databse

    Hi, i have a doubt regarding which is better way to store XML schema to database.
    I have looked on JAXB, DOM, SAX.
    I should be able to modify the database and store back the changes in XML schema..
    i am really consfused about this.
    plz suggest me
    thanx

    Thank you for your reply
    As per as I know JAXB take XML schema as basis to
    create tables in database and store the XML data
    according to that . I want to store the XML Data in
    the database structured according to XML schema
    defined by me.I'm not sure how a schema would impact this. Schema is a data definition that constraints a given XML data document. The XML itself is stored as a string. Databases like Oracle now have XML column types and allow you to use XML querying languages and x-Path in normal SQL queries.
    There are 2 types of mapping from XML to datbase
    Table space and object relational
    A tablespace is conceptually similar to a namespace. Object relational mappers go from objects to relational databases and back. I do not see how either of these two concepts are mutually exclusive. And the latter makes no sense if you talking about an object database. There is no O/R mapping because there is no relational database, it's an object database.
    I want to do object-relational mapping from XML to
    o object oriented database . and the modifications
    done on the datbase want to store again in XML. As
    per as I know JAXB give us classes as per the XML
    schema and we can write DDL to store the data in
    databse
    JAXB is for marshalling and unmarshalling Java objects to and from XML. The XML itself can be stored in any LOB database column.
    Is it the right approach or do you have any better
    idea?I still do not really understand what you are trying to do. It seems like you have a bit too much technology soup to consume. What are the actual requirements?
    - Saish

  • How can I extract the full SQL script for a schema?

    Hi,
    How can I extract the full SQL script for a schema?
    I am looking for some method that needs jus SQL*Plus and preferably doesn’t need any extra tool.
    Thank you,
    Alan

    How can I extract the full SQL script for a schema?What are you looking for? PL/SQL code? DDL for objects?

  • Extract the job advertisement into a XML-Schema

    Hi there,
    I have to extraxt the job advertisements in a xml-Schema for making our E-Recruiting compatible to a job-exchange.
    Is there a report or tc or something else which extracts the information of the  job advertisement in a xml?
    Or if not how and where can I read out my Informations about the company or the duration of my job advertisement e.g.
    And after I have this information, how can I prepare the information into a dtd (XML-Schema)
    Thx for answers

    Yes, in fact I solved to do that, now I'm getting a differente problem, I'm trying to get the content to a file, but with no success, I'm getting just "[Document]: #null" into my file, maybe I'm doing something wrong when I try to write it, here's my code in case you or someone else can help me telling me what do I really have to do, thanks in advance.
    public class XMLTransformer {
    public static void main(String[] args) throws Exception {
    try {
    String xml_doc = //"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
    //"<!DOCTYPE web-app PUBLIC \"C:\\sms.dtd\">\n" +
    "" +
    "<root>\n" +
    "<sms>\n" +
    "<tlf>584123161640</tlf>\n" +
    "<op>D</op>\n" +
    "<sc>3344</sc>\n" +
    "<body>MENSAJE</body>\n" +
    "</sms>\n" +
    "</root>";
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    //Document document = builder.parse(xml_doc);
    InputSource inStream = new InputSource();
    inStream.setCharacterStream(new StringReader(xml_doc));
    Document doc1 = builder.parse(inStream);
    File f1 = new File ("c:/salida.xml");
    FileWriter out1 = new FileWriter(f1);
    PrintWriter wr = new PrintWriter(out1);
    f1.createNewFile();
    //String inputLine;
    //while ((inputLine = lector.readLine()) != null)
    wr.write(doc1.toString());
    //lector.close();
    out1.close(); }

  • What is the correct way to validate xml documents in XDB?

    Hi,
    I'm having a problem validating documents stored in XDB.
    The problem showed up while tracking down a bug whereby
    Oracle appeared to store documents that weren't valid.
    Section 8-6 of the 10g manual has the following:
    "By default, the database checks to ensure that XMLType
    instances are well-formed. ... Because full XML schema
    validation (as specified by the W3C) is an expensive
    operation, when XMLType instances are constructed, stored,
    or retrieved, they are not also fully validated."
    Bugger.
    So I'm not trying to work out how to validate the
    documents we already have stored in the database. I'm
    using the following script to check a particular document:
    ---8<---
    declare
    doc xmltype;
    begin
    select extract(res, '/Resource/Contents/*') into doc from resource_view where any_path = '/home/cosmos/AnnualAllocation-1000000010000090.xml';
    if doc.isSchemaBased() = 1 then
    dbms_output.put_line('Schema based ...');
    dbms_output.put_line('Schema URL:' + doc.getSchemaURL());
    doc.schemaValidate();
    else
    dbms_output.put_line('Not schema based');
    end if;
    end;
    ---8<---
    When I run the script, I get the message 'Not schema based',
    which is confusing the heck out of me.
    Here's the first couple of lines from that xml file:
    ---8<---
    <AnnualAllocation
    xmlns="http://digitalsteps.com/schema/cosmos"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://digitalsteps.com/schema/cosmos http://cosmos.com/schema/cosmos/AnnualAllocation.xsd"
    id="AnnualAllocation-1000000010000090">
    ---8<---
    So, these are the observations I've got so far:
    1. The file is schema-based (schemaLocation is present
    and correct); and
    2. The schema is registed (schema url is present in
    user_xml_schemas; AND document is stored in the default
    table).
    I can see no reason why the script doesn't report the xml
    file are being schema-based.
    Any ideas?
    Marcus

    Ashim,
    Try looking at the program:
    CRM_TEST_ORDER_MAINTAIN
    I think that should help you figure out the parameters.
    Good luck,
    Stephen

  • Can castor retrieve the comnstraints provided in an xml schema

    hi,
    plz help me !!!!!!!!!!!
    does castor provide any function to retrieve the constraints
    defined in an xsd
    i know it provides functions for setting the constraints
    can i retrieve the value of constraints fromthe descriptor files returned by cator
    while unmarshalling the xsd file .
    thaks

    Hi 00ps, the way to do this with XSD schemas is to use a "choice" node, where you can select either BusinessEntity or Person.  Each of these nodes can then have different elements (inherited from a common source if you desire).
    Whilst doing all this is entirely possible with the BizTalk schema editor, it is far, far easier to use a specialist tool such as
    XMLSpy, which makes defining complex relationships an easy task.  For example, here is a similar sort of restriction I have in place on a schema:
    The "party" element is used in multiple schemas through the use of an import.  You can either use
    organisation or individual, they both use a common element called
    contact which contains address information etc which would be the same for both, but allow for different structures for party types.
    As you can see from the screen-shot, it's a lot easier to visualise with XML Spy.  The XSD notation is:
    <xs:choice>
    <xs:element name="organisation">
    ...blah...
    </xs:element>
    <xs:element name="individual">
    ...blah...
    </xs:element>
    </xs:choice>
    If this is helpful or
    answers your question - please mark accordingly.
    Because I get points for it which gives my life purpose (also, it helps other people find answers quickly)

  • Issues faced with XML (Objt-Rel) - Plan to move to Binary XML (schema-less)

    Hi All,
    Our Production DB has Oracle XMLDB implementation using 9 XMLDB Object-Relational
    Tables. These have been implemented almost since a year, and we faced several issues,
    have listed some of the most important ones:
    Obviously it is Object-Relational implementation, so we have 4-5 XSDs to start with that
    support the Object-Relational schema
    1) copyEvolve Issues : Due to changing Business Requirements constantly, we had to constantly
    and continuously modify/upgrade XSDs and then use "copyEvolve" to apply new XSDs
    Encountered several issues with CopyEvolve
    2) "Home-grown" solution to evolve XSD/Schema:
    We came up with our own Solution to migrate/evolve XSD schema.
    a) Backup all data from 9 XML DB Tables to 9 CLOB Tables (data is thus "dereferenced" and "delinked"
    from underlying XSDs
    b) Since data is backed up to CLOB Tables, go ahead and drop the entire schema and register
    new XSDs and recreate Tables. (GRANTS and PUBLIC SYNONYMS reappled, needless to say)
    c) Reload data from backed up CLOB Tables to newly created XMLDB (Obj-Relational) Tables
    Above approach (without "copyEvolve") has worked fine so far and helped in each Release/ every migration
    With our data sets becoming increasingly huge, downtime is not sufficient to follow this successful, home-grown
    approach and as a result we would like to get away from Object-Relational XMLDB Tables altogether.
    3) Our Application currently uses XPath heavily on all 9 XMLDB Tables and we understand XPath is already
    deprecated by Oracle (as of 11.2.0.2)
    We are seriously considering doing the following:
    1) Migrate all 9 XMLDB Tables and modify underlying Storage from "Object-Relational" to Binary XML (Schema-less)
    2) Modify Appln code with all XPath replaced by corresponding XQuery constructs
    3) Replace existing "B-TREE" based Indexes in Object-Relational XMLDB Tables with either a) Indexes on Virtual DB Columns to enforce Primary Key and Unique Constraints and b) XMLIndex on all other Non-Unique Columns instead of
    the corresponding "B-TREE" based Indexes
    What we hope to achieve with the above:
    1) Eliminate XSD Usage completely (and copyEvolve nightmares thereby)
    2) Eliminate Usage of XPath totally
    3) Better Performance overall :-)
    Would like to get some advice and feedback on our Proposed Plan and mainly are we taking the
    right direction especially in respect of Performance, Point 3) listed above
    Any feedback or tips would be truly appreciated
    Regards and Thanks
    Auro

    WRT to XPATH Vs XQuery.
    1. XPATH is a subset of XQuery.. Any XPATH expression is, by definition, an example of simple XQuery expression, so XPATH is not depricated.
    2. What we are depricateing are the older, oracle specific XML operators (EXTRACT(), EXTRACTVALUE(), EXISTSNODE()), that ONLY support XPATH. We are depricating these in favour of the new SQL/XML operators (XMLTABLE, XMLQUERY, XMLEXISTS) defined by the SQL standards committee. These operators provide support for the full XQquery standard, and implicitly all of the XPATH expressions that were supported by the older operators. This menas we strongly recommned that new code, developed to work with 11g make use of nrw newer operators. Personally I cannot see a point where we would ever consider de-supportting the older operators, we are well aware of how much code makes use of them.
    What this means is that any code that is written using the older operators will continue to work, unmodified. However should a bug surface in the use of the older operators, we would strongly recommend that the code in question be migrated to the new operators as part of the remidiation process.
    Also, once the initial pain of learning the new syntax is overcome, I truely believe that the new operators result in much more efficient and mantainable code, so taking the time to do code renevation when possible will probably pay off in the long term...
    WRT to moving away from Schema-Based OR storage, I would look at the kind of changes you have made to the XML Schema. If they are the kind of changes that would be supported by in-place evolution in 11g then you might want to re-consider this. If, on the other hand you are regularly making changes to the XML schema that are not backwardsly compatable with your older XML Schema then Schema-Based binary XML storeage (which is more flexible than Schema-Based Object-Relational storage) or even non-schema based Binary XML may be a better choice for your applicaiton..
    I would experment by registering the oldest version of your XML Schema in 11gR2, and then testing each of the evolutions you have gone through to see if 11GR2 inplace evolution would have managed them. Also, ask yourself do you expect your XML Schema to keep changing so drastically moving forward, or were some of these changes the results of the growing pains associated with learning how to use XML schema effectively. BTW the approach you outline is effectively what CopyEvolve is doing under the covers...
    Bear in mind that for the use-cases Object-Relational storage addesses, when all of the XPATH expressions are correctly re-written into SQL operations on the underlying tables, and where the majority of queries end up accessing or updating leaf-level nodes in the XML, it is unlikely that a Binary XML / Unstructured XML Index combination will deliver similar performance. If you are only accesss a small subset of the leaf-level nodes, creating structured XML Indexes that project out the nodes in question may be able to deliver similar performance to an Object-Relational storage model, but you will need to get the index definitions correct.
    -Mark
    Edited by: mdrake on Mar 7, 2011 7:40 PM

  • Can any one tell the full form of ECC 6.0

    hi friends,
    can anyone tell the full form of ECC 6.0.
    Thanks in Advance.

    Harini,
    <b>ECC </b>: ERP central component and 6.0 is the version
    <b>ERP</b> : Enterprise resource planning
    Regards
    Aneesh

  • How to identify and delete objects after failure of registering XML schema

    Hi,
    I have tried to register a XML schema with many global elements but failed.
    I have checked the view DBA_XML_SCHEMA and found that there is an entry for this failed XML schema and the disk spaces would not be freed after the failure of registration as well.
    I have tried DBMS_XMLSCHEMA.deleteSchema() with DELETE_CASCADE_FORCE but failed with ORA-31000: Resource is not XDB document.
    How can I identify and delete the objects for this failed XML schema and free up the disk space ?
    I would not prefer to use 'DROP USER ... CASCADE' since there are other objects owned by this user.
    Thanks in advance.

    you can get them from user_objects.
    but you have to identify them manuallly if your schema has other objects other then created by the xml schema creation process.
    Note these objects will be cases senistitive. so you should enclose them with double quotes during deletion.

  • What are the full specs of the hard drives on Time Capsule?

    Does anyone know the full specs of the "server grade" hard drives of a 4th gen 2TB time capsule? thanks
    Dustin

    It is just the standard WD green drive.
    WD20EARS
    It is "server grade" purely in Apple's mind.
    http://www.anandtech.com/show/4577/airport-extreme-5th-gen-and-time-capsule-4th- gen-review-faster-wifi-/4
    Mind you I think you will find they do not stick to a single brand of drive. They might also be in the same trouble everyone else is in with HDD in short supply at the moment due to floods in Thailand.

  • XML Schema Collection (SQL Server 2012): Complex Schema Collection with Attribute - Should xs or xsd be used in the coding?

    Hi all,
    I just got a copy of the book "Pro SQL Server 2008 XML" written by Michael Coles (published by Apress) and try to learn the XML Schema Collection in my SQL Server 2012 Management Studio (SSMS2012). I studied Chapter 4 XML Collection of the book
    and executed the following code of Listing 4-8 Complex Schema with Attribute:
    -- Pro SQL Server 2008 XML by Michael Coles (Apress)
    -- Listing04-08.sql Complex XML Schema with Attribute
    -- shcColes04-08.sql saved in C:\\Documents\XML_SQL_Server2008_code_Coles_Apress
    -- 6 April 2015 8:00 PM
    CREATE XML SCHEMA COLLECTION dbo.ComplexTestSchemaCollection_attribute
    AS
    N'<?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="item">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="name" />
    <xs:element name="color" />
    <xs:group ref="id-price" />
    <xs:group ref="size-group" />
    </xs:sequence>
    <xs:attribute name="id" />
    <xs:attribute name="number" />
    </xs:complexType>
    </xs:element>
    <xs:group name="id-price">
    <xs:choice>
    <xs:element name="list-price" />
    <xs:element name="standard-cost" />
    </xs:choice>
    </xs:group>
    <xs:group name="size-group">
    <xs:sequence>
    <xs:element name="size" />
    <xs:element name="unit-of-measure" />
    </xs:sequence>
    </xs:group>
    </xs:schema>';
    GO
    DECLARE @x XML (dbo.ComplexTestSchemaCollection_attribute);
    SET @x = N'<?xml version="1.0"?>
    <item id="749" number="BK-R93R-62">
    <name>Road-150 Red, 62</name>
    <color>Red</color>
    <list-price>3578.27</list-price>
    <size>62</size>
    <unit-of-measure>CM</unit-of-measure>
    </item>';
    SELECT @x;
    GO
    DROP XML SCHEMA COLLECTION dbo.ComplexTestSchemaCollection_attribute;
    It worked nicely. But, I just found out the coding that was downloaded from the website of Apress and I just executed was different from the coding of Listing 4-8 listed in the book: all the <xs: ....> and </xs: ..> in my SSMS2012 are
    listed as <xsd:...> and </xsd:...> respectively in the book!!??  The same thing happens in the Listing 4-3 Simple XML Schema, Listing 4-5 XML Schema and Valid XML Document with Comple Type Definition, Listion 4-6 XML Schema and XML
    Document Document with Complex Type Using <sequence> and <choice>, and Listing 4-7 Complex XML Schema and XML Document with Model Group Definition (I executed last week) too.  I wonder: should xs or xsd be used in the XML
    Schema Collection of SSMS2012?  Please kindly help,  clarify this matter and explain the diffirence of using xs and xsd for me.
    Thanks in advance,
    Scott Chang   

    Hi Scott,
    Using xs or xsd depends on how you declare the namespace prefix.
      <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="item">
    I've posted a very good link in your last question, just in case you might have missed it, please see the below link.
    Understanding XML Namespaces
    In an XML document we use a namespace prefix to qualify the local names of both elements and attributes . A prefix is really just an abbreviation for the namespace identifier (URI), which is typically quite long. The prefix is first mapped to a namespace
    identifier through a namespace declaration. The syntax for a namespace declaration is:
    xmlns:<prefix>='<namespace identifier>'
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • XML Schemas & XML SCHEMA COLLECTIONS: XSD.exe & the tool in C:\Program Files (x86)\Microsoft SDKs\Windows\v7..0A\Bin\x64?.

    Hi all,
    I just read Pages 346-348 of the book "Microsoft SQL Server 2012 Bible" written by A. Jorgensen, P. LeBlanc, J. Chinchilla, J. Segarra & A. Nelson (published by Wiley) regarding XML Schemas and XML SCHEMA COLLECTIONS: Step 1.  create and
    save orderxml.xml
    <Order OrderID="1">
    <Item>
    <ItemNumber>V001</ItemNumber>
    <Quantity>1</Quantity>
    <Price>299.99</Price>
    </Item>
    </Order>
    Step 2.  using the tool in the following location:
    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64
    Open a command prompt, and navigate the preceding directory. The syntax for creating schema is: Xsd.exe C:\temp\orderxml.xml /outputdirectory:c:\temp  to create the orderxml.xsd file.  
    Step 3. Copy all the contents of the orderxml.xsd file to the clipboard, and create a new query window in SQL Server Management Studio, pasting in the content of the clipboard. To create the XML Schema Collection, you need to add the CREATE XML SCHEMA COLLECTION
    statement to the beginning of the schema as shown below:
    --MSss2012bibleP348.sql for XML Schema Collection OrderInformationSchemaCollection
    -- Copied and executed by SHC (Date & Time): 24 April 2015 8:05 AM
    USE ScottChangDB
    GO
    Create XML SCHEMA COLLECTION OrderInformationCollection AS
    N'<?xml version="1.0" encoding="utf-16"?>
    <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:msdata="urn:schema-microsoft-com:xml-msdata">
    <xs:element name="Order">
    <xs:sequence>
    <xs:element name="Item" minOccurs="0" maxOccurs="unbounded".
    <xs:complexType>
    <xs:sequence>
    <xs:element name="ItemNumber" type="xs:string" minOccurs="0" />
    <xs:element name="Quantity" type="xs:string" minOccurs="0" />
    <xs:element name="price" type="xs:string" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    <xs:attribute name="OrderID" type="xs:string" />
    </xs:complexType>
    </xs:element>
    <xs:element name="NewDataSet" msdata" msdata:IsDataSet="true"
    msdata:UseCurrentLocale="true">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded'>
    <xs:element ref="Order" />
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>' ;
    /* Apply it to the table/columns */
    ALTER TABLE ItemInfo
    ALTER COLUMN ItemData xml (OrderInformationCollection)
    GO
    I prepared (i) the orderxml.xml file for Step 1 and Step 2, and (ii) the MSss2012bibleP348.sql file for Step 3. But I am not sure that I can do the Steps (i) and (ii) in my PC that does not have the regular version of Microsoft SQL Server 2012 and Microsoft
    Visual Studio 2012. Furthermore, I  have difficulties to do Step 2 and Step 3 in my PC that is the part of Windows 7 Lan Computer System in my office: I navigated to my C:\Program Files (x86)\Microsoft SDKs\v7.0A\Bin\, I did not see the x64
    thing in the  Bin folder, but, I saw the xsd.exe in the Bin folder. If I click the xsd.exe and I get the following in the bottom of the PC screen:   
    xsd.exe Date modified:12/122011 12:55 PM    Date created:  12/12/2011  12:55 PM
    Applicaion    Size:81.8 KB
    Also, I see my PC screen flashes (and it looks like a dialog box with black background to flash for me to type the command) quickly. I am lost completely in this step and I don't understand the whole thing in doing Step 1, Step 2, and Step 3
    I briefly summarized/described/presented above.
    I need the following help from the experts of XML Schemas and XML Schema Collections in Microsoft SQL Server 2012 Management Studio:
    Help #1: I don't understan the concept of Step 1, Step2 and Step 3 to do XML Schema, XSD.exe, and XML Schema Collection in the SQL Server 2012!!?? I just have the SQL Server 2012 Management Studio (SSMS2012) in my PC.
    Help #2: How can I execute the xsd.exe in my C:\Program Files  (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ folder?
    Help #3: I just learned the basic things of creating XML SCHEMA COLLECTIONS in my SSMS2012 directly. Is the MSss2012P348.sql (I created and presented above) right for the task? How can I use clipboard to create the XML Schema Collection in my ScottChangDB
    database?
    Please kindly help and give me the answers/comments for Help #1, Help #2 and Help #3.
    Thanks in advance,
    Scott Chang  

    Hi Scott,
    Help #1: I don't understan the concept of Step 1, Step2 and Step 3 to do XML Schema, XSD.exe, and XML Schema Collection in the SQL Server 2012!!?? I just have the SQL Server 2012 Management Studio (SSMS2012) in my PC.
    Step1 and Step2 not that related to SQL Server, you can get the XSD from a given XML with an online XSD generator.
    Google search: XSD generator
    Help #2: How can I execute the xsd.exe in my C:\Program Files  (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ folder?
    Please see the link in the #1
    Help #3: I just learned the basic things of creating XML SCHEMA COLLECTIONS in my SSMS2012 directly. Is the MSss2012P348.sql (I created and presented above) right for the task? How can I use clipboard to create the XML Schema Collection in
    my ScottChangDB database?
    See the syntax and example in
    create XML schema collection
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Simulating the resources in XML schema

    I am looking for an approach to simulate the Resource (Resources) in the XML schemas such that in the absence of the resource, the adapter will be hooked to this Flat File system, and performs all required adapter functionalities

    Hi,
    Upload the latest xsd file in XML Schemas table present under Admin node of your repository. At the time of import it validates the XML file with its definition stored in this XML Schemas table.
    Regards,
    Jitesh Talreja

  • Invalid objects and ORA-00600 after deleting XML schema

    I am running Oracle 10.2.0.3 on Solaris 10. I am new to XML DB but my developers requested it for a new application. Recently we have noticed the following issue:
    My developers have attempted to re-register several schemas using:
    DBMS_XMLSchema.deleteSchema(SchemaURL => l_strSchemaURL,
    Delete_Option => DBMS_XMLSchema.Delete_Cascade_Force);
    And then re-register.
    DBMS_XMLSchema.RegisterURI( SchemaURL => l_strSchemaURL,
    SchemaDocURI => l_strImportURL,
    Local => True,
    GenTypes => True,
    GenBean => False,
    GenTables => True,
    Force => False,
    EnableHierarchy => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_RESMETADATA);
    Afterwards I have noticed several invalid objects:
    OWNER        OBJECT_NAME                    OBJECT_TYPE     STATUS
    ELSVC        hsp_standard825_TAB$xd         TRIGGER         INVALID
    ELSVC        hsp_standard1145_TAB$xd        TRIGGER         INVALID
    ELSVC        hsp_standard_set827_TAB$xd     TRIGGER         INVALID
    ELSVC        hsp_standard_set827_TAB        TABLE           INVALID
    ELSVC        hsp_product822_TAB$xd          TRIGGER         INVALID
    ELSVC        hsp_product822_TAB             TABLE           INVALID
    ELSVC        hsp_planner_content833_TAB     TABLE           INVALID
    ELSVC        hsp_planner_content833_TAB$xd  TRIGGER         INVALID
    ELSVC        hsp_correlations839_TAB        TABLE           INVALID
    ELSVC        hsp_correlations839_TAB$xd     TRIGGER         INVALID
    ELSVC        hsp_standard825_TAB            TABLE           INVALID
    ELSVC        hsp_program819_TAB             TABLE           INVALID
    ELSVC        hsp_program819_TAB$xd          TRIGGER         INVALID
    XDB          XDLNKrHbGsLaHgRAAUTyLEhg==     XML SCHEMA      INVALID
    XDB          XDLNKrHbIULaHgRAAUTyLEhg==     XML SCHEMA      INVALID
    XDB          XDLNKrHbJZLaHgRAAUTyLEhg==     XML SCHEMA      INVALID
    XDB          XDLNKrHbGFLaHgRAAUTyLEhg==     XML SCHEMA      INVALID
    XDB          XDLNKrHbHdLaHgRAAUTyLEhg==     XML SCHEMA      INVALID and if I attempt to compile the triggers I receive an ORA-00600: internal error code, arguments: [diana for triggering table/view ], [], [], [], [], [], [], []. I opened a TAR with oracle but they have not made much headway. Are we attempting to de-register the schemas improperly? Has anyone seen this issue before?
    Thanks,
    Brian

    SR 6204906.993. Up to this point oracle was able to help me identify that the invalid objects were related to the ORA-00600 but it was just recently that it appeared the Issue was possibly related to the delete schema procedure. The informed me that they were not aware of any known issues with this procedure.
    Thanks

  • Removing an XML Schema through Enterprise Manager

    Hi all,
    I have created an XML schema using the Enterprise Manager. But the problem is that I can't remove it. When I use the menu option to remove the XML Schema, I get the following error:
    VBO-8051: XML Schema cannot be dropped.
    ORA-31000:Resource [User].[SchemaName] is not an XDB document
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 80
    ORA-06512: at line 1
    If anyone has any thoughts they would be greatly appreciated.
    Thank you,
    Mike

    What was the URL used to register the schema. Is this the same URL that was passed to delete schema. You can check the list of registered schemas with the following query
    SQL> desc user_xml_schemas
    Name Null? Type
    SCHEMA_URL VARCHAR2(700)
    LOCAL VARCHAR2(3)
    SCHEMA SYS.XMLTYPE(XMLSchema "http:
    //xmlns.oracle.com/xdb/XDBSc
    hema.xsd" Element "schema")
    INT_OBJNAME VARCHAR2(4000)
    QUAL_SCHEMA_URL VARCHAR2(2839)
    SQL> select schema_url from user_xml_schemas
    2 /
    SCHEMA_URL
    http://localhost:8080/home/SCOTT/xsd/purchaseOrder.xsd

Maybe you are looking for

  • FCC for file 2 idoc scenario

    Hi.. my file structure is as follows.. Header ( occurs only once in the file ) NOS1 ( 1...unbounded) NOS2 ( 0...unbounded) NOS3 ( 0...unbounded) Trailer ( occurs only once in the file ) Now i want to ignore the header and trailer records in my file..

  • Hotmail httpmail plug in with intel macs and 10.4.8

    Hi! After a search on this forum and at macosxhints.com, I found this plug in for mail to work with a (very old) Hotmail account. Does anyone know if it is still working before I install it? There seemed to be some doubt about it. http://sourceforge.

  • How do i get  my icloud to backup my photos from my ipad

    hello i have signed into my icloud online but my photos are not on there, how do i back them up. please can someone help i thought it would automatically do this.

  • Help deploying an applet

    I have an applet which uses 2 archives: applet.jar and swing.jar I need to test this applet with our web application, because it needs to communicate with other servlets in order to get data. The problem is, the browser keeps my applet in a sandbox s

  • Nokia 3120 Classic IMEI

    How can I get the IMEI of my nokia 3120 Classic serie40 5th edition Feature pack 1 with J2ME? I've just tried with: System.getProperty("phone.imei"); System.getProperty("com.nokia.IMEI"); System.getProperty("com.nokia.mid.imei"); but the result is "n