Physical architecture with XML type

Hello

I have the following arquives:

-products.dtd
-file products.xml

driver jdbc: com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
driver jdbc url: jdbc:snps:xml?f=C:/XSD_ODI_ATG/produtos.xml & d=C:/XSD_ODI_ATG/produtos.dtd & re = gsa-model & s = ODI


content of my product.dtd:

<? XML version = "1.0" encoding = "UTF-8"? >
<! - generated by product.xml by XMLBuddy - >
<! Add an ELEMENT element (the property-value +) >
<! ATTLIST add element
ID ID #REQUIRED
point-descriptor (catalog | catalogFolder | category | file | external media: product | sku) #REQUIRED >
<! GSA-model ELEMENT (import-items) >
<! Import items (add item +) >
<! Set-property of the ITEM (#PCDATA) >
<! ATTLIST NMTOKEN #REQUIRED set property name >



my product.xml file content:

<? XML version = "1.0" encoding = "UTF-8"? >
<! DOCTYPE gsa-model SYSTEM "produtos.dtd" >
< gsa-model >
< import-objects >
< add an element id = "m2231" point-descriptor 'product' = >
< set = "childItems" property name > text < / property set >
< / add item >
< / import-objects >
< / gsa-model >


When I try to create the physical architecture to ODI, it returns an error:

java.sql.SQLException: no root not found in the DTD file

WHAT IS THE CORRECT ROOT ELEMENT?

Any help is appreciated
To infinity and beyond

Daniel

Published by: danielm on January 5, 2012 17:39

A XML file structure is not linear, and cannot therefore be shaped into 'a' product table.
The way that reverse ODI is that it creates a table for each element. and that's why you see 4 tables (one per element).

childItems is the value of the attribute 'name' of the element "set_property".
So, once you get the data inside the database, you will see this in the NAME column.

HTH

Tags: Business Intelligence

Similar Questions

  • Limitations of architecture with replication of VM with physical RDM Mode

    What are the Limitations of Architecture with replication of VM connected with physical RDM Mode in vsphere replication. Why VMware does not support this?

    I will add some colors to the response of GS. A particular interest with regard to the physical path RDM (pRDM) works, summarize these two chips of the article:

    • Physical mode specifies minimal virtualization SCSI of the mapped device, allowing greater flexibility for SAN management software.
    • VMkernel passes all SCSI commands to the device, with one exception - the REPORT LUNS command is virtualized, so that the VMkernel can isolate the LUN to the virtual machine owner. Otherwise, all the physical characteristics of the underlying hardware are exposed.

    There is an integrated in vSphere vSphere (RV) replication agent that has several functions. In particular, she keeps track of the Scriptures to the virtual machine. When a replication cycle occurs, the changed data is replicated to the target location. The VR agent should be able to 'see' These Scriptures to follow. Given that the physical mode all SCSI commands directly to the device, the VR agent is unable to follow these changes for replication.

  • XMLTYPE with record type

    Hi friends,

    Is it possible to use XMLTYPE with record types?

    For example, in the following code I expect output voltage

    < TY_EMP > < > 1001 EMPNO < / EMPNO > < ADAMS ENAME > < / ENAME > < SAL > 5000 < / SAL > < TASK MANAGER > < / JOB > < / TY_EMP >

    The code is...

    DECLARE

    Ty_emp RECORD TYPE IS

    (

    EmpNo INTEGER

    , ename VARCHAR2 (100)

    NUMBER of sal

    , VARCHAR2 (100) employment

    );

    r_emp ty_emp;

    BEGIN

    r_emp.EmpNo: = 1001;

    r_emp. Ename: = "Adams";

    r_emp. SAL: = 5000;

    r_emp.job: = "MANAGER";

    -This line gives the error.

    dbms_output.put_line (XmlType (r_emp). GETSTRINGVAL()); -Here, I don't want to talk about all the fields in the record. I just need to specify the name of the record.

    END;

    p.s. to use object types to generate XML data...

    SQL > ed
    A written file afiedt.buf

    1 TYPE to CREATE or REPLACE ty_emp () AS OBJECT
    2 empno INTEGER
    3, ename VARCHAR2 (100)
    4, NUMBER of sal
    5, job VARCHAR2 (100)
    6*   );
    SQL > /.

    Type of creation.

    SQL > ed
    A written file afiedt.buf

    1 DECLARE
    2 r_emp ty_emp: = new ty_emp (null, null, null, null);
    3 BEGIN
    4 r_emp.empno: = 1001;
    r_emp.ename 5: = "Adams";
    6 r_emp.sal: = 5000;
    7 r_emp.job: = "MANAGER";
    8 dbms_output.put_line (XMLTYPE (r_emp) .getstringval ());
    9 * END;
    SQL > /.
    1001 Adams 5000 MANAGER

    PL/SQL procedure successfully completed.

    SQL >

  • We can display physical Agent in slot name physical Architecture &gt; Agents node

    Hello

    I am successfully able to connect to a stand-alone odi agent that is installed in an another m/c(other than ODI Server m/c). Can I use any name (for the name parameter) for the physical agent to be created under "physical Architecture > Agents node?

    Please answer
    Thank you
    Sébastien

    The test passes if you have an agent started on the same host with the same port, regardless of its name.
    But in order to start an agent, it must be entered in the (eponymous) topology.

  • Query on the physical Architecture, the logical Architecture and model

    Hi Experts,
    I have a confusion regarding the physical, logical and model Architecture Architecture. Please tell me what type of information or data, these three above hold.
    Thank you

    Physical architecture contains information about the physical configuration of your environment e.g. nameservers, jdbc, usernames, passwords etc connection strings

    The logical architecture provides an abstraction layer that allows to group by similar contexts of physical architecture components that reside in different locations/environments.

    Patterns are reversed representations of objects in your physical architecture that is tables, flat files, etc. The models are used as sources and targets in your UI design

  • Works with different types of vector

    So, I'm working on ways to work with vectors. So if I have a method that makes things with vectors and returns a new vector

    function intersection(v1:Vector.<XML>,v2:Vector.<XML):Vector. < XML > {}

    var result: vector. < XML > = new Vector. < XML >

    understand which elements are in the two vectors and in the result

    return the result;

    }

    For the moment, I work with XMLs vectors, but what happens if I wanted to do this with strings or Sprites or something like?

    I do a different function to each manage? Or is there a way writing that he accepts any type of vector and return one of the same?

    Yes, it'll always be the case for a function that returns a * data type and you are implicitly that casting as a specific data type.  It doesn't matter whether you use specific vector data types or any other type of data.  the compiler using strict is always going to show an error.

    explicitly cast your value returned (as has) or not to use the compiler in strict mode.

  • Dynamic physical architecture

    Hi all

    I wonder if it is possible to have a dynamic physical architecture...

    I have a global framework of ODI, which asks some flat files and (especially) reads/writes to these by using a variety of interfaces. The names (and the location (directory)) flat files are stored as variables (excerpts from a table.) Information on the location of the files, so is located in two places: 1) in variables and 2) in the physical architecture.

    I would like to have the location information stored in the variables only and dynamically assigned to the physical architecture, so that I can get applications and users to change the location.

    Is this possible? In other words, the pointer of the physical architecture of a flat file can be represented as a variable (# < PROJECTNAME >. < directory >)? If so, what would the pointer is resolved and that, if the concerned are the constraints?

    Moreover, the pointers to the physical architecture can be left empty, and the resolution of the entire case is possible in a variable (in the interface)? In other words, the question of the physical architecture can be returned to a point where it is resolved by executing the interface.

    Here is an example...

    I want to access a file, X.JNK, stored in the C:\MYDIR directory on the host A.

    Today the physical architecture to C:\MYDIR points and the interface ID identifies X.JNK (like a variable < PROJECTNAME >. < Filename >, for example #MYPROJ.) JUNKFILE = X.JNK).

    The directory is also stored in a variable (such as < PROJNAME > < DIRECTORY >, for example #MYPROJ.) JUNKDIRECTORY = C:\MYDIR), and so the "complete" for the file address is:

    # < PROJENAME > < DIRECTORY >------# < PROJNAME > < DIRECTORY > =

    #MYPROJ. JUNKDIRECTORY\ #MYPROJ. JUNKDIRECTORY =

    C:\MYDIR\X.JNK

    Being given that the installation, can the physical architecture be left blank (except for the information of the host) and the interface is running with #MYPROJ. JUNKDIRECTORY\ #MYPROJ. JUNKDIRECTORY?

    Best,

    pajacobsen

    You propose the solution #1, i.e. the registration of a name of variable in the drop-down list boxes ("directory (schema) ': ' and ' directory (scheme of work): '") in the entrance of the physical architecture.

    Fix? Yes

    In addition, you are proposing, for reasons of convenience, that the variable must be comprehensive

    Fix? Yes, I use a Global Variable.

    If so, have you tried and it works?

    Yes it works.

    Please close the message, if your problem is solved and mark the helpful answer or response accordingly.

  • Help with XML - LIKE 3.0

    Hello everyone. I decided to start working with XML, because it allows me to load assets outside and more later very easily edit my applications without having to modify the fla itself. So, today, I looked at and read a few tutorials and now I am trying to build a Scroll event, throughout the XML and HAVE 3.0. Basically, what I want is to have several events within a movieclip that I fit in a scroll pane when I finished, because now I will focus on the extraction of data from the XML file, and he analyzes with AS 3.0. The layout is simple: a thumbnail image on the left and next to it on the right, there is the event title, date, and some info on this and it should have a dark gray background while the text is white. Each two events are apart 30 pixels and there are 5 events for now.

    OK, enough talking now let's make the code:

    XML code:

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

    < EVENTSXML >

    < EVENT >

    < TITLE > event 1 < /title >

    < DATE > 04/12/2009 < / DATE >

    thumb0.jpg < GO > < / INCH >

    < INFO > text goes here < / INFO >

    < / EVENT >

    < EVENT >

    < TITLE > event 2 < /title >

    < DATE > 02/03/2009 < / DATE >

    thumb1.jpg < GO > < / INCH >

    < INFO > text goes here < / INFO >

    < / EVENT >

    < EVENT >

    < TITLE > event 3 < / TITLE >

    < DATE > 18/11/2008 < / DATE >

    thumb2.jpg < GO > < / INCH >

    < INFO > text goes here < / INFO >

    < / EVENT >

    < EVENT >

    < TITLE > event 4 < /title >

    < DATE > 09/10/2008 < / DATE >

    thumb3.jpg < GO > < / INCH >

    < INFO > text goes here < / INFO >

    < / EVENT >

    < EVENT >

    < TITLE > 5 < /title > event

    < DATE > 08/06/2008 < / DATE >

    thumb4.jpg < GO > < / INCH >

    < INFO > text goes here < / INFO >

    < / EVENT >

    < / EVENTSXML >

    ActionScript 3.0:

    var myXML:XML;

    var req:URLRequest = new URLRequest ("events.xml");

    var ldr:URLLoader = new URLLoader();

    LDR. Load (req);

    ldr.contentLoaderInfo.addEventListener (Event.COMPLETE, processXML);

    function processXML(e:Event):void

    {

    myXML = new XML (e.target.data);

    buildEvents (myXML.EVENT);

    }

    var eventScroll:MovieClip = new MovieClip();

    var padding: Number = 30;

    this.addChild (eventScroll);

    eventScroll.x = eventScroll.y = padding;

    function buildEvents(evnts:XMLList):void

    {

    for (var i: uint = 0; i < evnts.length (); i ++) {}

    var eventData:MovieClip = new MovieClip();

    eventData.y = (20 + padding) * i;

    eventData.itemNum = i;

    eventData.title = events [i]. TITLE;

    eventData.date = events [i]. DATE;

    eventData.thumb = events [i]. THE THUMB;

    eventData.info = events [i] .INFO;

    / / thumb container

    thisThumb:Sprite = new Sprite();

    var ldr:Loader = new Loader()

    var req:URLRequest = new URLRequest (eventData.thumb);

    ldr.load (req);

    thisThumb.addChild (ldr);

    eventData.addChild (thisThumb);

    eventScroll.addChild (eventData);

         }

    }

    now I'm stuck here... demand is not yet done, and when I publish the file I get errors, are errors:

    1067: constraint implied a value of type flash.display:Sprite to a type unrelated to class.

    Source: thisThumb:Sprite = new Sprite();


    1188: illegal assignment to the Sprite class.

    Source: thisThumb:Sprite = new Sprite();


    1120: access of undefined property thisThumb.

    Source: thisThumb.addChild (ldr);


    1120: access of undefined property thisThumb.

    Source: eventData.addChild (thisThumb);


    1119: access of possibly undefined property contentLoaderInfo via a reference with flash .net: URLLoader of static type.

    Source: ldr.contentLoaderInfo.addEventListener (Event.COMPLETE, processXML);

    So where did I go wrong turn and how can I carry on with my code at the end of my application?

    PS: I don't want someone to do it for me, so in case someone decided to help me, please comment and explain your code because this application is for in the first place porpuses learning... Thanks in advance!

    infoF.wordWrap = true;

  • Recovery of xpath in any service of xml type

    Hello

    We have a type xml service proxy that receives 2 different types of XML messages. In one of the XML messages, we need to branch out depending on value of certain elements.

    But xpath doesn't seem to work. XPath recovered using messaging type service is:

    * $body / ref:ONIXMessage/ref:Product/ref:RecordSourceType/text() *.

    XPath works with the type of messaging service.

    But when even has been used in any service of type xml, ALSB unable to identify the area names and therefore the XPath has been changed to:

    * $body / ONIXMessage / Product/RecordSourceType/text () *.

    But it does not return anything.

    Any idea on how to get the data to xpath?

    Thank you.

    Arti

    Have you tried the * wild-card?

    Something like this:

    $body / *: ONIXMessage / *:Product/*:RecordSourceType/text()

    Hope that helps

  • Firefox crashes in typing or by clicking check box or the radio button, even with all the plugins / extensions removed. Check with many types of malware scanners.

    Firefox crashes in typing or by clicking check box or the radio button, even with all the plugins / extensions disabled, then deleted. Sometimes it hangs for five minutes. I checked the PC with several types of scanners of evil-ware, but none to be found. All hidden and deleted cookies, all DELETED & extension plugins. Remove all instances of Firefox PC and registry, then restored to bookmarks. The only thing that I did not is to remove and reinstall not my favorites.
    Windows Vista (yes I know) and FF 13.0.1

    Try disabling hardware acceleration in Firefox.

  • LabVIEW:EXE generates the error 1003 calling plugin with the type definition

    Hi all

    I am running LV 2012 on a Win 7 machine. I had this same problem with LV 2011, so I'm sure that's not associated with version/upgrade.

    Go to a LV-built EXE, I try to call a dynamically loaded Subvi. I did it several times with success before, so I think I know how. I prefer to use the call by reference, but I get the error 1003 Open Ref VI (with the type specifier). If I use the type specifier, can I open the Subvi, but the State is listed as 'bad '. Then, I went to recursively through all the subVIs (~ 25 in total) and concluded that the only item with a status of 'Bad' was a type definition.

    I checked several times, several different, that all ways the subVIs (and the definition of Type 'bad') are available to the Subvi dynamics. I did that the type definition is correct. I have also made sure the subVIs are stored as .VI files in the same directory and not within an EXE file. When I try to run the VI run call node, I still get the error 1003. I checked the path that displays in the error dialog box is the exact path for the Subvi (it would be for other VI properties and methods working properly).

    Why can't I run a sub - VI loaded dynamically from an executable if it has a type (a group of 3 trails) as output parameter definition?

    I just tested an idea: rename the library from project to project A create script. Now when it loads, it does not disturb what he must internally with externally called Subvi (dynamic). It worked the first time!

  • Display problems with all types of terrain and graphic

    Hello

    I have display problems general with all types of chart, graph or plot that I try to use, on two different machines, both with NVIDIA graphics cards.  A machine is a MacBook under XP SP2 in bootcamp and the other a Dell T3400 workstation (or something similar) under XP SP3.

    I posted this thread earlier which Ben replies to the weird graphic behavior.  Ben suggested that I try to simplify my code as much as possible while keeping the bad behavior and by submitting to the NC and the forum, because it is others have had problems of graph.  I tried, but in vain.  Display problem continues and continues and continues and then they just go and I can't get back by unscrewing the last stage of reduction or simplification of code.  But at some point during the reconstruction of the code, which I cannot determine, returns the bad behavior.

    So, I was set up with graphics looking for shit, until recently, when I thought I'd try some suggestions of other messages to a XY-plot function as a graph by creating a buffer and using nodes of ownership of land for the range control.  Things seemed promising, until my "XY table" started getting shit, too.  This time, the issue was with the grid lines becomes all chopped, attached images.

    I am out of resources here.  I think I'm running out of options to display graphic data in an acceptable manner.  Do I have to display data by using an Excel chart in an ActiveX container in Labview?  I'm not skilled enough to do it again.  I like Labview, it is the only programming language that I am competent even remotely help, but it's just inferiorating.

    Any suggestions would be much appreciated.  Thanks for reading.

    -Greg

    Greg,

    is there a particular reason why you use the bar plots - view superior graphic style? Try activating the legend of the plot, go to the bar plots and select the first track of the Bar Style. Your chart is displayed very well after that.

    See you soon,.

    Cerati

  • Initialize the cluster with data types different (lots of data)

    Hello

    I have data, which are composed of different data types. First of all, I have initialize cluster with these types of data and then "print" to light (photo). In case of photo data carries 8 characters than ja 4 floats. It was easy to initialize, but here's the question: How can I do this even if I have data that look like this (interpreter):

    floating point number

    name char [32]

    Short value [16]

    What I create loooong cluster which have a fleet of 32 characters, 16 short films? Or I can create these 'paintings' in a different way?

    THX once again

    -Aa-

    I suggest using the table-cluster and configuration of the cluster size to match the size of your berries, then package these groups together.  In terms of storage of LabVIEW, there is no difference between a group of

    floating point number

    Name1 tank

    name2 tank

    ...

    short value1

    short value2

    ...

    and a bunch of

    floating point number

    -> cluster shipped from

    Name1 tank

    name2 tank

    ...

    -> cluster shipped from

    short value1

    short value2

    So you can use the cluster table to get the right sizes rather than individually create all these values in a single giant cluster.

  • What happens in Windows Mail? I can not send attachments with any type of graph.

    Unreal

    What happens in Windows Mail? I can not send attachments with any type of graph. People receiving my email with attachments receive between 60 and 70 copies. I called my provider, my safety, send the computer for a week for a Tech and no one can answer this problem for me. If I don't get this problem resolved I will never use Microsofts again e-mail programs.

    Tools | Accounts | Mail | Properties | Advanced. Uncheck the box: "Break apart messages...". ».
    If this isn't the cause, try to compact and repair the database.
     
     
     
  • I get videos from cell phones of the people with a type of file like 3GP. I need to know how to save and change the format so I can open them.

    I get videos from cell phones of the people with a type of file like 3GP. I need to know how to save and change the format so I can open them.

    Trying to convert to the. WMV format:

    There are many converters available on the net... some
    free... some detail.

    The following freeware converter is just one example:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster download)
    (the file you want to download is: > FFSetup295.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the final screens)
    (Windows XP / Vista / 7)

    First, you will need to decompress the file or just open the
    Drag > FFSetup295.exe< out="" of="" the="">
    and drop it on your desktop. To install left click.

    Next, after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck...

Maybe you are looking for

  • Can TB auto checkfor n ew mail all say 5 minutes?

    I just changed to Eudora that allowed me to set it to automatically check every five minutes or more or less. TB can do the same? I see nowhere in the tools or other settings to make.

  • Crash with CmtGetLock

    Hello I have a problem in my final application which is integrated under teststand. CVI currently plug-in, 2013. My MMI include buttons that are calling to reminders. In parallel, my app Contains 2 timers coming due all the 200ms and 100ms. In one of

  • DV6-6135dx: Beats Audio

    the HP laptop is doing well... I had to reduce some of the settings in the game in the need for speed in 2012... and its relly good after that... my Question is, is it Bass speakers?... because I can see the parameters of beats, but even if I put the

  • Bluetooth not working not not for Inspiron 15 3521

    Bluetooth doesn't work is not on my new Inspiron 15 3521. Setting up the system - Windows 7 64 bit. I put driver from Dell support, but always the same problem. He goes in search mode and nothing else. Cannot detect the laptop bluetooth (phone) devic

  • How to load a web application complete on a blackberry app

    Now, I try to build a blckberry application that allows to load the web application from its url. something like the fact of any browser. but I don't want to address or file menu bar. just a simple browser like app