Save the custom URL scheme

Hello!

Is it possible to save a custom url scheme so that the system will launch my application when the user clicks on a link in the form "customscheme://idontcareaboutthefqdn/"?

I know you can record a complete domain name by using HttpFilterRegistry, but I really want to react to a plan.

P.S.: As always, I forgot to include the most important information...
BB 6.0.0 API

THX

A few quick answers:

(1) ignore, memory shows just a nodule not RIM started

(2) interesting

(3) care

Now, I have a theory here.  I think you are trying to add the template registry etc until your application has actually started.

If you look at this statement:

PatternRepository.addPattern (ApplicationDescriptor.currentApplicationDescriptor (), "^ regime:-/-/ \\S*",)

This is handled in your main() and main is no NOT part of your application - it is used to start your application.  (in fact it becomes part of your Application, but it's out of reach for the moment). So what makes ApplicationDescriptor.currentApplicationDescriptor () actually refers to?  A null descriptor, perhaps?

I would try to reworjk that so as the record of the model becomes an integral part of your Application, so that ApplicationDescriptor.currentApplicationDescriptor (done) actually refers to the application you want.  Something along these lines - do 'with it ':

    public static void main(String[] args) {
        MyApp theApp = new MyApp (args);
        theApp.enterEventDispatcher();
    }

    public MyApp(String [] args) {
        this.invokeLater(new Runnable() {
            public void run() {
                // In here.....
            }
        });
    }

Note, this is just a theory, I have not tested this.

Tags: BlackBerry Developers

Similar Questions

  • applicationContext remains "null" after using the custom url scheme to launch the app

    Hello

    I am currently working on a DPS application for a customer who wishes to use its own authentication system.

    The client system is implemented so that they send the valid token to a URI with a custom method.

    By setting the same pattern custom in my app DPS constructor, I can get the app from the login window.

    What is described in the library of DPS & Api store 2.32 documentation, I understand that

    " adobeDPS.configurationService.applicationContext must contain several variables associated to how the viewer was started or enabled:" ","this class represents the context under which the application is launched '


    However, in my application when I try to see what contains the applicationContext, the object is always 'null '. It doesn't matter if I started the application by clicking on its icon or if it was launched using the custom uri scheme.


    Is this a bug or am I missing something here? I really need this token.

    Hello

    After being stuck for a while trying to work with the url of my client for usage, I finally tested it with a modified version and have found the cause of the problem.

    Work of first information provided by a colleague who was apparently not detailed enough for the customer asked me to use a url of the form App. scheme://auth/#token=...

    It turns out that this kind of url can start or bring the app to the front, but applicationContext remains empty.

    My tests using a url in the same form as you suggested (eg. app. scheme://v1/slot/library) can trigger the app or transmit data.

    The documentation available in the SDK library & shop and article on how to use a custom template is very vague on what formats link actually works, and how we can vary with it.

    A breakdown of official links to pieces, that the parties do and what items can be modified (for example ' / appstate') within the API documentation would be a great help for developers, I think.

    Kind regards

    Lorin

  • How to save the custom of the user using PHP field?

    Hello!

    I am looking for a way to share specific data to the user between connected users. For example, all participants must know each other IDs (our own system IDs, no ACC).

    Custom user fields seems the best solution for this, but I can't find a way to save one using PHP, while creating the room.

    How to save the custom of the user using PHP field? Or maybe there's best solution to do such things?

    Had, just add the new node to the UserManager collection.

    const USER_MANAGER_COLLECTION = 'UserManager';
    static private $USER_MANAGER_CUSTOM_FIELD_CONFIGURATION = array(
       'accessModel'=>self::ROLE_VIEWER,
       'publishModel'=>self::ROLE_VIEWER,
       'persistItems'=>true,
       'modifyAnyItem'=>false,
       'userDependentItems'=>true,
       'sessionDependentItems'=>false,
       'itemStorageScheme'=>self::STORAGE_SCHEME_MANUAL,
       'allowPrivateMessages'=>true,
       'lazySubscription'=>false,
       'p2pDataMessaging'=>false
     );
     const USER_INVITE_ID_CUSTOM_FIELD = 'inviteId';
     static private function createUserManagerCustomFields($room){
       $account = self::init();
       $collection = self::USER_MANAGER_COLLECTION;
       $account->subscribeCollection($room, $collection);
       $account->createNode($room, $collection, self::USER_INVITE_ID_CUSTOM_FIELD, self::$USER_MANAGER_CUSTOM_FIELD_CONFIGURATION);
     }
    
  • Apex 4.1 - Websheets with the custom authentication scheme

    Apex v4.1 (as seen on the hosted apex.oracle.com) - Websheets do not always seem to work with a custom authentication scheme. Database applications work very well with a function of sentry page, but when the same page sentry function is used for a websheet, running, it gives an error the requested page was not found

    One of the Apex team can consult? Thank you

    Hi Vikas,

    Websheet Sentinels have slight differences of sentinels of the application.
    I created a sentinel websheet for you which should operate (see below).

    Christian

    create or replace function sample_page_sentry return boolean
    is
        l_username   varchar2(512);
        l_session_id number;
        l_ws_app_id  number;
    begin
        -- check to ensure that we are running as the correct database user.
        if user != 'APEX_PUBLIC_USER' then
            return false;
        end if;
        -- get sessionid in cookie
        l_session_id := wwv_flow_custom_auth_std.get_session_id_from_cookie;
        if wwv_flow_custom_auth_std.is_session_valid then
            -- the session still exists. we configure the APEX engine to use
            -- this session id and the session's username.
            --
            -- NOTE: it is more secure to also check if this is the session id from
            --       the URL!
            --
            apex_application.g_instance := l_session_id;
            l_username                  := wwv_flow_custom_auth_std.get_username;
            if nvl(l_username,'nobody') != 'nobody' then
                wwv_flow_custom_auth.define_user_session(
                    p_user       => l_username,
                    p_session_id => l_session_id);
                return true;
            end if;
        else
            -- session can not be reused, create a new one
            l_session_id := apex_custom_auth.get_next_session_id;
        end if;                                                                                 
    
        -- the current session is unauthenticated. we have to determine the user
        -- and log in.                                                                          
    
        -- get the username from somewhere, e.g. a cgi variable. it is hard-coded
        -- here for simplification.
        l_username := 'VANJ';
        -- configure the engine to use this username and session.
        apex_custom_auth.define_user_session(
             p_user       => l_username,
             p_session_id => l_session_id );
        -- build a deep link to the websheet start page
        l_ws_app_id  := apex_util.get_session_state ('WS_APP_ID');
        wwv_flow_custom_auth.remember_deep_link (
             p_url=>'ws?p='||l_ws_app_id||'::'||l_session_id );
        -- register the session in apex sessions table, set cookie, redirect back.
        apex_authentication.login(
             p_username => l_username,
             p_password => null );
        return true;
    end sample_page_sentry;
    /                                                                                           
    

    Published by: Christian Neumueller November 15, 2011 07:07 (a wiki format error corrected)

  • Save the customized using MS Office report Express VI filename

    When my program creates a report, I want to save it as a serial number, defined in the report.  I want to use MS Office report Express VI to do this, but unfortunately it only allows you to save the file name as time and/or incremental number.

    Hi jliu317,

    In the meantime that warn you the moderator to move your thread, here is my solution. (Correct me if I'm wrong)

    In MS Office Report, there is a block diagram entry named path to save the report. That is where you can save your report in Word (.doc) or Excel (.xls) under the name of file custom as serial number, as shown below.

    http://zone.NI.com/reference/en-XX/help/370274G-01/lvoffice/ms_office_report/

    I hope this helps.

    EE - Lim-

  • Is there a way to save the custom color created in paint? Windows 7

    When you open Paint in Windows 7, it shows crates/palettes of colors. When you add a custom color, it appears in one of the empty boxes. When close the window and reopening, the custom color, I chose is now gone. Is there a way to save the color so that it is always there when I opened paint?

    Hello

    There is no way to save colors custom Paint in Windows 7.

    You will need to enter the color to RGB values and enter it again.

    You can use your favorite search engine to search for any third party for more features complete solution.

    NOTE: using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • Remove the custom URL assembler

    Hi all

    I am trying to remove our custom URL assembler. I've updated in all of my models to use queryassembler. Now, but when I try to remove the entry from servletrequest.properties, it gives the error below when testing to make my home page.

    [2015-08-06 13:18:49, 736 UTC] [ERROR] [http-Apr-8001-exec-1] [fatwire.logging.cs.request] COM.FutureTense.Common.ContentServerException: ContentServerException: (error of the Client: java.lang.IllegalArgumentException: application of RHN Satellite Server for page cannot continue: (name of the page is missing).)  Parameters: {Browser = Netscape, errno = 0, SystemAssetsRoot = / cs/futuretense_cs /, empty =, errdetail = 0, null =} retrieving data by remote Satellite Server) code error: BAD PARAMETER


    But if I keep my entry of assembler, it works very well. Any body can tell me if I need to change any other file as well.

    Thanks in advance.

    Kind regards

    NJ

    If you use a Vanity URL you need a Web server to your appserver to remove the appserver port and write a rule of re - write.  Read the documentation (http://docs.oracle.com/cd/E29542_01/doc.1111/e29636/config_vanity_url.htm) for more information.

  • Error after implementing the custom authentication scheme

    I have reproduced this time a workspace (GOGGINSCRATCH to apex.oracle.com) running 4.2.1.00.08 and a workspace 4.1.1.00.23 running

    Error: ORA-06550: line 4, column 23: PLS-00306: wrong number or types of arguments in the call to "AUTHENTICATOR" ORA-06550: line 4, column 1: PL/SQL: statement ignored

    PL/SQL in my workspace

    create or replace PACKAGE REPORTINGAUT AS

    function authenticator (user_name in VARCHAR2, pwd in VARCHAR2)
    return a Boolean value;

    END REPORTINGAUT;

    create or replace PACKAGE BODY REPORTINGAUT AS

    function authenticator (user_name in VARCHAR2, pwd in VARCHAR2)
    return a Boolean value AS
    BEGIN
    / * Implementation of necessary TODO * /.
    RETURN TRUE;
    END authenticator;

    END REPORTINGAUT;

    ------------------------------------
    APEX Builder Application steps
    (1) the shared components
    (2) the authentication schemes
    (3) create
    4.a) based on a system preconfigured Gallery
    4.b) name fred
    4.c) Type == custom
    Name of the function of authentication 4.d) = ReportingAut.authenticator
    4.e) activate the legacy of authentication attributes == Yes + (I've tried it both ways).

    So... this plan is underway, but when I try to connect, I get the above error... Driving me crazy... Thanks for any help...

    The parameter name is important. This should work:

    CREATE OR REPLACE PACKAGE reportingaut
    AS
       FUNCTION authenticator (p_username IN VARCHAR2, p_password IN VARCHAR2)
          RETURN BOOLEAN;
    END reportingaut;
    
    CREATE OR REPLACE PACKAGE BODY reportingaut
    AS
       FUNCTION authenticator (p_username IN VARCHAR2, p_password IN VARCHAR2)
          RETURN BOOLEAN
       AS
       BEGIN
          RETURN TRUE;
       END authenticator;
    END reportingaut;
    

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • How to save the custom icon extention

    Can I save an icon in Blackberry for my own file extension (*.mgn), so that my icon is displayed in the file manager and in the files instead of the standard icon selection dialog? I used Invocation Framework to record the extension itself.

    I tried specify icon in the file config.xml in vain


         APPLICATION
         
            MGN-img/icon.png
         

         
            bb.action.OPEN
            *


           
         

    Unfortunately, this is not possible with the current API.

    You could try presents a feature request for it through JIRA if:
    https://www.BlackBerry.com/JIRA/secure/dashboard.jspa

  • Save the custom converter

    JDeveloper 12.1.3

    Try saving the converter second in faces - config.Xml. get an error that I can't find in the documentation?

    issue10222015_1.jpg

    Ideas?

    You can remove the validation by adding the following line inside the converter

    
        
        USPhoneConverter
        tracking.view.PhoneConverter
      
    

    But anyway the converter works ok.

  • Can I set a URL scheme for a viewer Android application?

    Hello world

    I want to be able to open our notice of another application Android app.  How to set a pattern of URLS for Android?

    When we are going to create a new view Android app it is not the "diagram of URL field optional" that we use to set the type for our iOS app.

    Is it possible to define a URL scheme in Android?

    Best,

    Paul

    Hello Paul,

    The custom URL scheme is offered by the iOS platform and not for android.

    You will not find this option in the Dps android app generator.

  • url schema custom onto the pages of simple editing

    Hi, I have a question about custom url scheme on simple edition folios... it seems that this feature is only available on edition folio multi... If Yes... Why?, I mean, why is not possible for simple editing users access this feature... the ability to communicate the child with the parent... Web content overlay with folio to navigate within a folio... ?

    Thanks in advance

    It seems that this is what is happening. If you are a user of unique serial number edition show us the custom field of the url scheme. If you go through the creative workflow cloud we don't have. My guess is that it was a decision of design made to simplify the workflow creative Cloud for most customers, since "custom url scheme" is a bit complicated and not many people simple edition have a use for it.

    Neil

  • Save the Wikipedia article gets "garbage" in comparison with Chrome

    Hello

    I can't save "Printable" Wikipedia article (th) using firefox. Save the same URL using chrome no problem. The file is saved by firefox especially resembles a text stream.

    Help? Thank you.

    Link to the printable wikipedia article: https://th.wikipedia.org/w/index.php?title=%E0%B8%AA%E0%B8%96%E0%B8%B2%E0%B8%9A%E0%B8%B1%E0%B8%99%E0%B9%80%E0%B8%97%E0%B8%84%E0%B9%82%E0%B8%99%E0%B9%82%E0%B8%A5%E0%B8%A2%E0%B8%B5%E0%B9%81%E0%B8%A1%E0%B8%AA%E0%B8%8B%E0%B8%B2%E0%B8%8A%E0%B8%B9%E0%B9%80%E0%B8%8B%E0%B8%95%E0%B8%AA%E0%B9%8C&printable=yes

    COR - el, thanks for the suggestion. Start in safe mode solves the problem of saved to save/load file. I don't know if all Add - ons uses Greasemonkey or not, but the text of garbage has at least a Greasemonkey inside. My problem is "Wikitweak". DOH!

    Wesley, the theme I've used does not seem to be a problem. Start in safe mode using the theme worked flawlessly.

    jscher2000, I use "save the page under", recorded with a repertoire extra and everything.

    Thank you again for your help. Now, I did. I guess the 'safe mode' is the default value at the stage of debugging anyway.

  • How to save a custom power shot 50 mode setting?

    Need to make adjustments to the initial setting at the C1 set... do not remember how I put them in the first place, and the manual does not help!

    Thanks for the information!  Now that we know the camera model, we can give you the right steps.  Here's how you can save the custom settings for the C1 and C2 positions compose:

    1 still do not go in C1 or C2.  Instead, turn the mode dial to P, Tv, Av or M shooting modes.

    2. set the exposure settings exactly how you want.

    3. press the MENU key.  In the camera menu (noted by an icon of a camera), scroll down to the option marked "Save Settings."... "and click on the FUNC/SET button.

    4 choose whether you want these settings saved for C1 or C2.  Highlight your choice and press FUNC/SET to confirm.

    And that's all!  Now, you are free to change your dial mode for C1 or C2, and your custom settings will be there waiting for you every time.

    This information is detailed at page 156 of your instruction manual.

    We hope this helps!

  • Unable to save the schema

    Hello...

    I am trying to record a schema called rim.xsd,

    I did the following steps:

    (1) create or replace directory rim_xml_dir as 'C:\Users\administrator\dbms_book\schemas';

    (2) copied the file rim.xsd "' C:\Users\administrator\dbms_book\schemas

    (3) download rim.xsd using the following code:

    declare

    v_result boolean;

    v_schema xmltype: = xmltype (bfilename ('RIM_XML_DIR', 'rim.xsd'), nls_charset_id ('AR8MSWIN1256'));

    Start

    v_result: = dbms_xdb. CreateResource ('/ dbms_book/schemas/rim.xsd ', v_schema);

    IF v_result then

    dbms_output.put_line ('Resource created...');

    COMMIT;

    on the other

    dbms_output.put_line ('create resources failed...');

    end if;

    end;

    /

    (4) However when you try to save the scheme to help:

    Start

    DBMS_XMLSCHEMA. REGISTERSCHEMA)

    schemaurl = > ' http://localhost:8080/dbms_book/schemas/rim.xsd ',

    schemadoc = > sys. UriFactory.getUri('/dbms_book/schemas/rim.xsd')

    );

    COMMIT;

    end;

    I receive errors:

    ORA-31154: invalid XML document

    ORA-19202: an error has occurred in the processing of XML

    LSX-00020: unknown type 'LongName '.

    ORA-06512: at "XDB". DBMS_XMLSCHEMA_INT', line 20

    ORA-06512: at "XDB". DBMS_XMLSCHEMA", line 177

    ORA-06512: at line 2

    After a copy of the rim: xsd:

    <? XML version = "1.0" encoding = "UTF - 8"? >

    <!-generated XML authority. In line with the w3c http://www.w3.org/2001/XMLSchema-->

    < scheme xmlns = " " http://www.w3.org/2001/XMLSchema "

    targetNamespace = "urn: oasis: names: tc: ebxml - regrep:rim:xsd:2.0.

    xmlns:TNS = "urn: oasis: names: tc: ebxml - regrep:rim:xsd:2.0.

    >

    < annotation >

    < documentation XML: lang = "fr" > diagram for OASIS ebXML Registry Information Model < / documentation >

    < / annotation >

    <!-$Header: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/schema/rim.xsd,v 1.31 2001/12/01 14:45:46 - > farrukh_najmi Exp $

    <!-Begin mapping the model information from ebRIM.-->

    <! - define data Types - >

    < simpleType name = "String4" >

    < restriction base = "string" >

    < value maxLength = "4" / >

    < / restriction >

    < / simpleType >

    < simpleType name = "String8" >

    < restriction base = "string" >

    < value maxLength = "8" / >

    < / restriction >

    < / simpleType >

    < simpleType name = "String16" >

    < restriction base = "string" >

    < value maxLength = "16" / >

    < / restriction >

    < / simpleType >

    < simpleType name = "String32" >

    < restriction base = "string" >

    < value maxLength = "32" / >

    < / restriction >

    < / simpleType >

    < simpleType name = "Short name" >

    < restriction base = "string" >

    < value maxLength = "64" / >

    < / restriction >

    < / simpleType >

    < simpleType name = "LongName" >

    < restriction base = "string" >

    < value maxLength = "128" / >

    < / restriction >

    < / simpleType >

    < simpleType name = "FreeFormText" >

    < restriction base = "string" >

    < value maxLength = "256" / >

    < / restriction >

    < / simpleType >

    < complexType name = "AssociationType1" >

    < annotation >

    < documentation XML: lang = "fr" >

    The Association is the mapping of the same interface in ebRIM.

    It extends object.

    An Association Specifies references to two submitted previously

    registry entries.

    The sourceObject is the source in connection id

    The targetObject is the targetObject in connection id

    < / documentation >

    < / annotation >

    < complexContent >

    < extension base = "tns:RegistryObjectType" >

    < attribute name = use "associationType" = "required" type = "tns:LongName" / >

    < attribute name = use "source" = "required" type = "IDREF" / >

    < attribute name = use 'targetObject' = "required" type = "IDREF" / >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "Association" type = "tns:AssociationType1" / >

    < complexType name = "AuditableEventType" >

    < annotation >

    < documentation XML: lang = "fr" >

    Mapping of the same interface in ebRIM.

    < / documentation >

    < / annotation >

    < complexContent >

    < extension base = "tns:RegistryObjectType" >

    < name of attribute = "eventType" use = "required" >

    < simpleType >

    < restriction base = "NMTOKEN" >

    < enumeration value = "Created" / >

    < enumeration value = "Deleted" / >

    < enumeration value = "Deprecated" / >

    < enumeration value = "Update" / >

    < enumeration value = "Versioned" / >

    < / restriction >

    < / simpleType >

    < / attribute >

    < attribute name = use of the 'object' = "required" type = "IDREF" / >

    < attribute name = "timestamp" use = "required" type = "dateTime" / >

    < attribute name = "user" use = "required" type = "IDREF" / >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "AuditableEvent" type = "tns:AuditableEventType" / >

    < complexType name = "ClassificationType" >

    < annotation >

    < documentation XML: lang = "fr" >

    The classification is the mapping of the same interface in ebRIM.

    It extends object.

    A collation specifies the references to the two registry entries.

    The classifiedObject is the id of the object being classified.

    The classificationNode is the id of the ClassificationNode object classying

    < / documentation >

    < / annotation >

    < complexContent >

    < extension base = "tns:RegistryObjectType" >

    < attribute name = use "classificationScheme" = "optional" type = "IDREF" / >

    < attribute name = use = "required" type "IDREF" = "classifiedObject" / >

    < attribute name = "classificationNode" use = "optional" type = "IDREF" / >

    < attribute name = use "optional' =" nodeRepresentation"type ="LongName"/ >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "Ranking" type = "tns:ClassificationType" / >

    < complexType name = "ClassificationNodeType" >

    < annotation >

    < documentation XML: lang = "fr" >

    ClassificationNode is the mapping of the same interface in ebRIM.

    It extends object.

    ClassificationNode is used to send a Classification tree in the registry.

    The parent attribute is the id of the parent node. the code is a voluntary code for a ClassificationNode value

    often defined by an external taxonomy (e.g. NAICS)

    < / documentation >

    < / annotation >

    < complexContent >

    < extension base = "tns:RegistryObjectType" >

    <>sequence

    < Ref element = "tns:ClassificationNode" minOccurs = "0" maxOccurs = "unbounded" / >

    < / sequence >

    < attribute name = "parent" use = "optional" type = "IDREF" / >

    < attribute name = "code" use = "optional" type = "short name" / >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "ClassificationNode" type = "tns:ClassificationNodeType" / >

    < complexType name = "ClassificationSchemeType" >

    < annotation >

    < documentation XML: lang = "fr" >

    ClassificationScheme is the mapping of the same interface in ebRIM.

    It stretches from RegistryEntry.

    < / documentation >

    < / annotation >

    < complexContent >

    < extension base = "tns:RegistryEntryType" >

    <>sequence

    < Ref element = "tns:ClassificationNode" minOccurs = "0" maxOccurs = "unbounded" / >

    < / sequence >

    < attribute name = use "isInternal" = "required" type = "boolean" / >

    < name of attribute = "nodeType" use = "required" >

    < simpleType >

    < restriction base = "NMTOKEN" >

    < enumeration value = "UniqueCode" / >

    < enumeration value = "EmbeddedPath" / >

    < enumeration value = "NonUniqueCode" / >

    < / restriction >

    < / simpleType >

    < / attribute >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "ClassificationScheme" type = "tns:ClassificationSchemeType" / >

    < complexType name = "ExternalIdentifierType" >

    < annotation >

    < documentation XML: lang = "fr" >

    ExternalIdentifier is the mapping of the same interface in ebRIM.

    It extends object.

    < / documentation >

    < / annotation >

    < complexContent >

    < extension base = "tns:RegistryObjectType" >

    < attribute name = use = "required" type "IDREF" = "identificationScheme" / >

    < attribute name = "value" use = "required" type = "Short name" / >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "ExternalIdentifier" type = "tns:ExternalIdentifierType" / >

    < complexType name = "ExternalLinkType" >

    < annotation >

    < documentation XML: lang = "fr" >

    ExternalLink is the mapping of the same interface in ebRIM.

    It extends object.

    < / documentation >

    < / annotation >

    < complexContent >

    < extension base = "tns:RegistryObjectType" >

    < attribute name = use = "required" type "anyURI" = "externalURI" / >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "ExternalLink" type = "tns:ExternalLinkType" / >

    < complexType name = "ExtrinsicObjectType" >

    < annotation >

    < documentation XML: lang = "fr" >

    ExtrinsicObject are attributes of the ExtrinsicObject interface in ebRIM.

    Inherit RegistryEntryAttributes

    < / documentation >

    < / annotation >

    < complexContent >

    < extension base = "tns:RegistryEntryType" >

    < attribute name = "MIME type" type = "LongName" / >

    < attribute name = "isOpaque" use = "optional" type = "boolean" / >

    < / extension >

    < / complexContent >

    < / complexType >

    <!-suite element VAT statement nneds to be lowercase but using mixed upper-case for backward compatibility-->

    < element name = "ExtrinsicObject" type = "tns:ExtrinsicObjectType" / >

    < element name = "Address" type = "tns:PostalAddressType" / >

    < complexType name = "OrganizationType" >

    < annotation >

    < documentation XML: lang = "fr" >

    Mapping of the same interface in ebRIM.

    < / documentation >

    < / annotation >

    < complexContent >

    < extension base = "tns:RegistryObjectType" >

    < sequence minOccurs = "1" maxOccurs = "1" >

    < Ref element = "tns:Address" minOccurs = "1" maxOccurs = "1" / >

    < Ref element = "tns:TelephoneNumber" minOccurs = "1" maxOccurs = "unbounded" / >

    < / sequence >

    < attribute name = "parent" type = "IDREF" / >

    < attribute name = use = "required" type "IDREF" = "primaryContact" / >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "Company" type = "tns:OrganizationType" / >

    < complexType name = "SlotType1" >

    <>sequence

    < Ref element = "tns:ValueList" minOccurs = "1" maxOccurs = "1" / >

    < / sequence >

    < attribute name = "name" = "required" type = "LongName" / >

    < attribute name = use "slotType" = "optional" type = "LongName" / >

    < / complexType >

    < element name = "Slot" type = "tns:SlotType1" / >

    < complexType name = "ValueListType" >

    < sequence minOccurs = "0" maxOccurs = "unbounded" >

    < Ref element = "tns: Value" / >

    < / sequence >

    < / complexType >

    < element name = "ValueList" type = "tns:ValueListType" / >

    < element name = "Value" type = "Short name" / >

    < complexType name = "PersonNameType" >

    < annotation >

    < documentation XML: lang = "fr" >

    Mapping of the same interface in ebRIM.

    < / documentation >

    < / annotation >

    < sequence minOccurs = "0" maxOccurs = "unbounded" >

    < Element Ref = "tns:Slot" / >

    < / sequence >

    < attribute name = "FirstName" use = "optional" type = "short name" / >

    < attribute name = "middleName" use = "optional" type = "short name" / >

    < attribute name = "lastName" use = "optional" type = "short name" / >

    < / complexType >

    < feature name = 'PersonName' type = "tns:PersonNameType" / >

    < complexType name = "EmailAddressType" >

    < annotation >

    < documentation XML: lang = "fr" >

    Mapping of the same interface in ebRIM.

    < / documentation >

    < / annotation >

    < sequence minOccurs = "0" maxOccurs = "unbounded" >

    < Element Ref = "tns:Slot" / >

    < / sequence >

    < attribute name = "address" use = "required" type = "Short name" / >

    < attribute name = use "enter" = "optional" type = "String32" / >

    < / complexType >

    < element name = "EmailAddress" type = "tns:EmailAddressType" / >

    < complexType name = "PostalAddressType" >

    < annotation >

    < documentation XML: lang = "fr" >

    Mapping of the same interface in ebRIM.

    < / documentation >

    < / annotation >

    < sequence minOccurs = "0" maxOccurs = "unbounded" >

    < Element Ref = "tns:Slot" / >

    < / sequence >

    < attribute name = "City" use = "optional" type = "short name" / >

    < attribute name = "country" use = "optional" type = "short name" / >

    < attribute name = "PostalCode" use = "optional" type = "short name" / >

    < attribute name = "stateOrProvince" use = "optional" type = "short name" / >

    < attribute name = use 'street' = 'optional' type = "short name" / >

    < attribute name = use "streetNumber" = "optional" type = "String32" / >

    < / complexType >

    < element name = "PostalAddress" type = "tns:PostalAddressType" / >

    < complexType name = "RegistryEntryType" >

    < complexContent >

    < extension base = "tns:RegistryObjectType" >

    < attribute name = "expiration" use = "optional" type = "dateTime" / >

    < attribute name = "majorVersion" default = "1" type = "integer" / >

    < attribute name = value by default "minorVersion" = "0" type = "integer" / >

    < attribute name = use of 'stability' 'optional' = >

    < simpleType >

    < restriction base = "NMTOKEN" >

    < enumeration value = "Dynamic" / >

    < enumeration value = "DynamicCompatible" / >

    < enumeration value = "Static" / >

    < / restriction >

    < / simpleType >

    < / attribute >

    < attribute name 'status' = >

    < simpleType >

    < restriction base = "NMTOKEN" >

    < enumeration value = "Subject" / >

    < enumeration value = "Approved" / >

    < enumeration value = "Deprecated" / >

    < enumeration value = "Off" / >

    < / restriction >

    < / simpleType >

    < / attribute >

    < attribute name = use "userVersion" = "optional" type = "short name" / >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "RegistryEntry" type = "tns:RegistryEntryType" / >

    < complexType name = "InternationalStringType" >

    < sequence minOccurs = "0" maxOccurs = "unbounded" >

    < Element Ref = "tns:LocalizedString" / >

    < / sequence >

    < / complexType >

    < element name = "InternationalString" type = "tns:InternationalStringType" / >

    < complexType name = "LocalizedStringType" >

    < attribute name = "lang" default = "en - us" form = "qualified" type = "language" / >

    < attribute name = "charset" default = "UTF - 8" / > ".

    < attribute name = "value" use = "required" type = "FreeFormText" / >

    < / complexType >

    < element name = "LocalizedString" type = "tns:LocalizedStringType" / >

    < complexType name = "RegistryObjectType" >

    < annotation >

    < documentation XML: lang = "fr" >

    ID may be empty. If specified, it may be in the form urn: uuid or have some

    arbitrary format. If id is empty registry must generate globally unique id.

    If id is provided and appropriate syntax UUID (starts with urn: uuid :))

    Registry will pay tribute to her.

    If id is provided and is not in the appropriate UUID syntax, then it is used for

    link to the document and is ignored by the registry. In this case the

    Registry generates a UUID for the attribute ID.

    ID must not be null when the object is retrieved in the registry.

    < / documentation >

    < / annotation >

    < sequence minOccurs = "0" maxOccurs = "1" >

    < Ref element = "tns:Name" minOccurs = "0" maxOccurs = "1" / >

    < Ref element = "tns:Description" minOccurs = "0" maxOccurs = "1" / >

    < Ref element = "tns:Slot" minOccurs = "0" maxOccurs = "unbounded" / >

    < Ref element = "tns:Classification" minOccurs = "0" maxOccurs = "unbounded" / >

    < Ref element = "tns:ExternalIdentifier" minOccurs = "0" maxOccurs = "unbounded" / >

    < / sequence >

    < attribute name = use "accessControlPolicy" = "optional" type = "IDREF" / >

    < attribute name = "id" type = "ID" / >

    < attribute name = "objectType" use = "optional" type = "LongName" / >

    < / complexType >

    < element name = "Object" type = "tns:RegistryObjectType" / >

    < element name = "Name" type = "tns:InternationalStringType" / >

    < element name = "Description" type = "tns:InternationalStringType" / >

    < complexType name = "RegistryPackageType" >

    < annotation >

    < documentation XML: lang = "fr" >

    RegistryPackage is the mapping of the same interface in ebRIM.

    It stretches from RegistryEntry.

    A RegistryPackage is a collection named objects.

    < / documentation >

    < / annotation >

    < complexContent >

    < extension base = "tns:RegistryEntryType" >

    <>sequence

    < Ref element = "tns:RegistryObjectList" minOccurs = "0" maxOccurs = "1" / >

    < / sequence >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "RegistryPackage" type = "tns:RegistryPackageType" / >

    < complexType name = "ServiceType" >

    < complexContent >

    < extension base = "tns:RegistryEntryType" >

    <>sequence

    < Ref element = "tns:ServiceBinding" minOccurs = "0" maxOccurs = "unbounded" / >

    < / sequence >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "Service" type = "tns:ServiceType" / >

    < complexType name = "ServiceBindingType" >

    < complexContent >

    < extension base = "tns:RegistryObjectType" >

    <>sequence

    < Ref element = "tns:SpecificationLink" minOccurs = "0" maxOccurs = "unbounded" / >

    < / sequence >

    < attribute name = use "optional' =" accessURI"type ="anyURI"/ >

    < attribute name = use "optional' =" targetBinding"type ="IDREF"/ >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "ServiceBinding" type = "tns:ServiceBindingType" / >

    < complexType name = "SpecificationLinkType" >

    < complexContent >

    < extension base = "tns:RegistryObjectType" >

    < sequence minOccurs = "0" maxOccurs = "1" >

    < Ref element = "tns:UsageDescription" minOccurs = "0" maxOccurs = "1" / >

    < Ref element = "tns:UsageParameter" minOccurs = "0" maxOccurs = "unbounded" / >

    < / sequence >

    < attribute name = use = "required" type "IDREF" = "specificationObject" / >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "SpecificationLink" type = "tns:SpecificationLinkType" / >

    < element name = "UsageDescription" type = "tns:InternationalStringType" / >

    < element name = "UsageParameter" type = "FreeFormText" / >

    < complexType name = "TelephoneNumberType" >

    < annotation >

    < documentation XML: lang = "fr" >

    Phone number is the mapping of the same interface in ebRIM.

    < / documentation >

    < / annotation >

    < attribute name = "PostalCode" use = "optional" type = "String4" / >

    < attribute name = "PostalCode" use = "optional" type = "String4" / >

    < attribute name = "extension" use = "optional" type = "String8" / >

    < attribute name = "number" use = "optional" type = "String16" / >

    < attribute name = "phoneType" use = "optional" type = "String32" / >

    < attribute name = use "URL" = "optional" type = "anyURI" / >

    < / complexType >

    < element name = "TelephoneNumber" type = "tns:TelephoneNumberType" / >

    < element name = "Number of Fax" type = "tns:TelephoneNumberType" / >

    < element name = "MobileTelephoneNumber" type = "tns:TelephoneNumberType" / >

    < element name = "PagerNumber" type = "tns:TelephoneNumberType" / >

    < complexType name = "TelephoneNumberListType" >

    <>sequence

    < Ref element = "tns:TelephoneNumber" minOccurs = "0" maxOccurs = "unbounded" / >

    < / sequence >

    < / complexType >

    < complexType name = "UserType" >

    < annotation >

    < documentation XML: lang = "fr" >

    Mapping of the same interface in ebRIM.

    < / documentation >

    < / annotation >

    < complexContent >

    < extension base = "tns:RegistryObjectType" >

    < sequence minOccurs = "0" maxOccurs = "1" >

    < Ref element = "tns:Address" minOccurs = "1" maxOccurs = "1" / >

    < Ref element = "tns:PersonName" minOccurs = "1" maxOccurs = "1" / >

    < Ref element = "tns:TelephoneNumber" minOccurs = "1" maxOccurs = "unbounded" / >

    < Ref element = "tns:EmailAddress" minOccurs = "1" maxOccurs = "unbounded" / >

    < / sequence >

    < attribute name = "company" type = "IDREF" / >

    < attribute name = use "URL" = "optional" type = "anyURI" / >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "User" type = "tns:UserType" / >

    < complexType name = "ObjectRefType" >

    < annotation >

    < documentation XML: lang = "fr" >

    Use to reference an object by its ID.

    Specifies the id attribute of the object as its attribute id.

    attribute ID in ObjectAttributes is exactly the same syntax and semantics as

    ID attribute of the object.

    < / documentation >

    < / annotation >

    < attribute name = "id" type = "ID" / >

    < / complexType >

    < element name = "ObjectRef" type = "tns:ObjectRefType" / >

    < element name = "ObjectRefList" >

    < annotation >

    < documentation XML: lang = "fr" > list of the ObjectRefs < / documentation >

    < / annotation >

    < complexType >

    < sequence minOccurs = "0" maxOccurs = "unbounded" >

    < Element Ref = "tns:ObjectRef" / >

    < / sequence >

    < / complexType >

    < / item >

    < complexType name = "LeafRegistryObjectListType" >

    < choice minOccurs = "0" maxOccurs = "unbounded" >

    < Element Ref = "tns:ObjectRef" / >

    < Element Ref = "tns:Association" / >

    < Element Ref = "tns:AuditableEvent" / >

    < Element Ref = "tns:Classification" / >

    < Element Ref = "tns:ClassificationNode" / >

    < Element Ref = "tns:ClassificationScheme" / >

    < Element Ref = "tns:ExternalIdentifier" / >

    < Element Ref = "tns:ExternalLink" / >

    < Element Ref = "tns:ExtrinsicObject" / >

    < Element Ref = "tns:Organization" / >

    < Element Ref = "tns:RegistryPackage" / >

    < Element Ref = "tns:Service" / >

    < Element Ref = "tns:ServiceBinding" / >

    < Element Ref = "tns:SpecificationLink" / >

    < Ref element = "tns: User" / >

    < / choice >

    < / complexType >

    < element name = "LeafRegistryObjectList" type = "tns:LeafRegistryObjectListType" / >

    < complexType name = "RegistryObjectListType" >

    < complexContent >

    < extension base = "tns:LeafRegistryObjectListType" >

    <>sequence

    < choice minOccurs = "0" maxOccurs = "unbounded" >

    < Element Ref = "tns:RegistryEntry" / >

    < Element Ref = "tns:RegistryObject" / >

    < / choice >

    < / sequence >

    < / extension >

    < / complexContent >

    < / complexType >

    < element name = "RegistryObjectList" type = "tns:RegistryObjectListType" / >

    < / schema >

    Are you sure that you have made the corrections on the right?

    Looks like you have changed the name of the attribute instead of the type reference...

    Anyway, I do not know whence this schema file, but it's certainly invalid.

    Most attribute definitions lack the good "tns: ' prefix when they are based on a locally declared type:

    String4, String8, String16, String32, ShortName, LongName, and FreeFormText

    When an attribute (or element) is based on one of these types, the type must be qualified with the target namespace.

    I'll give the same example again:

    I'll post changed and now correct schema in a separate after this section.

    Then, you can do this without error:

    Start

    () dbms_xmlschema.registerschema

    schemaurl-online "rim.xsd."

    schemadoc-online xmltype (bfilename('TEST_DIR','rim.xsd'), nls_charset_id ('AL32UTF8'))

    genTypes-online fake

    genTables-online fake

    enableHierarchy-online dbms_xmlschema. ENABLE_HIERARCHY_NONE

    );

    end;

    /

    Please pay attention to the options I used:

    -genTypes and genTables = false, if you do not use the storage of GOLD (you has not answered this part)

    -enableHierarchy = none, if you do not intend to use the repository XDB (induced by the above option)

Maybe you are looking for