DTD Repository in Oracle 9i

Hi
I'm trying to build a dtd repository to store, manage, and view all our dtds.
Newbie to Oracle, does anyone have any suggestions? Thanks.

Unlike XMLSchemas, DTD are not XML documents, so to the XML DB repository they are simply non XML based documents. The XML DB repository can managed these documents, like it can any other kind of non XML documents. You would be able to use the full capabilities of the repository, such as FTP and WebDAV to upload and access the documents. You would be able to use the XDBURITYPE, RESOURCE_VIEW, PATH_VIEW and DBMS_XDB packages to access and manipulate these documents from PL/SQL. You would be able to use the basic versioning capabiliteis of the repository to track the different versions of the DTD documents.
What kind of features does you application use case require...

Similar Messages

  • Error creating repository in oracle 9i (9.2.0.1) database

    Hi I am trying to migrate a SQL Server 2000 database to oracle 9i using SQL Developer 1.5.5 and i am getting an error during the repository creation phase. I keep on having the same error:
    SQL Error on Script Execution
    Try deleting the repository before creating repository.
    And the following when i click on ok:
    The repository installation has failed. Please check the user you are registering and make sure that objects of the same name do not already exist.
    I have checked the database and both my users and temp tablespaces have more than enough space - so it is definitely not a space issue. Here are the roles and privileges that i give to the migrations user upon its creation (same from the docs):
    CREATE USER migrations_user IDENTIFIED BY migrations_user DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp;
    GRANT CONNECT, RESOURCE, CREATE VIEW, CREATE PUBLIC SYNONYM TO migrations_user WITH ADMIN OPTION;
    GRANT ALTER ANY ROLE, ALTER ANY SEQUENCE, ALTER ANY TABLE, ALTER TABLESPACE,
    ALTER ANY TRIGGER, COMMENT ANY TABLE, CREATE ANY SEQUENCE, CREATE ANY TABLE,
    CREATE ANY TRIGGER, CREATE ROLE, CREATE TABLESPACE, CREATE USER, DROP ANY SEQUENCE,
    DROP ANY TABLE, DROP ANY TRIGGER, DROP TABLESPACE, DROP USER, DROP ANY ROLE,
    GRANT ANY ROLE, INSERT ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE TO migrations_user;
    Has anybody encountered this problem before and resolved it?
    Any ideas / suggestions would be greatly appreciated.
    I also tried creating the repository in a 10g database and did the migration successfully to the 9i database. However, I found out later that the created sqlserver_utilities package was invalid because it made reference to DBMS_DB_VERSION package which was non existent in the 9i database.
    Thanks
    Edited by: nyanga on Oct 2, 2009 2:20 PM
    Edited by: nyanga on Oct 2, 2009 2:22 PM

    Hi Nyanga,
    The migration tools can be used to migrate to Oracle 9i.
    But we try and keep the conversion compatible with Oracle XE / Oracle 10g and up.
    So you may have issues migrating to Oracle 9i like you said, with he sqlserver_utilities package and using 10g syntax.
    Creating the repository on Oracle 9i is not supported.
    But even if you did succeed , it would not change how the conversion was done. You would still end up with an identical sqlserver_utilities package which was generated using the migration repository on an Oracle 10g database. sqlserver_utilities package definition itself is fixed within a file so regardless of the repository used the same one will be generated.
    Oracle XE can be used of course as the repository and its free to download and use.
    Regards,
    Dermot.

  • DTD Repository in Oralce 9i

    Hi
    I'm trying to build a dtd repository to store, manage, and view all our dtds.
    I'm also using XML Spy, so converting the dtds to another format is not a problem.
    Any suggestions? Thanks.

    The repository will be used to for the following:
    1. Document storage
    2. Data dictionary (of XML elements)
    3. Lifecycle Management
    4. Query services (eg retrieve documents containing certain elements)
    5. Interaction with a EAI message base system (MQ Series)
    It is possible to use schemas instead if DTD's.
    We are using 9i R2.
    Thanks.

  • Problem creating a repository in Oracle from Visual studio Load test

    Hi,
    I have an issue which will be greatly appreciated if answered soon. I have created a load test using Visual studio 2010 Ultimate in Oracle 11 g environment . I just want to create a load test repository in Oracle db to store results of the load test results. I have read on MSDN the method to do so for SQL server(at http://msdn.microsoft.com/en-us/library/ms182600.aspx) but not Oracle. Please respond asap. Thanks

    912605 wrote:
    Hi,
    I have an issue which will be greatly appreciated if answered soon. I have created a load test using Visual studio 2010 Ultimate in Oracle 11 g environment . I just want to create a load test >repository in Oracle db to store results of the load test results. I have read on MSDN the method to do so for SQL server(at http://msdn.microsoft.com/en-us/library/ms182600.aspx) but not >Oracle. Please respond asap. Thanks
    I could be wrong, but I believe to achieve this you will need to buy a third party tool that supports the Load Testing project with Oracle like "Toad Extension for Visual Studio".

  • Creating Repository in Oracle 817 on NT...??

    Hi !!
    I have two database one 817 and other 816 on two differet NT servers. The main development database is 817 . As I didnot want to hinder the development work I created PFDs,FHDs,ERDs,DFDs and generated the database design in 816. All went fine.
    Now , the problem I am facing , while making that changes in 817 :
    ...... I am unable to migrate to 817, though I was succesfull in Importing the 816 repository into 817. Here I am able to connect to RON but get 'Invalid User' when I try to logon to Designer.......
    ......What to do.........??
    shaninder singh

    Hi Nyanga,
    The migration tools can be used to migrate to Oracle 9i.
    But we try and keep the conversion compatible with Oracle XE / Oracle 10g and up.
    So you may have issues migrating to Oracle 9i like you said, with he sqlserver_utilities package and using 10g syntax.
    Creating the repository on Oracle 9i is not supported.
    But even if you did succeed , it would not change how the conversion was done. You would still end up with an identical sqlserver_utilities package which was generated using the migration repository on an Oracle 10g database. sqlserver_utilities package definition itself is fixed within a file so regardless of the repository used the same one will be generated.
    Oracle XE can be used of course as the repository and its free to download and use.
    Regards,
    Dermot.

  • Does OID repository needs Oracle TEXT?

    Does OID repository needs Oracle TEXT?
    I remember in 10g I had to add this option, and don't remeber for what purpose. can't find any reference in 11.1.1.5 documentation what was it for?

    If you are using a file datastore, then you load the file name into a varchar2 column and you do not load the whole file into a clob column. I have provided a demonstration below. In the demonstration below, the binarytree.txt file contains the word "test1" and the some_title.txt file contains the word "test2". The E drive contains a CD-RW disc, but the machine is my server. The drive and directory path that you use must be accessible to the server. You cannot use a drive on a client machine.
    SCOTT@10gXE> begin
      2   ctx_ddl.create_preference ('mypref', 'FILE_DATASTORE');
      3   ctx_ddl.set_attribute ('mypref', 'PATH', 'e:\');
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SCOTT@10gXE> create table exp1
      2    (docids     number primary key,
      3       title     varchar2 (20),
      4       text     varchar2 (30))
      5  /
    Table created.
    SCOTT@10gXE> insert into exp1 values (1, 'binarytree', 'binarytree.txt')
      2  /
    1 row created.
    SCOTT@10gXE> insert into exp1 values (2, 'some_title', 'some_title.txt')
      2  /
    1 row created.
    SCOTT@10gXE> commit
      2  /
    Commit complete.
    SCOTT@10gXE> create index myindex on exp1 (text)
      2  indextype is ctxsys.context
      3  parameters ('datastore mypref')
      4  /
    Index created.
    SCOTT@10gXE> select * from exp1
      2  where  contains(text, 'test2') > 0
      3  /
        DOCIDS TITLE                TEXT
             2 some_title           some_title.txt
    SCOTT@10gXE>

  • BusinessObjects Metadata Repository and Oracle RAC

    What are the implications of having the BusinessObjects Metadata Repository reside in an Oracle RAC Database?  Is it doable?

    Yes, you can install BO repository on Oracle RA.Cluster.
    Make Sure with support is Oracle RAC 11g R2 is feasible or not. Till 11G R1 it was working fine.
    Thanks,
    Anil

  • Repository for Oracle RDBMS installation ports (Oracle 12c)

    Is there a repository for Oracle 12c where to find the configured ports after installation and above all after any change(s) in configuration?
    I think about: listener, OEM, EPG,... ports.
    Thanks and Regards.

    OS Details: OEL 5.9 64 bit.
    The portlist.ini is only interesting just after installation, and there not always an entry.
    For instance, after I have done my installation (with listener, OEM), I still have an "empty file".
    From the documentation:
    "If you change a port number, it is not updated in the portlist.ini file, so you can only rely on this file immediately after installation"
    "To find or change a port number, use the methods described in this appendix".
    This is Appendix F. I scrolled it down, and don't find where to change and view the actual ports.
    It seems to me there is no way to:
    - See clearly the values of the ports used and for what component.
    - Modify these ports and how.
    Mayve I miss something, does someone understand it better?
    Kind Regards.

  • Validation with DTD: Bug in Oracle 10g?

    Hi
    The following example works with Oracle 11g, but not with Oracle 10g.
    I have a XML-document (familie.xml) and a DTD-Document (familie.dtd). The XML-document is not valide, because I changed the tag "Vater" into "Dad". Within
    the DTD the "Vater"-element is described as follow: <!ELEMENT Familie (Vater, Mutter, Kind) >. If I validate the document, I get in Oracle 11g this exception:
    Unexpected Error: ORA-31011: XML-Parsing not succesful
    LPX-00104: Warning: Element "Dad" is not declared in the DTD.
    Error at line 3 occured.
    This Error is right!! But if I try the SAME example in Oracle 10g, I don't get a Exception!!!! But I should become one.
    Have anyone tested DTD-Validation in Oracle 10g or is it a bug?
    <?xml version='1.0' encoding='ISO-8859-15' ?>
    <!-- Dokument beschreibt eine Familie -->
    <Familie>
         <Dad>
              <Name>Meier</Name>
    <Vorname>David</Vorname>
         </Dad>
         <Mutter>
              <Name>Baumann</Name>
              <Vorname>Charlotte</Vorname>
         </Mutter>
         <Kind>
              <Name>Slota</Name>
              <Vorname>Kaharina</Vorname>
         </Kind>
    </Familie>
    <!ELEMENT Familie (Vater, Mutter, Kind) >
    <!ELEMENT Vater (Name, Vorname)>
    <!ELEMENT Mutter (Name, Vorname)>
    <!ELEMENT Kind (Name, Vorname) >
    <!ELEMENT Name (#PCDATA) >
    <!ELEMENT Vorname (#PCDATA) >
    set directory TEST_DIR as '....';
    DECLARE
    v_parser xmlparser.parser;
    v_document xmldom.DOMDocument;
    v_nodeList xmldom.DOMNodeList;
    v_number NUMBER;
    v_xmlDatei VARCHAR2(32);
    v_dtdDatei varchar2(32);
    parserError EXCEPTION;
    PRAGMA EXCEPTION_INIT(parserError, -20100);
    BEGIN
    v_xmlDatei := 'familie.xml';
    v_dtdDatei := 'familie.dtd';
    v_parser := xmlparser.newParser();
    DBMS_XMLPARSER.setBaseDir(v_parser, 'TEST_DIR');
    xmlparser.setValidationMode(v_parser, TRUE);
    xmlparser.parseDTD(v_parser, v_dtdDatei, 'Familie');
    xmlparser.parse(v_parser, v_xmlDatei);
    v_document:=xmlparser.getDocument(v_parser);
    xmlparser.freeParser(v_parser);
    xmldom.freeDocument(v_document);
    EXCEPTION
    WHEN parserError THEN
    xmlparser.freeParser(v_parser);
    dbms_output.put_line('Fehler beim Parsen: ' || SQLERRM);
    WHEN OTHERS THEN
    dbms_output.put_line('Unerwarteter Fehler: ' || ' ' || SQLERRM);
    END;
    null
    Message was edited by:
    user638576

    Do your sequence and column have the same name? In your code sample, it looks like they do:
    INSERT INTO LSTKPI (KPIIDD, PRMNME, KPISUP, TEMIDD1)
    VALUES (KPIIDD.NEXTVAL, NEXTPRM.PRMNME, NEXTSTA.STANAM, PDRTEM_PKG_1.rids(i));
    Maybe that has confused the parser.
    As Oracle moves forward, you can expect more object-oriented functionality. That could mean that columns could have their own attributes or methods. If so, how is the parser to know whether in this code the value KPIIDD.NEXTVAL refers to the (external) sequence or a column attribute?
    As a suggestion, try renaming the sequence.
    create sequence KPIIDD_SEQ start with ... ;
    INSERT INTO LSTKPI (KPIIDD, PRMNME, KPISUP, TEMIDD1)
    VALUES (KPIIDD_SEQ.NEXTVAL, NEXTPRM.PRMNME, NEXTSTA.STANAM, PDRTEM_PKG_1.rids(i));
    HTH,
    - Doug

  • The connection has failed while creating a New Repository using Oracle BI 11g Administration Tool

    hi
    In the BI Administration Tool when i try to create a “New Repository…” faced The connection has failed I try all of these solutions but dident work..
    1-configured my “System DSN"
    2-enter “TNS_ADMIN” for the “Variable Name” field and for the “Variable Value” enter the location of my OBIEE
    3-copy the sqlnet and tnsnames.ora files into E:\obiee11gtmt\Oracle_BI1\network\admin and E:\obiee11gtmt\oracle_common\network\admin
    4- put this in DSN with connection type OCI 10g/11g (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = IP Addr)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORCL) ))
    please help me
    regard

    1.Place tnsnames.ora file in the following paths,
    E:\obiee11gtmt\oracle_common\network\
    E:\obiee11gtmt\Oracle_BI1\network\admin
    2.Navigate to
    E:\obiee11gtmt\instances\instance1\bifoundation\OracleBIApplication\coreapplication\setup\
    Open user.sh file in a notepad
    Set Tns_names paths as shown below with your tnsnames.ora file’s location,
    set TNS_ADMIN=C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN
    The above path is of your installed Database tnsnames.ora file
    I guess you didnt do this step. This will solve your issue.
    Restart all the services
    If helpful, please mark the answer.
    Srikanth

  • Local repository on Oracle VM Manager, then yum check-update itself

    Hi.
    I have one Oracle VM Manager server as Oracle Linux 6.2 x86_64 that ULN registerd.
    To update my Oracle VM Servers I set up local yum repository on my Oracle VM Manager, and it works OK with my Oracle VM Server Upgrade.
    (Here is nice documents: http://itnewscast.com/oracle-vm-patch-updates )
    However when I run "yum check-update" to keep secure OL6 itslef on my Oracle VM Manager, it shows update for el5 (not el6) as below;
    ethtool.x86_64 2:2.6.33-0.3.100.1.el5 ovm3_x86_64_latest
    kernel-uek.x86_64 2.6.39-200.1.1.el5uek ovm3_x86_64_latest
    kernel-uek-firmware.noarch 2.6.39-200.1.1.el5uek ovm3_x86_64_latest
    pciutils.x86_64 3.1.7-5.el5 ovm3_x86_64_latest
    python-urlgrabber.noarch 3.9.1-9.100.1.el5 ovm3_x86_64_latest
    unzip.x86_64 6.0-3.100.1.el5 ovm3_x86_64_latest
    I can run as 'yum --disablerepo="ovm3_x86_64_latest" check-update' to ignore above updates, but is there any way more smart?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I installed this patch to see if it would fix the problem I'm having, which is:
    After a fresh install of 3.1.1 on two servers and the manager, everything worked fine until I rebooted the servers the first time. Then they came up in the "starting" state, and stay there. The error messages from the discovery process say something like "com.oracle.ovm.mgr.api.exception.IllegalOperationException: If the IP address of this server has changed, please delete the server: toravm2.acbl.net, and re-discover."
    The servers have certainly not changed any hardware or IP addresses. They were just installed!
    Anyhow, the installation of Build 365 and reboot of the servers fixed ONE of them. But the other one is still stuck in the "starting" state, and is UNUSABLE.
    Any idea what the discovery process might be seeing that would cause this?

  • How to insert XML/dtd data into oracle db

    Hi,
    I have posted this question on couple
    sites and unfortunately I haven't received
    any response. Hopefully this time,
    someone can at least direct me to the
    website/document/sample codes which can provide me solutions of my question.
    My question is:
    Given a DTD, can the XML SQL Utility generate
    the database schema?
    I am trying to find out how the XML data can
    be loaded into the oracle database.
    Thanks in advance,
    Judy
    null

    A DTD does not contain enough information to do a good job at creating a database schema. It contains no datatype information, no field length information for starters, so a table created by a hypothetical DTD->to->Tables utility would be at best able to create a table with all VARCHAR2(4000) columns. Not that useful.
    My book contains lots of examples of techniques for loading XML data into Oracle, include lots of sample code and a whole chapter devoted to building a flexible "XMLLoader" utility for loading XML of arbitrary size into the database.
    Steve Muench
    Development Lead, Oracle XSQL Pages Framework
    Lead Product Manager for BC4J and Lead XML Evangelist, Oracle Corp
    Author, Building Oracle XML Applications
    null

  • Xml and DTD parser in oracle

    I have to parse a validated xml message into oracle database tables.
    I have tried using it with DTD validation but somehow it is not working. Can anyone pls suggest me the solution to parse a validated xml message into the database tables.

    I have to parse a validated xml message into oracle database tables.
    I have tried using it with DTD validation but somehow it is not working. Can anyone pls suggest me the solution to parse a validated xml message into the database tables.

  • Using DS 4.2 repo manager to upgrade a repository in oracle 10g?

    Hello Experts,
    The DS 4.2 PAM states that oracle 10g is no more supported as a local repository. I have a couple of DS 3.x local repositories on oracle 10g.  Will the DS 4.2 repository manager allow to upgrade these 3.1 oracle 10g local repositories? i dont have a DS 4.2 environment so can't test it at my end , anyone out there whose been successful?

    I didn't mean that, because i have not actually done it. According to their installation document you can configure with oracle 10g as well.
    Check this - http://help.sap.com/businessobject/product_guides/sbods42/en/ds_42_install_win_en.pdf

  • How to create new repository in Oracle 6i

    In a completely new Oracle 6i (R6.) installation there seems to be now way to create a new repository. All the help and documentation existing connections, expect a pre-existing database to exist, or a directory
    ORACLE_HOME\ADMIN\user\
    to exist with a config file in it.
    None of these conditions is true upon a clean, default installation.
    Is there a short list of command line Repository Admin commands that one can begin with?
    (signed, confused newbie just starting Oracle courses ;-)

    Hi,
    You need to install an Oracle database instance. The Repository Administration Utility (RAU) is then used to install the Repository schema into the database.
    Follow the installation guide that comes with Oracle 8i to install the database first.
    Brian

Maybe you are looking for