XML Tutorial doesn't work

I tried the one xml tutorial listed under http://otn.oracle.com/sample_code/tutorials/xml.html and I got the error:
XMLNormalization.java:1: Package oracle.xml.parser.v2 not found in import.
import oracle.xml.parser.v2.*;
^
.\MyDocumentBuilder.java:2: Package oracle.xml.parser.v2 not found in import.
import oracle.xml.parser.v2.*;
^
.\MyDocumentBuilder.java:4: Superclass DocumentBuilder of class MyDocumentBuilde
r not found.
public class MyDocumentBuilder extends DocumentBuilder
^
3 errors
I believe the problem is that it can't find xmlparserv2.jar, which seems to be packed up in an ext directory as xmlparserv2.jar!_1076361799.ojpd. Must be some proprietary compression format. Let me know when you have something that works with java or an example that explains how to unpack your proprietary format.
Regards

Yes, you are true : the xmlparserv2.jar is missing from CLASSPATH in your environment.
If you have installed Oracle9i JDeveloper, then the xmlparserv2.jar is available at JDEV_HOME\lib\ directory.
If you are not using Oracle9i JDeveloper, then you need to download Oracle XDK for Java at location http://otn.oracle.com/software/tech/xml/xdk_java/content.html
This is specified in Required Software Section of the tutorial. After downloading the Oracle XDK (xdk_java_9_2_0_5_0.zip for windows or similar for windows), unzip/unjar the zip file.
You can find xmlparserv2.jar file as part of the unzipped version of xdk_java_9_2_0_5_0.zip or similar equivalent on Unix.
You need to embed xmlparserv2.jar as part of the CLASSPATH.
Please let me know if you need any other help.
Thanks
-- Umesh

Similar Messages

  • XML Changer doesn't work in Firefox works in Internet Explorer

    Hi
    Can anyone help me i have a XML Changer doesn't work in Firefox works in Internet Explorer.
    I have posted the page here http://www.endeavourcfl.co.nz/Venues.html as you can see my other flash files work fine, it is only the XML Changer (no pictures appear at all), it was working previously but for some reason it has stopped have tried on many computers, all plugins are up to date and i have FF versions 16 and 17

    Its working fin in latest version of Firefox. <br>
    Update your Firefox <br>
    http://www.mozilla.org/en-US/firefox/all.html
    <br><br><br>
    Please check if all your plugins are up-to-date. To do this, go to the [http://mozilla.com/plugincheck Mozilla Plugin Check site].
    Once you're there, the site will check if all your plugins have the latest versions.
    If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
    To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.

  • Copy XML data out of event.result to a XML var doesn't work

    So I'm pretty new to Flex, but learning with the help of a few books. I'm totally stumped here though, as I"m copying an example right out of The Flex 3 Bible and its not working the way I thin it should. My code is below. Here is my problem. I'm reading in an XML from a php script. Works fine. In Debug I can tell the event.result is getting the XML as it should. In the resultHandler I'm trying to copy it to a variable I assigned called myCollection. This is just not occuring for some reason. If I look at the variable in debug, its null. following that i"m trying to take innertags and get them out (myCollection.trumpet.settings). Of course this doesn't work because myCollection is populated with nothing. This came right out of an example on page 654... I've been bangging my head against the wall for hours. any help on how to copy this data out of event.result would be great.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
      <![CDATA[
       import mx.rpc.events.ResultEvent;
       import mx.collections.ArrayCollection;
       [Bindable]
       private var myCollection:XML;
       private var xReturn:Object;
       private function resultHandler(event:ResultEvent):void
        myCollection = event.result as XML;
           xReturn = myCollection.trumpet.setting;
       // textbox.text = myCollection;
      ]]>
    </mx:Script>
        <mx:HTTPService id="myService" url="http://10.101.50.60/get_config.php"
            method="POST" showBusyCursor="true" result="resultHandler(event)"/>
        <mx:VBox left="25" top="25">
            <mx:Button label="Get Data" click="myService.send()"/>
      <mx:Label id="textbox">
      </mx:Label>      
    <!--       <mx:DataGrid id="myGrid" dataProvider="{myCollection}"/>-->
        </mx:VBox>
    </mx:Application>

    Try setting resultFormat="e4x" in the HTTPService.

  • Problems with building web services - tutorial doesn't work

    I've been going through this tutorial from technet.oracle.com -
    trying to deploy the example stateless session bean service.
    First problem comes when running the deploy command -
    java -jar <j2ee_home>/admin.jar ormi://<host> <uid> <pwd> -deploy -file ejbws.ear -deploymentName ejbws.
    This command fails insisting that it can't find application.xml (even though it is clearly in the .ear file).
    Got around this by manually editing the server.xml file and bouncing OC4J. Then did the bind command. The first steps of compiling and running the client application then worked fine - I could see the .wsdl file and download the proxy jar.
    But when I came to actually run the client I got the error:
    Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu
    pported response content type "text/html", must be: "text/xml". Response was:
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>oracle.j2ee.xanadu.JasperGenerationError: no source generated during code generation!: error: I/O error in UrlBridge to: file:E:\ORACLE\j2ee\home\application-deployments\ejbws\ejbws\temp\__session_bean_rpc\Hello.class.<br>binary class definition not found: Hello
    By manually copying the Hello.class file into the __session_bean_rpc directory I was able to get the example to run.
    But how do I get it do deploy correctly in the first place????
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    I ran into the EXACT same problem described by Tracy, and I assembled my .ear file manually.
    According the error message, it would appear that the server is looking for the EJB remote interface in the ../temp/__session_bean_rpc directory when it is trying to generate its session bean wrapper class. As Tracy notes, when the file Hello.class is copied into the directory, the problem goes away. Furthermore, once the wrapper class has been generated, Hello.class is no longer needed and can be deleted from the directory.
    Better still, I found a way to deploy the web services web module and make the error go away. I created the ejbws.war file with a copy of the remote interface Hello.class in the WEB-INF/classes directory. This makes the class available when the wrapper class is generated.
    The WebServicesAssembler tool doesn't copy the EJB remote interfaces into the .war web module, which would appear to be
    necessary.
    Hope this helps.

  • Using dataTemplate on standalone XML Publisher doesn't work?

    Hi guys, I'm using standalone XML Publisher. I created a report based on the next Data Template:
    <dataTemplate name="BasicQueryDT" description="Simple query data template" dataSourceRef="rec_hum">
         <dataQuery>
              <sqlStatement name="basicQuery">
                   <![CDATA[
             select to_char(sysdate, 'dd/mm/yyyy') today
             from   dual
          ]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="G_Main" source="basicQuery">
                   <element name="TheDate" value="today"/>
              </group>
         </dataStructure>
    </dataTemplate>Then I defined a RTF template to display the results, I used the Word Template Builder for this. The template is very simple and it is just a one column table with these place holders:
    <?for-each:G_Main?> <?TheDate?><?end for-each?>But when I run the report it shows nothing, just the header of the table. I know the query is executed because if I place a syntax error into the query I can see the java.sql.Exception on the XMLPSERVER console (I'm running it local by now).
    Can someone help me and point out what I'm doing wrong here?
    I'd really appreciate it.
    Thank you all.
    Mensaje editado por:
    Fer Domin

    Just run the XML first without a template, you get:
    <BasicQueryDT>
         <LIST_G_MAIN>
         <G_MAIN>
    <THEDATE>12/06/2006</THEDATE>
    </G_MAIN>
    </LIST_G_MAIN>
    </BasicQueryDT>
    Per default we always the generate Upper Case field names. So <?THEDATE?> should work in the template.
    Thanks,
    Klaus

  • XML Output doesn't work

    Hi everyone, im a newer in using BI Publisher, so when I create the Data Model then save and click Get XML Output, it's not work( just blank window is appear, what's wrong with it?

    are you sure that your query is correct ?
    or may be no data for query for some values of parameters ?

  • XML Import doesn't work...

    After watching Sountrack Pro reset all my compresors on export, and runing the mix, I tried an xml export from Final Cut Pro. After a half an hour and two crash outs -NO GOOD.
    It maybe was a Quicktime 7.2 error - who knows.
    It opened the XML and it asked to set Logic at 48K and said I had 2 files that were 44.1K which I didn't. I said OK, and it started up and started converting two DV captures that were about 30 minutes each. (Both where 48k already)
    Then I got an "out of memory message" and the converstions kept processing --( I have 5 gigs of main memory and was on a 700gig drive - yeah ok.)
    I finally cliked OK on the out of memory warning and it gave me about 30 more in a row when I gave up and shut down the program.
    I tried opeing it a different way, setting 48k myself, it never did anything but have the same fit.
    I just had a WMV encoder give false data rate info from a Quicktime file, it was not Quicktime 7.2 compatable, they had an upgrade - so anyway - this is so fun... like dropping barbells on your foot.. Why mix when you can debug..
    XML -- Good Luck!

    Hi,
    I've been trying to do some XML export. It does work fine even if in the import process with Logic it won't take into account the first audio channels. It does import music so far. So I need to check if I change the channel settings what goes on anyway.
    We want to do a mix out of Final Cut Pro with a Tascam DM-4800. It won't work fine with soundtrack even if I didn't try yet the 2.02 version. I may try tomorrow anyway.
    I'm going to make some new tries and let you know.

  • XML Component doesn't work (size limitation)

    Hello,
    I'm having problems with "large" XML documents in the XML Component. I have a XML document with 6 records, that fails with the following error:
    ORA-24345: A Truncation or null fetch error occurred
    If I cut the XML document down to 5 records it displays the output just fine. This definetly looks like a bug. I've cut and pasted this XML document into the "XML Code" section, and had it loaded via a URL in the "XML URL". Still I have the same problem.
    I looked at the code, and I noticed that the size for the variables in which to get the XML/XSL+DTD code retrieved into, is hard coded at 32767. Although this doesn't seem to be the source of my problem, 32767 is just too small for XML documents. Is there a patch for this problem, or do I just have to wait to the next release?

    I have the latest version that comes with 1.0.2.1 which is 3.0.8.
    The size of the file that I'm using is approximately 17K.
    I know that there are other ways of displaying XML with XSL, but unfortunatly, Netscape is what we currently use, so XML and XSL don't display easily.
    I'd like to know if this will be fixed in the next release or whether a patch will eventually be available. I was also wondering if there is date or approximation of when it will be fixed. I appreciate you taking the time to answer me.

  • Association Rule Tutorial Doesn't Work

    Dear All,
    I couldn't run Assocation Rules tutorial on my machine. I got the following error message
    Error Message: An abnormal failure was encountered.
    Exception Message: SHA1 digest error for oracle/dmt/jdm/task/apply/OraDataSetApplyTask.class
    class java.lang.SecurityException
    Stack Trace: java.lang.SecurityException: SHA1 digest error for oracle/dmt/jdm/task/apply/OraDataSetApplyTask.class
         at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
         at java.util.jar.JarVerifier.processEntry(Unknown Source)
         at java.util.jar.JarVerifier.update(Unknown Source)
         at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
         at sun.misc.Resource.getBytes(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at oracle.dmt.jdm.task.OraBuildTaskFactory.create(OraBuildTaskFactory.java:71)
         at oracle.dmt.dm4j.wizard.director.minings.ModelBuildBuilder.getMiningTask(Unknown Source)
         at oracle.dmt.dm4j.wizard.director.minings.MiningBuilder.run(Unknown Source)
         at oracle.dmt.dm4j.browser.ProgressBar.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Many thanks.
    DataMiner

    Hi Husnu,
    Many thanks for your reply.
    I'm now using Oracle 10g EE Data Mining. Following the same procedure, I have installed the package on two PCs. When running a data mining task, however, one of them always failed at the last stage: Bulid - Run - Failed - Error Message.
    For DT
    Error Message: An abnormal failure was encountered.
    Exception Message: SHA1 digest error for oracle/dmt/jdm/task/apply/OraDataSetApplyTask.class
    class java.lang.SecurityException
    Stack Trace: java.lang.SecurityException: SHA1 digest error for oracle/dmt/jdm/task/apply/OraDataSetApplyTask.class
    at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
    at java.util.jar.JarVerifier.processEntry(Unknown Source)
    at java.util.jar.JarVerifier.update(Unknown Source)
    at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
    at sun.misc.Resource.getBytes(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at oracle.dmt.jdm.task.OraBuildTaskFactory.create(OraBuildTaskFactory.java:71)
    at oracle.dmt.dm4j.wizard.director.minings.ModelBuildBuilder.getMiningTask(Unknown Source)
    at oracle.dmt.dm4j.wizard.director.minings.MiningBuilder.run(Unknown Source)
    at oracle.dmt.dm4j.browser.ProgressBar.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    For AR
    Error Message: An abnormal failure was encountered.
    Exception Message: SHA1 digest error for oracle/dmt/jdm/task/apply/OraDataSetApplyTask.class
    class java.lang.SecurityException
    Stack Trace: java.lang.SecurityException: SHA1 digest error for oracle/dmt/jdm/task/apply/OraDataSetApplyTask.class
    at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
    at java.util.jar.JarVerifier.processEntry(Unknown Source)
    at java.util.jar.JarVerifier.update(Unknown Source)
    at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
    at sun.misc.Resource.getBytes(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at oracle.dmt.jdm.task.OraBuildTaskFactory.create(OraBuildTaskFactory.java:71)
    at oracle.dmt.dm4j.wizard.director.minings.ModelBuildBuilder.getMiningTask(Unknown Source)
    at oracle.dmt.dm4j.wizard.director.minings.MiningBuilder.run(Unknown Source)
    at oracle.dmt.dm4j.browser.ProgressBar.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Please help. Thank you again.
    Regards
    DataMiner

  • UIScrollBar - how? tutorial doesn't work

    I don't know what be added to the Flash 8 UIScrollBar
    manual's examples, skimpy as it is, but if so, what?
    I can't get the example to work. I of course put in a path to
    a real text file rather than their URL (helpful, guys).
    when I do a test movie, the text appears and scrolls, but no
    scrollbar appears.
    I even imported the StandardComponents.fla and copied the
    ScrollBar assets folder into my library.
    nobody said what you are supposed to do after that. I would
    be happy to have the default scrollbar.
    I even used actionscript to set the scrollbar object's
    graphics symbols. nothing.

    I have that with this code
    // Requires:
    // - UIScrollBar component in library
    // Create text field.
    this.createTextField("txt", 10, 0, 0, 600, 480);
    txt.wordWrap = true;
    this.createClassObject(mx.controls.UIScrollBar, "sc", 20);
    // Set the target text field for the scroll bar.
    sc.enabled=true;
    sc.visible=true;
    sc.setScrollTarget(txt);
    //size it to match the text field.
    sc.setSize(29, txt._height);
    //move it next to the text field.
    sc.move(txt._x+txt._width, txt._y);
    // Load text to display and define onData handler.
    sc.upArrowUpName('uparrow');
    sc.upArrowOverName('uparrow');
    sc.upArrowDownName('uparrow');
    sc.downArrowUpName('downarrow');
    sc.downArrowOverName('downarrow');
    sc.downArrowDownName('downarrow');
    sc.scrollTrackName('track');
    sc.scrollTrackOverName('track');
    sc.scrollTrackDownName('track');
    sc.thumbTopName('thumb');
    sc.thumbMiddleName('thumb');
    sc.thumbBottomName('thumb');
    sc.thumbGripName('thumb');
    var my_lv:LoadVars = new LoadVars();
    my_lv.onData = function(src:String) {
    if (src != undefined) {
    txt.text = src;
    } else {
    txt.text = "Error loading text.";
    my_lv.load("
    http://www.jesusnjim.com/code/gpl.txt");
    but all the customizations to the scrollbar do not work as
    advertised. I remember reading that in order to customize a
    scrollbar, you must draw each of 30 pieces manually (ugh).
    now if only I could scroll graphic buttons. I can't even wrap
    my head around that one.

  • The link, Lesson 2 : Examining the Metadata Layers, the tutorial, Oracle Business Intelligence Enterprise Edition Suite Overview, doesn't work

    The link for the tutorial for OBIEE suite is, http://download.oracle.com/technology/products/bi/demos/FoundationSuite/LessonIndex.htm
    Unfortunately, the link for Lesson 2 in this tutorial doesn't work. Could anyone help me on this? Or who should I contact to solve this issue?

    Moderator Action:
    This post has now been moved from "Download Issues" forum space to the "Documentation" forum space for closer topic alignment.
    The problem seems to be a malfunctioning Flash program, not any issue with retrieving such program.
    Thus this is an errata issue.
    Somehow, the maintainer of that page need to correct whatever is there.
    To O.P. (user3801117),
    You may need to open a service request with Support to get through to whoever maintains that page.

  • Loading XML generated by PHP doesn´t work

    I know what will you say: Search for a tutorial.
    Yes, i´ve searched here. Through internet. But i get no answer.
    I checked format. This is the xml output:
    <?xml version="1.0" ?>
    <root>
    <nivel nombre='A1'>
    <item>
    <nombre>audio1</nombre>
    <tipo>audio</tipo>
    <descargable>si</descargable>
    <url>../multimedia/Audios/A1_audio1.MP3</url>
    </item>
    </nivel>
    <nivel nombre='A2'>
    <item>
    <nombre>leccion1</nombre>
    <tipo>texto</tipo>
    <descargable>si</descargable><nivel nombre='B1'><item>
    <nombre>audio1</nombre>
    <tipo>audio</tipo>
    <descargable>si</descargable>
    <url>../multimedia/Audios/B1_audio1.MP3</url>
    </item>
    </nivel>
    </root>
    I think the format is perfect. I can read it on my Firefox as a perfect xml.
    Now. This is action script code:
                var loader:URLLoader = new URLLoader();
                loader.addEventListener(Event.COMPLETE, cargaXML);
                loader.load(new URLRequest("reproductor_generador_datos.php"));
    When loaded i do
    trace(e.target.data);
    To see the xml, but it´s php. It hasn´t generated it.
    I follow every tutorial. This is the way. Is there any other way to make it "EXECUTE" the php code?? it donesn´t seem to work.
    The same happens when i assign it to an XML in AS3. It doesn´t work.
    Please help me. It´s taking so many time.
    Thanks!!

    Thanks a lot for the help, guys.
    Well. I think i had problems trying to copy the xml here. That´s why it´s broken.... but i don´t find the problem, though, there...
    Let me post here another example on how is it now. It´s got the header, and the <?xml tag.
    <root>
    <item>
    <nivel>A1</nivel>
    <id>0</id>
    <nombre>audio1</nombre>
    <tipo>audio</tipo>
    <descargable>si</descargable>
    <url>../multimedia/Audios/A1_audio1.MP3</url>
    </item>
    <item>
    <nivel>A2</nivel>
    <id>1</id>
    <nombre>leccion1</nombre>
    <tipo>texto</tipo>
    <descargable>si</descargable>
    <url>../multimedia/Textos/A2_leccion1.pdf</url>
    </item>
    <item>
    <nivel>A2</nivel>
    <id>2</id>
    <nombre>leccion1</nombre>
    <tipo>texto</tipo>
    <descargable>no</descargable>
    <url>
    ../multimedia/Textos/no_descargable/A2_leccion1.pdf
    </url>
    </item>
    <item>
    <nivel>A2</nivel>
    <id>3</id>
    <nombre>audio1</nombre>
    <tipo>audio</tipo>
    <descargable>si</descargable>
    <url>../multimedia/Audios/A2_audio1.MP3</url>
    </item>
    <item>
    <nivel>A2</nivel>
    <id>4</id>
    <nombre>audio1</nombre>
    <tipo>audio</tipo>
    <descargable>no</descargable>
    <url>../multimedia/Audios/no_descargable/A2_audio1.MP3</url>
    </item>
    <item>
    <nivel>A3</nivel>
    <id>5</id>
    <nombre>esFolleto2009</nombre>
    <tipo>texto</tipo>
    <descargable>si</descargable>
    <url>../multimedia/Textos/A3_esFolleto2009-2010.pdf</url>
    </item>
    <item>
    <nivel>A3</nivel>
    <id>6</id>
    <nombre>leccion1</nombre>
    <tipo>texto</tipo>
    <descargable>no</descargable>
    <url>
    ../multimedia/Textos/no_descargable/A3_leccion1.pdf
    </url>
    </item>
    <item>
    <nivel>A3</nivel>
    <id>7</id>
    <nombre>Avicena</nombre>
    <tipo>video</tipo>
    <descargable>si</descargable>
    <url>../multimedia/Videos/A3_Avicena.flv</url>
    </item>
    <item>
    <nivel>B1</nivel>
    <id>8</id>
    <nombre>audio1</nombre>
    <tipo>audio</tipo>
    <descargable>si</descargable>
    <url>../multimedia/Audios/B1_audio1.MP3</url>
    </item>
    <item>
    <nivel>B1</nivel>
    <id>9</id>
    <nombre>audio1</nombre>
    <tipo>audio</tipo>
    <descargable>no</descargable>
    <url>../multimedia/Audios/no_descargable/B1_audio1.MP3</url>
    </item>
    </root>
    well. maybe i fixed it ... lol... but i think it won´t work.

  • Exporting XML from PP CS6 to Resolve. Doesn't work no matter what we try!

    My colorist and I have been pulling our hair out trying to figure out how to get this project into Resolve. I am running the latest version of PP Cs6 on a Windows PC. Edited the feature in native R3D format, 4.5k, everything was smooth as silk. I prepped the project by breaking it into 20 minute reels, removing all effects and speed changes, collapsing it down to 2 video tracks and 1 audio tracks and exporting an XML.
    Colorist is running the newest build of Resolve 9 on a Mac and tried to open the XML but it doesn't work. It only shows one clip on the timeline and nothing else. I tried exporting an EDL and it loads a ton of stuff in, but the clips are not right and seem to be the whole takes. He has tried to open in FCP to remake the XML, but it won't open there either. I even tried finding and replacing all the .R3D file extensions in the XML to "_M.MOV" to make it use the proxies instead but no dice.
    Is there any way to make this work? I feel like people go from Premiere to Resolve all the time with no hassle. Since we're both using the latest builds I am wondering where the hangup is. I feel like its within Premiere but I don;t know what to mess around with at this point.
    Any assistance is appreciated!

    I wrestled with that for about 20 hours before getting it.
    Here's some of my code:    makeButton("Refresh Table",northP,
        new ActionListener()
          public void actionPerformed (ActionEvent e)
            updateTable();
      public void updateTable()
        ch.sendShowAll();
        model.handleServerMessages();
        model.fireTableDataChanged();
    /////////////////////This worked for me.
    Both these methods occur in the JFrame class that displays the table. I pass the table
    model to the JFrame constructor. In the above code, the model object is an instantiation
    of the class that extends AbstractTableModel, with the methods getElementAt(), getRowCount(), and getColumnCount().
    If you post some of your code,I'll try to help.
    John

  • Repository event handler doesn't work when inserting an xml-doc via ftp

    Hi,
    I want to add a 'schemaLocation'-attribute to an XML-document when I load it in the repository. Therefore, I use the precreate-repository event and created a Repository Event Handler (see code extract below).
    Everything works fine if I type the following code in SQL Plus:
    Declare
    v_return BOOLEAN;
    Begin
    v_return:=DBMS_XDB.createresource('/public/xml/test.xml', XMLType(bfilename('XMLDIR', 'test.xml'),nls_charset_id('AL32UTF8')));
    end;Unfortunately, when I try to insert an XML-document via ftp into the /public/xml folder it doesn´t work as expected and no 'schemaLocation'-attribute is added to the new resource.
    What's the reason for this strange behavior and how can I solve it?
    For your information: I use the Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    Thank you very much for your help!!!
    Repository Event Handler code extract:_
    create or replace
    PACKAGE BODY schemalocation AS
    PROCEDURE handlePreCreate (eventObject DBMS_XEVENT.XDBRepositoryEvent) AS
    XDBResourceObj DBMS_XDBRESOURCE.XDBResource;
    var XMLType;
    l_return BOOLEAN;
    l_xmldoc dbms_xmldom.DOMDocument;
    l_docelem dbms_xmldom.DOMElement;
    l_attr dbms_xmldom.DOMAttr;
    c1 clob;
    node     dbms_xmldom.DOMNode;
    txid varchar2(100);
    dDoc DBMS_XMLDOM.DOMDocument;
    nlNodeList DBMS_XMLDOM.DOMNodeList;
    BEGIN
    XDBResourceObj := DBMS_XEVENT.getResource(eventObject);
    dbms_lob.createTemporary(c1,TRUE);
    var:=DBMS_XDBRESOURCE.getcontentxml(XDBResourceObj);
    l_xmldoc := dbms_xmldom.newDOMDocument(var);
    l_docelem := DBMS_XMLDOM.getDocumentElement(l_xmldoc);
    ------ add schemaLocation attribute
    l_attr := DBMS_XMLDOM.createAttribute(l_xmldoc, 'xsi:schemaLocation');
    DBMS_XMLDOM.setValue(l_attr, 'urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd');
    l_attr := DBMS_XMLDOM.setAttributeNode(l_docelem, l_attr);
    DBMS_XMLDOM.WRITETOCLOB(l_xmldoc, c1);
    ------- get the value of the TxId-tag
    dDoc := DBMS_XMLDOM.NEWDOMDOCUMENT(c1);
    nlNodeList := DBMS_XMLDOM.GETELEMENTSBYTAGNAME(dDoc, 'TxId');
    node := DBMS_XMLDOM.ITEM(nlNodeList, 0);
    txid:= dbms_xmldom.getnodevalue(dbms_xmldom.getfirstchild(node));
    l_return:=DBMS_XDB.createresource('/public/ok/'||txid||'.xml', XMLType(c1));
    END;

    Marco,
    Here's an example of the problem :
    create or replace package handle_events
    as
      procedure handlePreCreate(p_event dbms_xevent.XDBRepositoryEvent);
    end;
    create or replace package body handle_events
    is
    procedure handlePreCreate (p_event dbms_xevent.XDBRepositoryEvent)
    is
      XDBResourceObj dbms_xdbresource.XDBResource;
      doc XMLType;
      res boolean;
    begin
      XDBResourceObj := dbms_xevent.getResource(p_event);
      doc := dbms_xdbresource.getContentXML(XDBResourceObj);
      select insertchildxml(
        doc
      , '/root'
      , '@xsi:schemaLocation'
      , 'urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd'
      , 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
      into doc
      from dual;
      res := dbms_xdb.CreateResource('/public/xml/result.xml', doc);
    end;
    end;
    declare
    res boolean;
    begin
    res := dbms_xdb.CreateFolder('/public');
    res := dbms_xdb.CreateFolder('/public/tmp');
    res := dbms_xdb.CreateFolder('/public/xml');
    end;
    declare
    res            boolean;
    resconfig      xmltype;
    my_schema      varchar2(30) := 'DEV';
    resconfig_path varchar2(300) := '/public/ResConfig.xml';
    resource_path  varchar2(300) := '/public/tmp';
    begin
      resconfig  := xmltype(
    '<ResConfig xmlns="http://xmlns.oracle.com/xdb/XDBResConfig.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/XDBResConfig.xsd http://xmlns.oracle.com/xdb/XDBResConfig.xsd">
      <event-listeners set-invoker="true">
        <listener>
          <description>My event handler</description>
          <schema>'||my_schema||'</schema>
          <source>HANDLE_EVENTS</source>
          <language>PL/SQL</language>
          <events>
            <Pre-Create/>
          </events>
          <pre-condition>
            <existsNode>
              <XPath>/r:Resource[r:ContentType="text/xml"]</XPath>
              <namespace>xmlns:r="http://xmlns.oracle.com/xdb/XDBResource.xsd"</namespace>
            </existsNode>
          </pre-condition>
        </listener>
      </event-listeners>
      <defaultChildConfig>
        <configuration>
          <path>'||resconfig_path||'</path>
        </configuration>
      </defaultChildConfig>
    </ResConfig>'
      res := dbms_xdb.CreateResource(resconfig_path, resconfig);
      dbms_resconfig.addResConfig(resource_path, resconfig_path, null);
    end;
    /Giving the following input XML file :
    <?xml version="1.0" encoding="utf-8"?>
    <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>This works :
    SQL> declare
      2    res boolean;
      3  begin
      4    res := dbms_xdb.CreateResource('/public/tmp/test.xml',
      5               xmltype(bfilename('TEST_DIR','test.xml'), nls_charset_id('AL32UTF8')));
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    SQL> select XMLSerialize(document xdburitype('/public/xml/result.xml').getXML()
    as clob indent size = 2)  result
      2  from dual
      3  ;
    RESULT
    <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
    urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd
    "/>With the same document loaded via FTP, we get :
    SQL> select XMLSerialize(document xdburitype('/public/xml/result.xml').getXML()
    as clob indent size = 2)  result
      2  from dual
      3  ;
    ERROR:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00283: document encoding is UTF-16-based but default input encoding is not
    Error at line 1
    no rows selectedand the content looks like :
    < ? x m l   v e r s i o n = " 1 . 0 "   e n c o d i n g = " u t f - 8 " ? >
    < r o o t   x m l n s : x s i = " h t t p : / / w w w . w 3 . o r g / 2 0 0 1 / X M L S c h e m a - i n s t a n c e " / >As a workaround, I've found that serializing and re-parsing the document solves the problem :
      select insertchildxml(
        xmltype(doc.getclobval())
      , '/root'
      , '@xsi:schemaLocation'
      , 'urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd'
      , 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
      into doc
      from dual;
    ...We then get the expected result after FTP transfer :
    SQL> select XMLSerialize(document xdburitype('/public/xml/result.xml').getXML()
    as clob indent size = 2)  result
      2  from dual
      3  ;
    RESULT
    <?xml version="1.0" encoding="UTF-8"?>
    <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
    urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd
    "/>The workaround also works for the DOM version presented above.
    Any ideas?

  • Finding XML file from EJB doesn t work.

    Hi all:
    I have an EJB accesing a XML file to parse a XML document. The file is in the classpath, and sometimes the EJB finds it and sometimes not.
    What happens?
    When the EJB finds it, DOMParser method, parse(InputStream), doesn t work.
    I use this file to config DB connection externally for my BC4J (I don t use JTS).
    Thanks in advance.
    Joaqumn.

    Well, it won't work as iWeb has no import facility so cannot open html files.
    What you could do is upload the html file to wherever you are hosting your site and create a link to it from iWeb, or find another package similar to the one you are using at present that is for Mac rather then PC.

Maybe you are looking for