Location of DTD or Schema for XSQL Statements

Hi,
where can I find a DTD or a XML schema for XSQL statements?
I am using XML Spy as XML editor. With a XSQL DTD it would be more comfortable to create xsql files.
Kind regards, Achim

Thanks for your answer.
Your proposed way creates the XML schema for the resulting XML of the query. I was asking for the XML schema or DTD of the allowed XSQL statements and attributes in the query XML file (the XSQL file).
If you are doing a xsql:query, you can add a parameter
include-schema="yes" to the <xsql:query> tag and it will
return the XML Schema for your query.
This works on the latest xdk

Similar Messages

  • Can DTD schema for a XML file be a data source to the Crystal Reports?

    Hi All,
    We are trying to generate a crystal report having XML file as a source. And we want to use the DTD schema for the source XML file.
    Please suggest whether DTD schema can be used for crystal reports or not.
    Thanks
    Sriram

    Hi Sriram,
    I think it should work.
    1) Use this pdf for your reference
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90faaea7-8e1e-2b10-e6a7-ea82e11d9e8b ]
    2)if in case it does not help you can convert existing DTD to XSD using this online converter
    [http://www.hitsw.com/xml_utilites/]
    and  then use for generating report from XML file.
    Regards,
    Jeetsinh Parmar.

  • Problem For/Each statement (or the problem is the MouseListener...)

    Hi guys,
    I'm making a program in java for school.
    Now I have this:
              for(Stap2TrampolineModel trampoline : lijstTrampolines)
                   trampoline = new Stap2TrampolineModel(0,215,100,"Poing",lijstKinderen); //model
                   trampolineView = new Stap2TrampolineView(trampoline); //view
                   trampolineController = new Stap2TrampolineController(trampoline, trampolineView); //controller
                   trampolineView.setBounds(trampoline.getXInvoer(),trampoline.getYInvoer(),trampoline.getFormaat()+1,20);
                   add(trampolineView);
                   repaint();
    and in the mouselistener this:
    public void mouseClicked( MouseEvent e )
              System.out.println(lijstTrampolines.size());
              // Onderzoek of met de rechterknop is geklikt
    if( e.isMetaDown() )
         // x = e.getX(); (for later needs)
    //y = e.getY(); (for later needs)
    lijstTrampolines.add(trampoline);
    repaint();
    The program should display a "trampoline" when I click...but it doesnt. It is added to the list, because I can see that in the console because of the System.out.println
    But it doesn't show the display I want. When I delete the for each statement, it does show the "trampoline". So the mouselistener works (it gets added when I click) and the arraylist works (it shows that in the console), but the for each statement doesnt work...
    Anyone knows how to solve this problem?

    Where is this foreach loop located? In inialisation presumably. But that's over and done with when your mouseListener is called. I'd guess your list is empty when the loop is called, and it does nothing.
    Your mouse listener, when it adds a trampoline must also add a trampoline view object. And the repaints don't do you any good, use revalidate() after adding a trampoline view to recalculate the layout.

  • How do I use both a dtd and schema during parsing?

    Hi
    I have this akward problem. I have created at schema for or DOM parser to validate up against. Thats all fine. The problem arise when I want to use entities in the xml like &aelig; &aring; which are special html esc. sequences for danish letters.
    Then I found this dtd from w3c: xhtml-lat1.ent, that does the trick of declaring these entities.
    The problem is! How do I incorporate this dtd in the schema so I dont have to reference it in all my xml documents. I tried with the <!DOCTYPE ...> declaration as follows: <!DOCTYPE xs:schema PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://legolas.dsb.dk:4520/mille/integration/xsd/xhtml-lat1.ent">
    which onfortunatly dosnt work. The parser takes the DTD instead of the schema when validating and is now not able to find any of the entities declared in the XML schema.
    How to resolve this problem?
    Kind regards
    Michael Nielsen

    Include DTD with the include tag:
    <xs:include schemaLocation="http://legolas.dsb.dk:4520/mille/integration/xsd/xhtml-lat1.ent"/>

  • Error Extending eDirectory Schema for Radius in iManager

    I am working on integrating eDirectory with FreeRADIUS on our OES 11 SP2 servers. I have been following all the steps in the "Integrating Novell eDirectory with FreeRADIUS" guide located here: https://www.netiq.com/documentation/edir_radius/. I did not have any problems installing FreeRADIUS or modifying its config files for LDAP authentication.
    I am now stuck trying to extend the eDirectory schema for radius. In iManager, I go to Roles and Tasks --> radius --> Extend Schema, and I keep getting the following error: "RADIUS plugin encountered an error. Click the Details button for more information." When I click "details" it shows the following:
    java.lang.NullPointerException\n at java.util.StringTokenizer.(StringTokenizer.java:88 )\n at java.util.StringTokenizer.(StringTokenizer.java:66 )\n at com.novell.ldap.LDAPConnection.connect(Unknown Source)\n at com.novell.nps.radius.NovellLDAPAuthenticator.logi n(NovellLDAPAuthenticator.java:155)\n at com.novell.nps.radius.ExtendRadiusSchema.showIniti alForm(ExtendRadiusSchema.java:178)\n at com.novell.nps.radius.ExtendRadiusSchema.execute(E xtendRadiusSchema.java:96)\n at com.novell.emframe.dev.Task.execute(Task.java:505) \n at com.novell.nps.gadgetManager.BaseGadgetInstance.pr ocessRequest(BaseGadgetInstance.java:858)\n at com.novell.nps.gadgetManager.GadgetManager.delegat eToGadget(GadgetManager.java:4256)\n at com.novell.nps.gadgetManager.LaunchService.onDeleg ateAction(LaunchService.java:86)\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)\n at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:60)\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:37)\n at java.lang.reflect.Method.invoke(Method.java:611)\n at com.novell.nps.gadgetManager.BaseGadgetInstance.ha ndleAction(BaseGadgetInstance.java:2371)\n at com.novell.nps.gadgetManager.GadgetManager.process InstanceRequest(GadgetManager.java:1609)\n at com.novell.nps.gadgetManager.GadgetManager.process ServiceRequest(GadgetManager.java:1062)\n at com.novell.nps.PortalServlet.handleFrameService(Po rtalServlet.java:509)\n at com.novell.nps.PortalServlet.processRequest(Portal Servlet.java:373)\n at com.novell.nps.PortalServlet.doPost(PortalServlet. java:279)\n at com.novell.nps.PortalServlet.doGet(PortalServlet.j ava:262)\n at javax.servlet.http.HttpServlet.service(HttpServlet .java:617)\n at com.novell.emframe.fw.servlet.AuthenticatorServlet .service(AuthenticatorServlet.java:332)\n at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)\n at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)\n at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)\n at com.novell.emframe.fw.filter.CrossScriptingFilter. doFilter(CrossScriptingFilter.java:25)\n at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)\n at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)\n at com.novell.emframe.fw.filter.AntiCsrfServletFilter .doFilter(AntiCsrfServletFilter.java:275)\n at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)\n at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)\n at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)\n at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)\n at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:530)\n at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)\n at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)\n at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)\n at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286)\n at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:190)\n at org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:291)\n at org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:769)\n at org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:698)\n at org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(ChannelSocket.java:891)\n at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:690)\n at java.lang.Thread.run(Thread.java:761)\n
    Can anyone give me an idea of what is going on here? Everything I've been able to dig up so far has dealt with schema conflict errors and ssl/tls connection issues. I don't think that is what's going on here. I am getting the same error on multiple servers with eDirectory and iManager installed. Any help is appreciated. Thank you.
    Scot

    Originally Posted by bjunker
    I am working on integrating eDirectory with FreeRADIUS on our OES 11 SP2 servers. I have been following all the steps in the "Integrating Novell eDirectory with FreeRADIUS" guide located here: https://www.netiq.com/documentation/edir_radius/. I did not have any problems installing FreeRADIUS or modifying its config files for LDAP authentication.
    I am now stuck trying to extend the eDirectory schema for radius. In iManager, I go to Roles and Tasks --> radius --> Extend Schema, and I keep getting the following error: "RADIUS plugin encountered an error. Click the Details button for more information." When I click "details" it shows the following:
    Can anyone give me an idea of what is going on here? Everything I've been able to dig up so far has dealt with schema conflict errors and ssl/tls connection issues. I don't think that is what's going on here. I am getting the same error on multiple servers with eDirectory and iManager installed. Any help is appreciated. Thank you.
    Scot
    Seems like there is a know bug for this issue, I suggest you to open a SR if you can?
    Thomas

  • Compare tables in two schemas for the table with particular column & value

    Hello All,
    I have a query to find out the list of table from a given schema to extract all the tables having a search column .
    ex :
    SELECT OWNER, TABLE_NAME, COLUMN_NAME FROM
    ALL_TAB_COLUMNS WHERE OWNER='<SCHEMA_NAME>'
    AND COLUMN_NAME='<COLUMN_NAME>'
    I want to compare two schemas for the same above query .
    Can we wirte a query on this - I am using SQL DEVELOPER , which has menu item - TOOL - database differneces to find the diffenence between two schemas but my requirement is to find the differences in two schemas for all the tables matching for a particular column ( as given in quer).
    Appreciate your help.
    thanks/Kumar
    Edited by: kumar73 on 29 Nov, 2012 1:50 PM

    Hi, Kumar,
    This is the SQL and PL/SQL forum. If you have a question about SQL Developer, then the SQL Developer is a better place to post it. Mark this thread as "Answered" before starting another thread for the same question.
    If SQL Developer has a tool for doing what you want, don't waste your time trying to devise a SQL solution. The SQL Developer way will probably be simpler, more efficient and more reliable.
    If you do need to try a SQL solution, then post some sample data (CREATE TABLE and INSERT statements for a table that resembles all_tab_columns; you can call it my_tab_columns) and the results you want from that data.

  • RELAX NG or Schematron schemas for Pages XML file format?

    Hey, I have been following with interest for over a year - more like two years - the whole "where are the XML schemas" for Keynote 1, and then Pages and Keynote 2.
    Apparently there is some difficulty obtaining them and I would guess that means defining them. Because if Apple had their hands on them, they would be out - and up to date - by now.
    XML Schema (.xsd) files are pretty painful to generate. There is a much simpler and and yet even more powerful schema format called "Relax NG". Assuming someone knows what the grammar is that Pages will willingly/successfully slurp up - they could probably create a .rnc file from scratch pretty quickly. The learning curve is pretty short for basic stuff and the amount of typing required is at least 40% less than when you create a .xsd file.
    Some things do not lend themselves to grammar based schemas like XSD, RNG, or RNC.
    Instead, a rule based schema language works better. Schematron is very good for this. The suffix for this file type is ".sch". The web site is easy to get to - just type schematron in your web browser's address field and press enter. Specs are all there.
    There is a program called Examplotron that creates a Schematron schema for you, given an XML file that is a sample. Of course, making rules from one example is not the same as knowing all the rules. The more different kinds of stuff you have in the file though, the better your chances are of getting a decent start going. Examplotron lives on the web at examplotron.org in case you are curious.
    OxygenXML is a very, very good XML editor and schema development environment. I have used it and a bunch of others. It is my favorite, by far.
    Someone at Apple should get on this. If it is too hard to create an XML Schema file - then please, please - try to create an RNG, RNC, or SCH file.
    If Apple cannot do it, then perhaps the user community could take a crack at it. However, it is a little bit like trying to document the laws of a country by watching what the government people do, what people do who do not get arrested, and what people do who do get arrested.
    You are not certain to see an example of every law being broken - for starters, so you will miss some. (One hopes you will not see every law that exists broken!)
    You are also not going to be able to tell what laws have influenced behavior that is lawful.
    So, for both reasons, you might unwittingly "break the laws" of this hypothetical land. In that case, you might be executed, fined, imprisoned, or as is the case still in some countries - have your hand chopped off!
    In the case of feeding a file based on mistaken assuptions to Pages, it certainly will not do what you want it do do. In theory, it might even crash, lose some data, pop up an error - or worse maybe not pop up an error, or corrupt its internal structures and become unstable. Or seem to work but fail to write the whole file out again. Or write out something that it cannot read in again - or does not reconstitute into the document that you used to have.
    Granted, there is a brute force technique that can be employed. You can write an AppleScript that gets pages to create a document that exercises every possible style and feature and logical ordering and nesting of things.
    Then you can study the XML that generates, or even feed to to Examplotron or a DTD generator.
    Doing so would probably be a way to get a good start going.
    Without any schema, there is no way to know if a complex program-generated Pages document will work right with pages.
    Granted, such program-generated documents can be generated with Applescripts. But if one already has some XML that one wants to blend in, for example - then it would be better to do it with XSLT. Or Java. Or whatever.
    Unfortunately, you really have to know what XML is legal in pages - and you have to know the grammar or rules for what Pages expects.
    So, any XSD coming from Apple in the near future - or any interest at Apple in completing a .rnc or .rng schema if it gets mostly done by customer(s) and then handed off to Apple to finish?

    XML converter (an add on to Inbound Refinery) could be used to display the contents with your XSLT choices but analyzing the file to prevent checkin would take data validation that would be custom. The CS does not care the file format or file type for checkin. Others have looked for analysis of file extension to stop checkin of certain extensions. This has been custom. I think there may be enhancement requests from customers for this kind of validation for the CS but it does not exist in the core yet.

  • Exception  thrown while creating the schema for FOD. please help.

    I couldn't run the schema for the FOD demo application. when I follow the steps, I get some exception during the database create part.
    From the File menu, choose Open. Open the workspace c:\temp\Infrastructure\infrastructure.jws.
    ( I edited the build.properties with correct values)
    In the MasterBuildScript project, select the build.xml file. In the Structure window, right-click the refreshSchema target and choose Run Target "refreshSchema."
    refreshSchema:
    [sql] Feb 13, 2008 4:44:54 PM oracle.jdbc.driver.OracleDriver registerMBeans
    [sql] SEVERE: Found Oracle Apps MBeanServer but the getMBeanServer method threw an exception.
    [sql] java.lang.reflect.InvocationTargetException
    [sql]      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [sql]      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    [sql]      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [sql]      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    [sql]      at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:274)
    [sql]      at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:224)
    [sql]      at java.security.AccessController.doPrivileged(Native Method)
    [sql]      at oracle.jdbc.driver.OracleDriver.<clinit>(OracleDriver.java:220)
    [sql]      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [sql]      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    [sql]      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [sql]      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    [sql]      at java.lang.Class.newInstance0(Class.java:350)
    [sql]      at java.lang.Class.newInstance(Class.java:303)
    [sql]      at org.apache.tools.ant.taskdefs.JDBCTask.getDriver(JDBCTask.java:364)
    [sql]      at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:304)
    [sql]      at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:346)
    [sql]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [sql]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [sql]      at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    [sql]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [sql]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [sql]      at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
    [sql]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [sql]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [sql]      at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    [sql]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [sql]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [sql]      at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
    [sql]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [sql]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [sql]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [sql]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [sql]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [sql]      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    [sql]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [sql]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    [sql]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [sql]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [sql]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [sql]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [sql]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [sql]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [sql]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [sql]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [sql]      at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [sql]      at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [sql]      at org.apache.tools.ant.Main.start(Main.java:150)
    [sql]      at org.apache.tools.ant.Main.main(Main.java:240)
    [sql] Caused by: java.lang.ClassNotFoundException: oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl
    [sql]      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    [sql]      at java.security.AccessController.doPrivileged(Native Method)
    [sql]      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [sql]      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    [sql]      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    [sql]      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    [sql]      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    [sql]      at java.lang.Class.forName0(Native Method)
    [sql]      at java.lang.Class.forName(Class.java:242)
    [sql]      at oracle.as.jmx.framework.PortableMBeanFactory.init(PortableMBeanFactory.java:1687)
    [sql]      at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:156)
    [sql]      at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:164)
    [sql]      ... 49 more
    [sql] Executing file: C:\temp\Infrastructure\DBSchema\Scripts\SQLRunner56601127.sql
    [sql] 11 of 11 SQL statements executed successfully
    Message was edited by:
    user620063

    Hi,
    please post this to the JDeveloper 11 forum
    JDeveloper and OC4J 11g Technology Preview
    Frank

  • Order Entry Schema for 10G Express Edition

    I cannot find the schemas for the tutorial Order Entry - I did find the 8i version from several years ago but they do not seem to work - Where can I find the SQL script for installing OE schemas for 10G Express Edition
    Thanks

    Thanks - but this document only points to PDF installation instructions - the only physical sql script files I can find for Schema (OE) are for 8i and they do not seem to work - I know that the 10G database and 9i ship with them but I am using XE - I also tried to download the companion disk for 10g (where they say these schemas are located) and could not find the scripts. This has taken so long to figure out.

  • HANA eFashion Schemas for Training the team

    Dear HANA friends,
    Using the System user, we already created the 'efashion' project, starting with 'efashion_create_schema.sql.'
    We are starting the training to the wider team, and idea is if the we create test users, say test1, test2... testn, and all get the "same" sql file.
    Question is, will it create a new 'efashion' schema for every user, and thus a good idea for wholistic training (from schema creation to views, to reports) ? Or a one schema name in one database will prevail, so running the same schema creation sql will overwrite it, even if ran by different users?
    Regards
    Manish Madhav

    Hello,
    actually this is covered by SAP HANA Pocketbook itself...
    (I hope I do not have old version)
    see on page 11 - 2.2 Create The E-Fashion Tables In the SAP In-memory Database
    Modify the CREATE COLUMN TABLE statements according to your schema name. For example:
    CREATE COLUMN TABLE <u201DSCHEMA_NAMEu201D>.u201CSHOP_FACTSu201D
    could become
    CREATE COLUMN TABLE u201DMY_EFASHIONu201D.u201CSHOP_FACTSu201D
    see on page 17 - step 8. Save all views
    there is attribute view on image with package "i826871-efashion"..
    What you can do is to make rule that:
    User:         TRAININGNN
    Schema:    efashonNN
    Package:   efashionNN
    Where NN is number of user. Every user then will need to always use HIS schema for tables and HIS package for views.
    Tomas

  • Multiple star or snow flake schema for universe

    Hi,
    I would like to know following things
    1. Can we use more than one star or snow flake schema for an universe? and how to do this?
    2. Using multiple shemas for one universe is it good practice or not?
    Regards,
    Manjunath

    Manjunath,
    This is exactly where BusinessObjects excels.
    When dealing with multiple fact tables, you use contexts.
    Contexts are very simple to understand and you must take your time to do so if you are going to successfully develop universes based on more than one fact table. No matter what universe you build, the rule for contexts is always the same; there are no different circumstances based on, say, industry.
    Each context starts with a base table, typically a fact table, where all its joins are at the many end of the relationship. The joins are then followed out through the joined tables up other joins where they in turn are at the many end, as in a snowflake schema.
    For example, consider the very basic schema below:
    D1 -< D2 -< F1 >- D3 -< F2 >- D4
    There are two tables that only have many joins attached to them - F1 and F2.
    Starting with F1, I can move to D2. I can also move from there to D1. In the other direction, I can move from F1 to D3. However, I cannot move from D3 to F2 because the join cardinalities are in the wrong direction. So, I've found all the joins that belong in the first context. They are D1-D2, D2-F1 and F1-D3. By the same process, I will get to the second context containing joins D3-F2 and F2-D4.
    It doesn't work well with many-to-many joins, but you really shouldn't be facing these in a well-designed multi-star.
    As for one-to-one joins, set the cardinality as one-to-many in the direction that you know the relationship should be in for the ownership to work out correctly..
    The process that I've described above is essentially how the Detect Contexts algorithm works.
    The only remaining thing for you to read up on is the SQL parameters but essentially you need ot be able to select multiple contexts and generate multiple sql statements for each context. Otherwise, what's the point in defining them?!!
    Hope that clears it up for you.
    Regards,
    Mark

  • Flex Config File DTDs or Schemas

    I am writing a basic application to test Flex integration
    with Java objects, and after solving a bunch of deployment errors,
    I am happy to say I am finding no errors on deployment anymore. The
    application, however, still doesn't work because of what must be
    some undescribed configuration error.
    I have been unable to find any DTDs or schemas that pertain
    to any of the following files:
    flex-config.xml
    data-management-config.xml
    flex-webtier-config.xml
    remoting-config.xml
    services-config.xml
    mxml-manifest.xml
    Putting aside my disappointment that I need all these files
    for a Flex-Java application that couldn't get any simpler, I would
    appreciate any insight into these files.
    Thanks.

    Ok, I solved it by myself
    I need to add the following codes when calling the Compiler
    API
    Configuration conf = application.getDefaultConfiguration();
    conf.setToken("flexlib", "path to the frameworks")
    applicaiton.setConfiguration(conf);
    Then it solved the problem

  • Business place for different states

    Hi Gurus,
    Can projects situated in the two different states have same business place? For direct tax it males no effect  under vat it may have impact.What is the sap guidelines on the same.
    Regards
    Bhaskar

    Hi
    If you refering to India, Business place is mainly required for TDS (like TAN numbers). If you need to deduct tax at source from  multiple locations and generate separate reports for the same then it is required otherwise not.
    Anand

  • Invalid parsing schema for current workspace ID

    I have an application that captures different SQL statements (they make use of DB links) and dynamically executes them on demand.
    I use apex collections to get the result rows for the SQL and use them to both query on the UI as well as send out emails using the returned data. This is all OK and works fine.
    I then added another feature to my application where I support the scheduling of the running the SQL / sending out of the emails. It uses the same logic as I use from within the application but it fails with the following error ...
    Invalid parsing schema for current workspace ID
    when the SQL is being used to populate the collection.
    The scheduling is done using the apex plsql job scheduling package. It's as though the context that the job is running in is different from that of the application I created. The strange thing is that it can still see my tables that I created as the queries return data from my tables but for some reason seems to have an issue with the use of apex collections.
    Any ideas or suggestions would be greatly appreciated.

    Scott,
    Today the error mentioned in the last post occurred 3 times - the highest number in a single day yet. Also, to add to the dilemma, a new one occurred:
    ORA-20104: create_collection_from_query_b Error:ORA-20101: Application collection exists
    Knowing that the create collection process is called from a post authentication process I don't see how that the collection could exist for that session... Any ideas?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • XSL vs CFML for conditional statements

    I want to use a server side transformation of an XML document
    using XSL to produce a set of HTML, Doc and PDF documents. However,
    I need to do some conditional processing (mainly if then formating
    issues for cases of null data) and I am wondering if I am better
    off doing them in XSL or in CFML. Does any one know of performance
    issues versus one way or another or can point me to some
    literature?

    The XSQL Pages framework has never had an <xsql:if> conditional as a built-in action, so the article must be in error.Actually, the article (written by members of the Oracle XML Product Development Team) refers to the use of "<xsl:if>" within XSQL pages, not "<xsql:if>". Here's the excerpt from the article at the site http://www.oracle.com/oramag/oracle/01-jan/index.html?o11xml.html -
    Support for XSLT Tags in XSQL
    Oracle XSQL pages are templates that enable you to assemble dynamic XML datapages based on one or more parameterized SQL queries. The processor then uses XSLT to transform the datapage to produce a final result in any desired XML, HTML, or text-based format. However, you can also use XSLT to assemble the XML datapages. For example, you can use XSLT to execute SQL queries conditionally by using <xsl:choose> or <xsl:if>. The following XSQL page shows the use of xsl:if to retrieve a summary or detailed information on the book list:
    <?xml version="1.0"?>
    <xsql:query connection="demo" xmlns:xsql="urn:oracle-xsql"
    xmlns:xsl="http://www.w3.org/1999/XSL /Transform">
    <xsl:if test="$detail = 'yes'">
    SELECT * FROM scott.BookList
    </xsl:if>
    <xsl:if test="$detail = 'no'">
    SELECT Title, Authorname FROM scott.BookList</xsql:query>
    </xsl:if>
    </xsql:query>
    I'm just looking for clarification whether this is in fact true.
    Thanks,
    Michael
    The Online XSQL Documentation features examples illustrating how to accomplish this functionality. See the doc there, and search for "XSQL Servlet Conditional Statements".

Maybe you are looking for

  • Hi How to generate vendor specific application file I am using Weblogic9.0

    Hi I have a scenario like XI->J2EE application. For my J2EE application am using Weblogic9.0 can anyone tell me how to generate weblogic specific XML, which i will use to deploy on application server. I am n newbie to Weblogic server9.0 Thanks

  • Authentication against users in a table

    I am somewhat familiar with JAZN authentication but here is what I need to do and would GREATLY appreciate as much details as you can provide: Say, I have a table USERS(USER_ID, NAME, ...) and several other tables in the DB. Let's say I have another

  • Installation-hokiebill

    I bought ADOBE PHOTOSHOP ELEMENTS 10. I am installing on (HP pc) windows Vista 64 bit.There are 3 installation discs in the package. I installed disc 1 of 3. No problem.Do i also install 2 and 3?

  • How do I migrate external drive without wiping Time machine?

    I bought a new external drive that is a bigger for all my media files. I back them up via time machine. I don't want time machine to treat this new drive as new files because that'll waste all the space in the time machine drive. How do I tell time m

  • Ichat video conference problem

    hello i am having a video conference problems when i try either the quailty is bad or the person that i am tryin to view camera is very blurry to the point i cant tell what it is has anyone has this problem or know how to fix it thanks