Why XML XML Simple query on Table Eval does not work?

I have a request that a simple select on a binary xml table on 11.2.0.1:
SELECT xmlcast(xmlquery('$p/eval/@evalId' passing e.object_value AS "p" RETURNING CONTENT)
AS VARCHAR2(30)) "EVAL ID"
FROM eval e
WHERE xmlexists('declare default element namespace "http://www.cigna.com/acme/domains/eval/2010/03";
/eval[@evalId=$eval_id]' PASSING object_value, 'RickBlanchard9972' as "eval_id");
Now this xml document exists as a record in the binary xml table with evalId = "RickBlanchard9972" attribute
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?><eval createdById="1957" acmeMemberId="37e6f05a-88dc-41e9-a8df-2a2ac6d822c9" category="external" eval_dt="2012-02-11T23:47:02.645Z" evalId="RickBlanchard9963" xmlns="http://www.cigna.com/acme/domains/eval/2010/03" xmlns:ns2="http://www.cigna.com/acme/domains/derived/fact/2010/03" xmlns:ns3="http://www.cigna.com/acme/domains/common/2010/03">
   <derivedFacts>
      <ns2:derivedFact>
         <ns2:defId>888</ns2:defId>
         <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:52600:2</ns2:defUrn>
         <ns2:factSource>CCDR Member</ns2:factSource>
         <ns2:origInferred_dt>2012-02-11T23:47:02.645Z</ns2:origInferred_dt>
         <ns2:factValue>
            <ns2:type>string</ns2:type>
            <ns2:value>null</ns2:value>
         </ns2:factValue>
      </ns2:derivedFact>
      <ns2:derivedFact>
         <ns2:defId>777</ns2:defId>
         <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:52599:1</ns2:defUrn>
         <ns2:factSource>CCDR Member</ns2:factSource>
         <ns2:origInferred_dt>2012-02-11T23:47:02.645Z</ns2:origInferred_dt>
         <ns2:factValue>
            <ns2:type>string</ns2:type>
            <ns2:value>INT</ns2:value>
         </ns2:factValue>
      </ns2:derivedFact>
      <ns2:derivedFact>
         <ns2:defId>666</ns2:defId>
         <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:51400:1</ns2:defUrn>
         <ns2:factSource>CCDR Member</ns2:factSource>
         <ns2:origInferred_dt>2012-02-11T23:47:02.645Z</ns2:origInferred_dt>
         <ns2:factValue>
            <ns2:type>integer</ns2:type>
            <ns2:value>32</ns2:value>
         </ns2:factValue>
      </ns2:derivedFact>
      <ns2:derivedFact>
         <ns2:defId>555</ns2:defId>
         <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:52177:3</ns2:defUrn>
         <ns2:factSource>CCDR Member</ns2:factSource>
         <ns2:origInferred_dt>2012-02-11T23:47:02.645Z</ns2:origInferred_dt>
         <ns2:factValue>
            <ns2:type>string</ns2:type>
            <ns2:value>null</ns2:value>
         </ns2:factValue>
      </ns2:derivedFact>
      <ns2:derivedFact>
         <ns2:defId>444</ns2:defId>
         <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:52075:1</ns2:defUrn>
         <ns2:factSource>CCDR Member</ns2:factSource>
         <ns2:origInferred_dt>2012-02-11T23:47:02.645Z</ns2:origInferred_dt>
         <ns2:factValue>
            <ns2:type>string</ns2:type>
            <ns2:value>F</ns2:value>
         </ns2:factValue>
      </ns2:derivedFact>
      <ns2:derivedFact>
         <ns2:defId>333</ns2:defId>
         <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:51392:1</ns2:defUrn>
         <ns2:factSource>CCDR Member</ns2:factSource>
         <ns2:origInferred_dt>2012-02-11T23:47:02.645Z</ns2:origInferred_dt>
         <ns2:factValue>
            <ns2:type>boolean</ns2:type>
            <ns2:value>true</ns2:value>
         </ns2:factValue>
      </ns2:derivedFact>
      <ns2:derivedFact>
         <ns2:defId>222</ns2:defId>
         <ns2:defUrn>urn:coderunner:Medical:Definition:DerivedFact:52837:2</ns2:defUrn>
         <ns2:factSource>CCDR CaseManagement</ns2:factSource>
         <ns2:origInferred_dt>2012-02-11T23:47:02.645Z</ns2:origInferred_dt>
         <ns2:factValue>
            <ns2:type>boolean</ns2:type>
            <ns2:value>true</ns2:value>
         </ns2:factValue>
      </ns2:derivedFact>
   </derivedFacts>
</eval>
Unfortunately, the query returns with a null value instead of; RickBlanchard9963


Must be something obvious missing here...
Any help is appreciated.

Kind regards
Rick Blanchard

The sample document contains evalId = "RickBlanchard9963", not "RickBlanchard9972" but it's probably a typo?

The real problem is that you are missing from the default namespace declaration in XMLQuery.

Tags: Database

Similar Questions

  • HP Simple pass Manager 6.0 does not work in Firefox 30

    I have been using HP Simple pass Manager 6.0 almost the entire Bill by paying websites. Recently my Firefox browser set to update Firefox 29 to 30 of Firefox. Now my HP Simple pass Manager 6.0 does not work in Firefox 30 in all.

    I contacted Mozilla Firefox and they said it's you plugin to increase the power of the fix. Is there a plugin fix soon?

    I rely on this program for extra protection.

    Thank you

    Chief

    Chief,

    Downgrade to the version of Firefox prior to Version 30 to allow the HP SimplePass extension to work.

    The instructions are below.

    The downgrade of the browser can disrupt the HP SimplePass database.  In fact roughly about everything upsets the HP SimplePass database.  The smile.

    Archives of Firefox

    Example: 26.0 for Windows download version (using a slightly different path for Mac)
    https://FTP.Mozilla.org/pub/mozilla.org/Firefox/releases/26.0/win32/en-us/

    ===========================================================================

    You can overload well enough, that is, install the old version of Firefox on the top of your new version.

    To be sure, export your bookmarks before making any changes in case something weird.

    Continue:

    • Close all your programs and shut down your computer
    • Unplug everything (little unifying for the keyboard / mouse external can stay)
    • Perform the Hard Reset for your model of laptop
    • Start the computer and connect

    Reminder: Hard Reset is just a device to reset.  The procedure do not destroy your files, or it destroys your Windows installation somehow.  It's just "clears the cobwebs".  Depending on the cause of the problem, this kind of "reset" can fix a variety of computer problems.

    If no joy:

    Open the Document of Dragon:

    HP SimplePass upgrade instructions

    Follow the procedures described in the guide for

    1. Export your Webcards
    2. Reinstall the driver of validity
    3. Restart / reboot the computer and log in
    4. Fix HP SimplePass program
    5. Restart / reboot the computer and log in

    Click on the Thumbs - Up Kudos to show that you appreciate the help and time of our Experts.

    Click on accept as Solution when the answer is a good solution or workaround!

    Although I strive to reflect best practices of HP, I do not work for HP.

  • Simple drag &amp; drop with Manager does not work in Edge?

    Hi all!

    I made this very simple example drag-and - drop on board: http://www.terredainventare.it/simpledrag/simpledrag.html using Jquery Ui http://docs.jQuery.com/UI/draggable .

    I try to use the property of "handle" JQueryUi which makes you drag an object restricting drag by clicking on a single element, but it does not work.

    Here is the code that I put in onCompositionReady edge:

    SYM. $("drag") .draggable ({handle: "handler"});

    Of course, my two Div elements are called "drag" and "Manager". Now the brake only works on element 'wrong' and not on the 'handle '...

    Here are the files Adobe Edge: http://www.terredainventare.it/simpledrag/Web.zip

    Thank you very much in advance for your help!

    Davide

    OK Joel, I solved it!

    The handle-div must be nested in the drag-dive to make it works!

    Here is the picture:

    Thanks a lot for your help!

    Davide

  • Code of selected table rows does not work.

    Hello

    I'm trying to get the selected row in the table by using the code below. But I'm getting the following exception.

    JDEV: 11g and ADF ReadOnly Table with rowselection single =.


    BackingBean code to get the selected row:

    Links DCBindingContainer = getBindingsForDCB();
    Table RicheTableau = this.t1;
    DCIteratorBinding outListIter is getBindingsForDCB () .findIteratorBinding ("CmProcessView3Iterator");.
    Set of rows RowKeySet = table.getSelectedRowKeys ();
    Iterator rowKeySetIter = rowSet.iterator ();
    While (rowKeySetIter.hasNext ()) {}
    (List) list l = rowKeySetIter.next ();
    Key = (Key) l.get (0);
    System.out.println ("key attribute is:" + key.getAttribute (0) m:System.NET.SocketAddress.ToString ());
    System.out.println ("key:" + key.toString ());
    outListIter.setCurrentRowWithKey (key.toStringFormat (true));
    Line r = outListIter.getCurrentRow ();

    process = r.getAttribute("ProcessType").toString ();
    activeFlag = r.getAttribute("ArgumentsFlag").toString ();


    System.out.println ("data line is:" + process);
    System.out.println ("data line is:" + activeFlag);

    }


    Exception:

    key attribute is: AAA3 + oAM9AAAACgAAA
    key is: oracle.jbo.Key [AAA3 + oAM9AAAACgAAA]
    oracle.jbo.InvalidParamException: Houston-25006: 000100000012414141332B6F414D394141414143674141410000047200000125B987B431 value passed as a parameter to the method a String Builder: Key is not valid: {3}.
    at oracle.jbo.Key.parseBytes(Key.java:537)
    to oracle.jbo.Key. < init > (Key.java:179)
    at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKey(DCJboDataControl.java:1409)
    at oracle.adf.model.binding.DCIteratorBinding.setCurrentRowWithKey(DCIteratorBinding.java:3542)
    at com.view.backing.app.RunCalcPage.splCommCalcJobSubmission(RunCalcPage.java:2083)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)


    Please help me...

    Thank you.

    Hello

    As rowSelection a single value, why don't you get current row of the iterator itself (rowkeyset iteration is not necessary).
    Example Code:

    DCIteratorBinding outListIter = getBindingsForDCB().findIteratorBinding("CmProcessView3Iterator");
    Row r = outListIter .getCurrentRow();
    

    Make sure selectionListener on the table has the value #{bindings.. collectionModel.makeCurrent}
    Jean Lou

  • Why the blocking of emails from domains option does not work in Hotmail (e-mail on the Web server)?

    A question was asked in 2009 about why we (Hotmail users) cannot block e-mail from domains.
    When follow us the instructions and put the domain address as in the example provided
    (domain.com) or (@domain.com) or work with Hotmail refuses to add to the block list, always rplies Hotmail with error message (this field cannot be added to the list of senders blocked in Hotmail), Microsoft's answer to the time (2009) was linked to outlook express and the outlook community!

    I don't want that I do not use Outlook, I travel a lot and I rarely wear my laptop, I want to be able block area and addresses that I manually set directly in my list of block in my account Hotmail itself.

    Responses are all related to outlook, the only related response suggested that the cause of the problem is that there is a parental control configuration, well I don't have, I tried the blocking of my house, my work of intenet cafes and still I can't block emails which is a real trouble from specific areas

    Please let me know how I can do it.

    See you soon
    Wal

    View all Windows Live and Hotmail questions in the appropriate forum found here:
    http://windowslivehelp.com/

  • AF:table tableSelectMany does not work with DataModel!

    Hi all

    Our version JDev is 10.1.3

    I use the following 'GroundBlog by Duncun Mills' code



    < f: facet = 'selection' name >
    < af:tableSelectMany text = "select a lot and" >
    < text af:commandButton = 'delete '.
    action = "#{newMapRequestItem.DeleteRow}" / > "
    < / af:tableSelectMany >
    < / f: facet >

    Set < Key > selectedRowSet = getJobsTable () .getSelectionState () .getKeySet ();

    If (! selectedRowSet.isEmpty ()) {}
    for {(clé clé: selectedRowSet)}
    tableBindingIterator.setCurrentRowWithKey (key.toStringFormat (true));
    Do something interesting for example to remove it.
    Object result = deleteBinding.execute ();
    }
    }
    and reset the selection
    selectedRowSet.clear ();
    }


    Now the problem is that my table is of type DataModel and has no methods such as getSelectionState(). Please let me know how I can get tableSelectMany to work. I can successfully delete a line using tableSelectOne (using getItemsTableModel.getIndex ()), but this isn't what we want. Also the table (Modedonnees) cannot be changed at this time since the entire application use it. (although we can do manipulations in the deleteRow method)

    < af:table var = 'table '.
    value = "#{myBean.itemsTableModel}" >

    private DataModel = new ListDataModel() itemsTableModel;


    Help, please!

    Thank you

    User,

    getSelectionState() is a method of the object of the Table of the ADF (not the underlying model). In your example, the af: table must be bound to a jobsTable property in your beans. Hope it makes sense.

    John

  • LOV based on query - ORDER BY: P_ITEMVALUE does not work

    Hello guys! I have a special request I am interested on. I have a couple of selection lists in my application that contain species of trees.
    On the first page, the user has the ability to assign a ranking to the respective tree species. The column of database storing this information is named INT_BEDEUTUNG.

    Instead of using this order of clause permanently, I want to be able to change the order of definition using two buttons. One is used to sort alphabetically (BA_LANG column), and one is used for control by the INT_BEDEUTUNG field.

    So, I tried to link an element (P6_SORT) via a button, assigning to BA_LANG or INT_BEDEUTUNG.

    The selection lists of species of tree in my reports are based on LOVs by using the following query:
    SELECT BA_LANG, LNG_BAUMART
    FROM VT_TBL_BAUMART, vt_tbl_BAUMARTENBEDEUTUNG 
    where CNT_BAUMART = LNG_BAUMART and
    LNG_GEBIET=:P6_lng_gebiet
    order by :P6_SORT
    I thought that if: P6_SORT conatins the value BA_LANG or INT_BEDEUTUNG, the selct list would be ordered accordingly. Unfortunately it is not, although P6_SORT is not empty?

    Do you have an idea what I'm doing wrong or how to change the order by clause in this query for all of the application?

    I'd appreciate your interesting answers and thoughts!

    Best regards

    Sebastian

    Edited by: skahlert the 17.09.2009 08:52

    Hello Sebastian,.

    In your query: P6_SORT is replaced by "BA_LANG" or "LNG_BAUMART", so, with the quotes...

    Try if it works:
    order by DECODE (: LNG_BAUMART, BA_LANG, P6_SORT, 'LNG_BAUMART', 'BA_LANG')
    (just an idea, didn't test...)

    Greetings,
    Roel

    http://roelhartman.blogspot.com/

  • Why Kaspersky Password Manager 6.0.1.55 does not work with Firefox?

    After the update of Firefox to 17.0.1 my Kaspersky P/M 6.0.1.54 was noted as being incompatible. I have since downloaded a patch to upgrade the P/M to 6.0.1.55. The latter appears in my list of Add-ons, but when it comes to a password it is not fulfilled as it was before the update to Firefox. Also P/M 6.0.1.54 is displayed on the tab 'Extensions' (option off), but I can't do a teaching aid on how to get rid of it. You can provide any help would be appreciated. Thank you.
    Information of plugins installed in the box below, I don't get the P/M 6.0.1.54 in the list. However, it appears in the Plugins tab in the Add-ons Manager.

    Hello hwleo, you have sorted your programs kaspersky update?

    http://support.Kaspersky.com/8447

  • Why don't the auto scroll of snagit does not work in firefox version 3.6.8 if it can be fixed

    I used v9.1 Snagit with Firefox for a long time through many updates, but when I updated to Firefox version 3.6.8 AutoScroll stoped working, I go back to an earlier version of Firefox and it worked OK.

    Read these steps of the Snagit support Web site.

  • Why some games Windows 98 and Windows XP does not work on Windows 7

    I am doing a project on the history and it's perhaps useful to include in the project information

    Hi Sean,.
    Please go to the Microsoft Community Forums.
     
    Please see the information provided by "Mike Hall MVP" from this link:
     
     
    See also:
    What is program compatibility?
     
    Make older programs in this version of Windows
     
    Thank you.
  • Why adobe 11.2.202.228 flash drive does not work on any of my computers or browsers?

    I try to go on youtube or any other video online, and the player screen is always black or non-existent. I have try it on two different types of Mac and a dell. I tried on IE, Chrome, Fire Fox and Safari. I right click on where the game screen should be, and it gives me two options: film not loaded... (in grey) and on Adobe Flash Player 11.2.202.228. How can I fix?

    rwrose298 wrote:

    Displays a green image box.

    This indicates that you can run a version of the graphics driver obsolete; See http://forums.adobe.com/thread/945765

  • Why is my InDesign CS3 pen tool suddenly does not work?

    Hi all!


    My pen tool - specifically the function 'add an anchor' suddenly works at all. I click on the point that I want to anchor and I get nothing. I tried to restart the program. I tried restarting the computer and no luck.  Any ideas on what could be the problem? Thank you

    The selected path is? I must be active before you can add a point.

  • Help! Search XML expression does not work!

    var xml: XML =
    nodes <>
    < node data = "1" >
    < data node = 'a' / >
    < node data = 'b' / >
    < / node >
    < / node >;

    I want to get the node to < data node = "a" / >.
    the expression:
    ... XML node. (@data is 'a');
    does not work.

    How can I do then?
    Any help will be appreciated.

    Thank you.
    Netsesame.

    It's my fault.

    the expression:
    ... XML node. (@data == 'a') does not.

    However, the debugger trace do nothing:
    trace (xml, node.) (@data is "a")) ;

  • Query with a subquery should return a value but does not work

    When I run this SQL, it does not return value:

    SELECT vfn.cat
    OF vfn, valid_fishery vf vps_fishery_ner
    WHERE vfn.plan = vf.plan
    AND vfn.cat = vf.cat
    AND vf.permit_year = 2010
    AND vf.moratorium_fishery 't ='
    AND vfn.vp_num = 211652
    AND vfn.ap_year = 2010
    AND vfn.plan = 'MUL '.
    AND vfn.date_issued = (SELECT MAX (date_issued)
    OF vps_fishery_ner
    WHERE vp_num = 211652
    AND ap_year = 2010);

    To test, I remove the subquery and run it separately:
    SELECT MAX (date_issued)
    OF vps_fishery_ner
    WHERE vp_num = 211652
    AND ap_year = 2010;

    Returns 2 April 10

    Then I paste the date into the original query (using her TRUNCATES the function, of course, since I'm only part DDMMYY hardcode the date):

    SELECT vfn.cat
    OF vfn, valid_fishery vf vps_fishery_ner
    WHERE vfn.plan = vf.plan
    AND vfn.cat = vf.cat
    AND vf.permit_year = 2010
    AND vf.moratorium_fishery 't ='
    AND vfn.vp_num = 211652
    AND vfn.ap_year = 2010
    AND vfn.plan = 'MUL '.
    AND TRUNC (date_issued) = TO_DATE('02-APR-10');

    And returns the required value, "A".

    So why the complete query with a subquery does not work, if the value returned by the subquery is valid and works when you just pasted in there?
    Thank you.

    Hello

    Maybe you should include this in the subquery as well?

    AND vfn.plan = 'MUL'
    
  • Why my "search" option does not work?

    Why my "search option" on the home page does not work?

    Check the pref browser.search.defaultenginename on the subject: config page and make sure it is set to the default value of Google.

Maybe you are looking for