Business Rules - When importing complex schema subelements not visible

When I try an import the schemas to XML Facts It doesnt seem to import all the subelements and attributes, ie I can See AlphaCollection and click down to instItem but if i click on instItem i only get size() and null() as options. How do I ensure that I can get to aId, dat etc? These are stored in the same xsd (though I do import many xsds to make up the whole model). Xsd snippet below. Thanks in advance.
<xs:complexType name="AlphaCollection">
<xs:sequence>
<xs:element name="instItem" type="Alpha" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Alpha">
<xs:sequence>
<xs:element name="aId" type="xs:string"/>
<xs:element name="dat" type="xs:dateTime" minOccurs="0"/>
<xs:element name="version" type="xs:string"/>
<xs:element name="oList" type="oIdList"/>
</xs:sequence>
</xs:complexType>

What's the targetNamespace and what's the default namespace of the xsd?
For the snippet to work the way it is they must be the same... Otherwise you will have to define an alias and use it on the element definition...
For example
<xsd:schema
xmlns="http://example.org"
targetNamespace="http://example.org"
Hope this helps...
Cheers,
Vlad

Similar Messages

  • FK DELETE RULE problem when importing 8i SCHEMA on 10g

    Hi everyone,
    I´m having the following problem:
    When importing a SCHEMA dump from an 8i database to a 10g one, some foreign key´s delete rule are changed from 'no action' to 'set null' automatically, even though the whole SCHEMA was imported.
    Has anyone ever had the same problem?
    Thanks a lot,
    Bruno

    I did some more research and I think I was completely misunderstanding Oracle's implementation of delete rules. Now I believe that Oracle implements the "RESTRICT" option in SQL Developer Data Modeler as "No Action", which is the default option, hence why no DDL option is generated. However, it would still be nice if Data Modeler could detect this fact when comparing two models. What I mean it, if comparing an Oracle DB to a model, treat Restrict and No Action as the same, and thus don't attempt to re-generate the DDL for this "difference". For now, I'll just change the action on my models to No Action, and this should resolve the issue.

  • When importing files, folders are not updated?

    Could anyone please help?
    Since I reinstalled Lightroom on a new harddrive (after a crash) whenever I import photos into my library, they appear in "Previous Import", but they are not visible in the destination folder. Even if I, in the import screen, make a new folder, this folder does not appear in the library, folders column untill I manually synchronize the parent folder.
    Could anyone give me advice as to how to correct this problem?
    Thanks
    Micha

    Thanks for your answer.
    Do you have the option "Do not import duplicates" enabled in Aperture's Import panel?
    Yes I have.(But it should anyway show folders. It doesn't scan automatically all folders and subfolders. So I should see something).
    When did this problem start? Directly after you upgraded to Mavericks or before?
    It started few days ago. I did not update anything or I did not install anything new software etc.
    What is the file system on your drive "Kovalevy"?
    It should be HFS or HFS Plus? I use these disks only with this Mac.
    Is it formatted for Mac? MacOS Extended (Journaled)?  Is the drive directly connected? And the what are the permissions on this drive? Have you tried to set the "Ignore Ownership on this volume" option? You can set it in the "File > Get Info" panel for the drive in the Finder:  This panel will also show you the file system in the "General" brick.
    It is formated MacOS Extended (Journaled).
    Yes I tried "Ignore Ownership on this volume". No effect.
    I don't have any problems with Finder, Final Cut etc. I can open projects, copy files etc.
    Thanks for your time.
    Br,
    Marko

  • Trip Schema is not visible in FITVFELD_WEB

    Hi,
    When I made some changes in the Trip schema 01 for country Germany and saved, the trip schema is not visible in the left hand panel at all. But when I try to copy 99 to 01, it says '01' already exists. This means the trip schema 01 is available and not visible in transaction FITVFELD_WEB.
    Appreciate if anyone suggest to make this visible to make further changes.
    Regards,
    Kumar

    Narayana,
    It is displayed the trip schema 01 in the table T706S and V_T706S and transaction FITVFELD.
    But it is invisible in the trasaction FITVFELD_WEB.
    Thanks.
    Kumar

  • Can I change the tablespace when importing a schema

    I need to import a schema in a different tablespace other than the original.
    When I importing the .dmp the tables are created in the tablespace where they from.
    I don't want it, I need that the tables use the new tablespace.

    Can't think of an easy way to do thie.
    You could import by table - all tables in ts1, then change the users default tablespace, to ts2 etc.
    Bit long-winded.
    You could also pre-create the tables in the schema using the indexfile option on imp(port).
    do imp...indexfile=impexp.sql
    This creates a file (impexp.sql) with the table, index and constraints creation syntax.
    You need to edit this to get the table creation sql, then change the tablespaces for each of the tables to the ones you want.
    You run this to create the empty tables, then when you import, use ignore=y.
    Bob

  • Business Rule Attached to Composite web form not running

    Hi
    I created a composite webform and attached a business rule.Rule is supposed to run on save.But its failing to do so.Version is 11.1.2.3.I also tried attaching BR to the individual webforms along with the composite webform.Still not working.
    Please give your valuable advice on this.
    Thanks in advance.

    Did you select Run "Rules from Form XX" in composite Form Business Rule section and select Run on save option ? Can you please provide screenshot of your BR section in Composite form and simple form ??

  • Business rule put figures to the blocks not created earlier

    Sometimes business rules put figures to the blocks that should have not been created yet. Business rules perform this activity without the usage of function (createnonmissingblk) which it should not. Please can someone tell me its reason?

    It can be a sparse allocation that it is doing.
    DATACOPY can create blocks
    Sparse assignment can create blocks
    @ALLOCATE can create blocks.
    Regards
    Celvin

  • Business Rule err The following value is not valid for the run time prompt.

    Hyperion Planning v 9.3.3
    I have created a new BR with 2 local variables (created at the time of the BR), Variables are set as run time prompts. They are created as "Member" (not Members). The BR basically does a calc dim on dense and Agg on Sparce other than the prompt on Entity and Version dimensions. The entity variable has a limit on level 0 of the dimension. The Version variable limits to the input (Submit and Sandboxes)
    The BR is associated in Planning with an input web form. Entity and Version are in the page. Is set to Run on Save and Use members on form.
    If the run time prompts Hide boxes are checked, an empty Prompt pops up with only a Submit button. Click the button and an error comes up: "The following value is not valid for the run time prompt it was entered for:. But it does not indicate what member - just ends in the :.
    The BR will run sucessfully only if the Run-time prompt is not hidden - "Hide" in the BR is unchecked. So the syntax and logic of the BR is correct and security should not be an issue.
    The client wants no prompt. In production we have similar situations in which the BR works with the Web Forms without a prompt.
    What am I doing wrong - I have tried restarting the Planning service and the EAS service.

    My preferred method of doing this is:
    1. In business rule, do not hide the run-time prompts. This makes it easy to validate the business rule as you are building it. I only use Global Variables.
    2. On the form, have business rule set to run on save, use members on data form and hide prompt.
    Check that in the business rule, for the variables (Run-Time prompts), that they are all in use. If not, delete them from the business rule. Are all your variables global? Are some local and some global? This could be the issue.
    Deanna

  • OSB Workshop Issue: Dependency is not configured when import xmlmime schema

    Hello,
    I use OSB workshop Version: 10.3 Build id: 1137967 and am little bit confused with following issue:
    I got some WSDL and XSD from 3rd party, these were prepared in Visual Studio, the XSD files include following import:
    <s:import namespace="http://www.w3.org/2005/05/xmlmime" schemaLocation="http://www.w3.org/2005/05/xmlmime"/>
    When I delete this line from schema everything is ok, when I left it in there i experience following error:
    The dependency is not configured in schema resource. Possible reason one or more import/include is not set correctly.     
    Here is sample:
    <?xml version="1.0" encoding="UTF-8"?>
    <s:schema xmlns="urn:dynn:lcr:portal:shooter:types"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
    targetNamespace="urn:dynn:lcr:portal:shooter:types" elementFormDefault="qualified">
    <s:import namespace="http://www.w3.org/2005/05/xmlmime" schemaLocation="http://www.w3.org/2005/05/xmlmime"/>
    <s:complexType name="LangContentType">
    <s:sequence>
    <s:element name="Kategorie" maxOccurs="unbounded">
    <s:complexType>
    <s:simpleContent>
    <s:extension base="s:string">
    <s:attribute name="index" type="s:int" use="required"/>
    </s:extension>
    </s:simpleContent>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    When I delete the import line, the issue dissapears. Any hints? I also found out that the xmime namespace is not used in whole schema, so it seems to me like the Visual Studio just added some default namespace definition into schema at generation stage.
    Ladislav

    Please refer -
    The dependency is not configured in schema resource. Error in OEPE
    Regards,
    Anuj

  • Strange error message when importing one schema into another

    Hello,
    using Oracle Workshop for Weblogic 10.3, I am trying to define a new schema A which imports the namespace of an already existing schema B. The schema validator states that schema B is valid.
    However, when I try to add an import directive in the design view and try to select schema B as the schema location I get the error message that B.xsd is an invalid schema file. When I manually add the import directive in the source view, I can refer to all elements of the namespace defined in schema B. Unfortunately, schema A now is marked as invalid with the error message "The dependency is not configure in schema resource. Possible reason one or more import/include is not set correctly."
    Even external schema validation tools do not find any validation errors in schema B.
    Any ideas?
    Kind regards
    Alexander

    The dependency is not configure in schema resource. Possible reason one or more import/include is not set correctly."http://forums.oracle.com/forums/thread.jspa?threadID=1048184&tstart=0
    Regards,
    Anuj

  • JAXB: XJC src-resolve error when importing other schemes

    Hi!
    I keep getting a src-resolve error from the JAXB binding compiler whenever I try to import other XML schemes into my own.
    For example:
    I want to use a SignatureType element as defined in the official XML signature schema.
    So I imported it into my own schema and use it as follows:
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <xsd:import namespace="http://www.w3.org/2000/09/xmldsig#"
    schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
    <xsd:complexType name="PayloadType">
    <xsd:sequence>
       <xsd:element name="signature" type="ds:SignatureType" minOccurs="0"/>
    </xsd:sequence>
    </xsd:complexType>However if I run XJC to compile my schema I get this error:
    [xjc] [ERROR] src-resolve: Cannot resolve the name 'ds:SignatureType' to a(n) 'type definition' component.I am using JAXB 2.0 EA from the JWSDP 2.0 and XJC is called from an Ant task.
    I am pretty new to JAXB and XML schemes, so any help on this topic would be greatly appreciated.

    I got the the answer from another forum; it was a proxy problem. Just to inform succeeding readers, here is what I did:
    To receive a better error output, I modified my ant buildfile to use the "nv" parameter:
    <xjc schema="${path}/.../mySchema.xsd" package="mySchemaPackage" destdir="${path}/.../src">
    <arg value="-nv" />
    <produces dir="${path}/.../src/mySchemaPackage" includes="**/*.java" />
    </xjc>Result:
    The XJC compiler gives me a different (better) error message:
    [xjc] [ERROR] java.net.ConnectException: Connection timed out: connectSo I looked in my Ant buildfile again to check the proxy settings. I merely used property-tags to define my proxy settings (<property name="http.proxyHost" value="nnn.nnn.nnn.nnn" /> and <property name="http.proxyPort" value="nnnn" /> ) which apparently do not work.
    Instead this here does the trick:
    <setproxy proxyhost="nnn.nnn.nnn.nnn" proxyport="nnnn"/>Good to now that "nv" might give you a better error report.

  • Rule set import - Background job did not run

    Hi,
    I am setting up my CC 5.2 production system. I have downloaded from ruleset from the dev CC and imported it into production. However the background job generated did not run. I am implementing SAP note 999785 to fix this, but am wondering what should I do about the rule set? Do I need to delete the rule set and reimport it? As this background job did not run I notice that the permission rules did not generate.
    Any advice is welcome.
    Thanks

    Hi,
    as the backgorund job never ran and no rules were created, I can just reimport the ruleset and let the job run. I have tried this and the rules were created successfully

  • Using Express when the database schema does not match theclass model

    We are working on a large pay/personnel management system and are
    evaluating Fort&eacute; Express and Sage Scaffolds. We need to answer some big
    questions in the near future, and I was hoping that there may be someone
    out there with the answers.
    1. How different can the database schema and the class model be, before
    Express becomes a bad choice of framework? What solutions exist for cases
    where Express is still a viable option?
    2. Assuming that we can get around the problem in question 1, will the
    Application Model features still work afterwards? (i.e. how sensitive are
    the client-side services to changes in the database services?)
    3. Express seems to use domain classes everywhere, whereas we are always
    being advised to use scalar attributes wherever possible. How badly does
    this affect the performance of Express applications?
    4. Has anybody out there used Sage Scaffolds on a large project recently?
    How did it go? What problems should we watch out for? Doesn't its 'Chain
    of Responsibility' pattern tend to produce a lot of unnecessary objects at
    run-time?
    5. Has anybody used the Born collection classes? How do they compare with
    Brahma's Fortify?
    Thanks to those who have already helped - all input gratefully received!
    Tim Kimber
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    I did all that before posting the orignial post..
    declare
      v_schema_exists varchar2(1) := 'N';
      res             boolean;
      schemaURL       varchar2(100) := 'T0090.xsd';
      schemaPath      varchar2(100) :=  '/prmt/xsd/T0090.xsd'; --'/public/T0090.xsd';
      xmlSchema xmlType := XMLTYPE(bfilename('DIR_PRMT_OUT_CVIEW','T0090.xsd'),NLS_CHARSET_ID('AL32UTF8'));
    begin
      begin
        select 'Y'
          into v_schema_exists
          from sys.all_xml_schemas  -- changed from user_xml_schemas
         where schema_url = schemaURL;
        dbms_xmlSchema.deleteSchema(schemaURL,4);
        exception
          when NO_DATA_FOUND then
            null;
      end;
      if (dbms_xdb.existsResource(schemaPath)) then
        dbms_xdb.deleteResource(schemaPath);
      end if;
      res := dbms_xdb.createResource(schemaPath,xmlSchema);   
      dbms_xmlschema.registerSchema ( schemaURL, xdbURIType(schemaPath).getClob(), TRUE, TRUE, FALSE, TRUE );
    end;
    / I guess my understanding was that I could grant another oracle user access to my registered schema just like I can grant a single user access to a table. Evidently I only have two options. Only the schema owner can use the schema or everyone can use the schema and I cannot grant access to a single user other than myself.
    Edited by: Mark Reichman on Jul 2, 2010 9:08 AM
    Edited by: Mark Reichman on Jul 2, 2010 9:09 AM

  • Transfer rules to the new source system not visible in Transport connection

    Dear All,
    Recently our source system has been changed from R3 4.7 to ECC 6.O. Corresponding to that all the activities in BI have finished successfully. All my datasources in 4.7 have been replicated in ECC 6 in BI and transfer rules re-assigned. I have also collected them in a Transport request.
    Now when I am checking the entire flow in Transport connection, it shows me the transfer rules pointing to the old system only. That is, in RSA1 it shows the new system assignment. But in Transport connection not.
    What I have to do so that I can crosscheck in Transport connection all my objects having transfer rules to new system ?
    Regards,
    Srinivas

    I think you should check the source system assignment in the transport connection. It might have directed to the old sytem.
    Cheers
    Chanda

  • 5.2: custom schema infos not visible in console

    Hello,
    i added a bunch of objectclasses and attribute types to the 99user.ldif file in slapd-instance/config/schema. These change are visible using
    ldapsearch -b cn=schema '(objectclass=*)' to view the schema infos.
    When i use the console to edit/maintain the schema definitions, the 'User Defined Object Classes' list is empty. I cant find my objectclasses in the 'Standard object classes' list either.
    I used the X-ORIGIN 'user defined' value (used different values for field just to be sure) but nothing ....
    Any hints?
    Regards,
    Dirk

    When you click on the schema tab - you get nothing? If this is the case verify you still have ACI's in place that will allow you read access by clicking on the directory tab and viewing the access control for the schema entry.

Maybe you are looking for