XMLTable issue in 10.2.0.3 or privs problem?

I stole the following SQL from
Help with a simple XMLTable query
I have been scratching my head trying to figure out why the SQL statement I coded up with a XMLTable would not run on the 10.2.0.3 DB I'm connected to. I finally found the following SQL statement to use as a known good test case
select *
from xmltable
'//OrderMetrics/OrderItemMetric'
passing xmltype(
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<echoems:ECHOMetrics xmlns:echoems="http://myURL/myFilename.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://myURL/myFilename.xsd
http://myURL/myFilename.xsd">
<OrderMetrics>
<OrderItemMetric>
<requestor>user1</requestor>
<product>123</product>
</OrderItemMetric>
<OrderItemMetric>
<requestor>0.0.0.0</requestor>
<product>ABC</product>
</OrderItemMetric>
<OrderItemMetric>
<requestor>user3</requestor>
<product>XYZ</product>
</OrderItemMetric>
</OrderMetrics>
</echoems:ECHOMetrics>')
columns
prod varchar2(20) path 'product'
)This executes cleanly on 10.2.0.1 but returns an ORA-01780: string literal required on 10.2.0.3
What am I missing, in terms of the SQL or setup/rights/grants/etc in 10.2.0.3?

SQL> select * from xmltable ( '//OrderMetrics/OrderItemMetric' passing xmltype( '<?xml version="1.0"
encoding="UTF-8" standalone="yes"?> <echoems:ECHOMetrics xmlns:echoems="http://myURL/myFilename.xsd
" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://myURL/myFilename.
xsd http://myURL/myFilename.xsd"> <OrderMetrics> <OrderItemMetric> <requestor>user1</requestor> <pro
duct>123</product> </OrderItemMetric> <OrderItemMetric> <requestor>0.0.0.0</requestor> <product>ABC<
/product> </OrderItemMetric> <OrderItemMetric> <requestor>user3</requestor> <product>XYZ</product> <
/OrderItemMetric> </OrderMetrics> </echoems:ECHOMetrics>') columns prod varchar2(20) path 'product'
  2  /
PROD
123
ABC
XYZ
SQL> show parameter cursor
NAME                                 TYPE        VALUE
cursor_sharing                       string      EXACT
cursor_space_for_time                boolean     FALSE
open_cursors                         integer     300
session_cached_cursors               integer     20
SQL> alter session set cursor_sharing='SIMILAR';
Session altered.
SQL> select * from xmltable ( '//OrderMetrics/OrderItemMetric' passing xmltype( '<?xml version="1.0"
encoding="UTF-8" standalone="yes"?> <echoems:ECHOMetrics xmlns:echoems="http://myURL/myFilename.xsd
" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://myURL/myFilename.
xsd http://myURL/myFilename.xsd"> <OrderMetrics> <OrderItemMetric> <requestor>user1</requestor> <pro
duct>123</product> </OrderItemMetric> <OrderItemMetric> <requestor>0.0.0.0</requestor> <product>ABC<
/product> </OrderItemMetric> <OrderItemMetric> <requestor>user3</requestor> <product>XYZ</product> <
/OrderItemMetric> </OrderMetrics> </echoems:ECHOMetrics>') columns prod varchar2(20) path 'product'
  2  /
PROD
123
ABC
XYZ
SQL> alter session set cursor_sharing='force';
Session altered.
SQL> select * from xmltable ( '//OrderMetrics/OrderItemMetric' passing xmltype( '<?xml version="1.0"
encoding="UTF-8" standalone="yes"?> <echoems:ECHOMetrics xmlns:echoems="http://myURL/myFilename.xsd
" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://myURL/myFilename.
xsd http://myURL/myFilename.xsd"> <OrderMetrics> <OrderItemMetric> <requestor>user1</requestor> <pro
duct>123</product> </OrderItemMetric> <OrderItemMetric> <requestor>0.0.0.0</requestor> <product>ABC<
/product> </OrderItemMetric> <OrderItemMetric> <requestor>user3</requestor> <product>XYZ</product> <
/OrderItemMetric> </OrderMetrics> </echoems:ECHOMetrics>') columns prod varchar2(20) path 'product'
  2  /
PROD
123
ABC
XYZAs you can see all three variations of cursor sharing work in the 10.2.0.4 patch set. So whatever is causing this in 10.2.0.3 is fixed now. If you want to try and have Oracle determine the change open an SR with your testcase and we can file a bug to see if we can determine where this was fixed.
Regards
Coby D. Adams Jr.
Edited by: mdrake on Feb 15, 2010 7:35 AM

Similar Messages

  • Issue when scrolling a pdf - There was a problem reading this document (135)

    This is when the PDF is created and rendered/previewed from Acrobat Reader and the issue is there for latest acrobat version too.
    When you open the PDF in Acrobat Reader and then when you scroll it and if you have more that one page in the PDF, it gives an error saying "There was a problem reading this document (135)".
    Is this a known issue in Acobat? Any resolution? Reinstalling acrobat version didn't help.
    Thank you in advance...!
    /Manu

    It's hard to tell for me as they are files such bank statement or other document from websites...how can i know?
    Thanks,
    Date: Wed, 9 May 2012 01:29:45 -0600
    From: [email protected]
    To: [email protected]
    Subject: Issue when scrolling a pdf - There was a problem reading this document (135)
        Re: Issue when scrolling a pdf - There was a problem reading this document (135)
        created by Nikhil.Gupta in Adobe Reader - View the full discussion
    Hi Manulak_Tech,
    As you are able to view PDF I had provided, the issue seems to be PDF specific.
    So when you scroll the PDF and reach to a page where Adobe Reader cannot read it, the error comes. I am sure the problem lies the way PDF was created. Can you describe how the PDF was created?
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4390058#4390058
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4390058#4390058. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Creative Cloud : How to install page error "We are currently experiencing some issues, please try again later. If the problem persists, contact customer support."

    I recently purchase a full membership student yearly plan. I was prompted to this page after my payment was confirmed - https://creative.adobe.com/products/download/creative-cloud
    However I continue to receive the error "We are currently experiencing some issues, please try again later. If the problem persists, contact customer support."
    What is going on here?
    Is there another way to access Creative Cloud download and installation?
    Thanks.
    Robert.

    Robertdaw and MyName LOL! please utilize a different web browser.  If you continue to face difficulties then I would recommend beginning the installation process through the Creative Cloud Desktop directly.  You can find details at Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.

  • "We are currently experiencing some issues, please try again later. If the problem persists, contact customer support" - is anyone else experiencing this and how can I resolve this issue?

    I've been trying to download the photoshop free trial for the past three days but instead of installing a message saying "We are currently experiencing some issues, please try again later. If the problem persists, contact customer support" - is anyone else experiencing this and how can I resolve this issue?

    try some steps such as changing browsers and turning off your firewall for downloads
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • HT203433 my issue is that my itunes store have some problem i cannot update my app and i also purchase app or download free app on it . it keep on tell me that ;an unknown error occured (0x800b0101)

    my issue is that my itunes store have some probleme i cannot update my app and purchase app or download free app also it keep on tell me that an unknownerror occured (0x800b0101)

    You could try this.
    Back up all data.Triple-click anywhere in the line below on this page to select it:
    /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
    Right-click or control-click the line and select
    Services ▹ Reveal
    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash. You may be prompted for your administrator login password. Reboot and test. If there's no change, restore the item you deleted from a backup, overwriting the one that may have been created in its place. Otherwise, you may need to recreate some of your settings in the Network preference pane.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.
    Credit for this solution to ASC member luis.pinhor.

  • Every time i try to download photoshop it tell me this "We are currently experiencing some issues, please try again later. If the problem persists, contact customer support." ?

    Every time i try to download photoshop it tell me this "We are currently experiencing some issues, please try again later. If the problem persists, contact customer support." ?

    Notdiego__ are you on a managed network?  If not then please see Sign in, activation, or connection errors | CC, CS6, CS5.5 - http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html for several common solutions.

  • When i try to download Dreamweaver i get 'We are currently experiencing some issues, please try again later. If the problem persists, contact customer support.

    I am trying to download Dreamweaver trial edition but it repeatedly gives me this error 'We are currently experiencing some issues, please try again later. If the problem persists, contact customer support.'

    try this link, Adobe CC 2014 Direct Download Links – Creative Cloud 2014 Release | ProDesignTools
    p.s. you'll need to follow, at least, the first few 'very important instructions' listed at that link.

  • Install failure:We are currently experiencing some issues, please try again later. If the problem persists, contact customer support

    Why do all of the desktop application installations fail with this message:
    Photoshop: how to install
    We are currently experiencing some issues, please try again later. If the problem persists, contact customer support.
    (Although the application name matches the respective application).
    The troubleshooting guide refers to error numbers but none of the failures provide error numbers.

    Since you are experiencing the difficulty with multiple web browser then it would need to be caused by something global such as anti virus software. Any software which will affect your web browsers ability to accept cookies and secure connections could be causing the behavior you are experiencing.
    I would also recommend clearing your cache and cookies if you have not done so already.
    If you can please update this discussion with the software title and version of the software, affecting your ability to download Adobe software, it would be appreciated.

  • "We are currently experiencing some issues, please try again later. If the problem persists, contact customer support."

    I am trying to download my first app and it comes up with this '
    We are currently experiencing some issues, please try again later. If the problem persists, contact customer support.
    not a great experience first off.
    Please fix or explain.

    Make sure you have cookies enabled and clear your cache.  If the problem persists try using a different browser.

  • This message keeps popping up "theres an error saying "We are currently experiencing some issues, please try again later. If the problem persists, contact customer support."

    theres an error saying "We are currently experiencing some issues, please try again later. If the problem persists, contact customer support."  im trying to download photoshop on my ubuntu os

    Make sure you have cookies enabled.  If it continues to fail, try using a different browser.

  • Anyone else having trouble downloading applications? keep getting this messageWe are currently experiencing some issues, please try again later. If the problem persists, contact customer support.?

    Is anybody else having trouble accessing the part of the site in which you download creative cloud?
    "We are currently experiencing some issues, please try again later. If the problem persists, contact customer support."

    Please read, and reply back here with information https://forums.adobe.com/thread/1499014
    -and try some steps such as changing browsers and turning off your firewall for downloads
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • IPod classic issues with iTunes 9 just may be disk problems in ipod

    I have done extensive testing for several days now on this iTunes 9 issue with iPod Classics. I used 3 different computers, 1 Macbook Pro, Windows 7 and XP with iTunes 8. I had 2 - ipod classic 80GB and 2 - ipod 5th Generation 30GB units people gave me to look at.
    It would take too much typing to describe all the restores, syncs, formats, copies I did over the past few days.
    Bottom line: Using PC utilities I began to believe the iPod hard drives had bad sectors. I trusted the disk testing because I got different results from different ipods. The problems I experienced and what I have read here are consistent with what you would expect from disk problems and S.M.A.R.T. technology on the drives.
    If bad sectors on a drive are dealt with by S.M.A.R.T. I would expect delays in accessing those sectors to occur.. resulting in delays to restore, delays to sync, delays to even skip songs on the ipod itself.
    What may be the case is switching to iTunes 9, discovers when it trys to use the bad sectors. Maybe iTunes 9 is more timing temperamental. I have iPods that pass all disk tests that work fine with iTunes 9 on mac and PC. The other 2 ipods reporting bad sectors on a disk test, can restore, but syncing 3000+ songs is nearly impossible. Sync delays were consistent with where I would expect bad sectors to exist in the process. Delays I noticed just copying a folder to the ipod in disk mode were consistent with the delays that occur syncing in iTunes.

    It is a possibility...
    I will state though that in my opinion the main problem is that itunes 9 is far less fault tolerant than prior versions and is far more likely to preemptively send an ipod into recovery mode when running into a problem when a ipod is plugged in.
    I'd had a couple of incidents in prior versions of itunes when it flashed an alert message that it was having trouble accessing the ipod. Usually unplugging and reconnecting the ipod resolved the issue. Unfortunately this system of handling the issue does not work at all with itunes 9. What happens is that the next time you plug in the ipod it is preemptively sent into recovery mode.
    I've had my ipod sent into recovery mode 7-8 times since I Installed Itunes 9. The last 5 of those in the last week. I've already done the reinstall itunes 9 from scratch and I still had to do a recovery of the ipod last night. Today I bought a new interface cable on the theory that my old cable might be defective. I've been able to plug it in tonight without itunes complaining about being unable to access the ipod

  • My 5s's data has been running dirt slow! Phone company says it's a hardware issue. Has anyone else had the same problem?

    I've had my iphone 5s since Oct. Since I've had it, it will go through these periods where the data just slows to a crawl. So slow that I can't even access the App store until I get back around wi-fi. And this is in areas that I am recieving full signal and it's indicating that I have access to 4G. My wife has the same company, but has an iphone 5 and has not been having this problem. I called the phone comany and they advised me that it's likely a hardware issue. Has anyone had a similar problem with the 5s? If so, what can I do?

    As silly as it may seem, I have had success simply turning my phone completely off and then back on again.  I was using an iPhone 5 on Sprint and would run into this issue a couple of times a month.  I would see the data indicator on my phone switching from 3G to 1x and back again several times over a few minutes while just sitting still.  This would happen regardless of whether or not I had a full strength signal or not.  (Remeber that if your signal strength is below 2 bars,dots,etc, you will not get great data speeds).
    Try rebooting the phone.  If this does not help, pay close attention to the signal strength meter at the top of the phone.  If you and your wife are on the same carrier and it turns out you get different signal strengths while standing in the same location, you may have a problem with your phones antenna.
    If these suggestions do not help, post back to the discussion.

  • Wifi issue...does anyone else have this problem?

    So I just got an iPad wifi+3G this week. I know there are wifi issues with the ipad but mine is a bit unusual. I would always get signal to my wifi connection. I get signal even after i put the ipad to sleep then turn it on. Problem is, I don't always get internet. I get internet for a couple of hours and then nothing for another few hours (all the while the ipad is showing there is a good wifi signal and is connected).
    Sometimes when it's not working, I would plug it in to my iMac and the internet will magically start working again...note however I say sometimes.
    That's it....I'm just curious to see if anyone has the same issue I do.

    Sounds like a DHCP problem. What IP address are you getting? Does it start with 169? On the iPad, connecting to the wireless network is separate from actually getting on the network. You can connect and get an invalid ("self assigned" AKA 169) IP address that is useless. This used to be pretty common with iBooks and MacBooks. Usually the fix is rebooting the router. A permanent fix is replacing the router. You can also check your router settings and make sure the firmware is up to date and you are using all default settings and nothing fancy.

  • Avast detects URL:MAL when opening firefox.No issue with IE or Chrome,after troubleshooting realized problem is NoScript addon.Can it have been infected?

    avast -network shield
    Infection Details
    URL: http://188.24.140.190/
    Process: C:\Program Files (x86)\Mozilla Firefox\firefox.exe
    Infection: URL:Mal

    Hi Tyler,
    Thanks for quick reply
    Initially after some troubleshooting I noticed that I could make infection pop up disappear:
    From Configure how firefox connects to the internet -> changed from "use system proxy settings" to "auto-detect proxy settings" or "no proxy"
    With this option modified, the pop up from avast didn't appear any longer when opening Firefox.
    However I noticed that both Chrome and IE were set to work on the same "use system proxy settings" and they weren't causing problems...so I assumed the problem still has to be with firefox.
    After changing back the option in firefox to "use system proxy" I got again the notice, but saw that when opening firefox in safe mode the issue was gone again.
    I tracked it to the no script addon, after removing it, the issue disappear regardless of proxy config settings...when I reinstall it, it appears again.
    I am now running in depth virus scans to see were the actual infection is.
    It seems to me it is expoiting a vulnerability in this addon, I will try the reset also.

Maybe you are looking for

  • Can't get iphone and ipad to tether

    I have an iphone 4s and an ipad 2 running the latest ios and my O2 tariff includes tethering with 3G or wifi. It used to work fine tethering the ipad to the iphone by turning on personal hotspot on the iphone and finding it with the ipad when away fr

  • Revel Error Message: "Some files could not be uploaded."

    Error Message: "Some files could not be uploaded. 1 file was unable to be uploaded and was skipped." I am a Revel user from its inception. I have never had upload errors before in Adobe Revel. I am trying to upload jpeg files in the same way I have d

  • Workflow for vendor down payment request

    hi All, i need to develop a workflow for vendor down payment request as there is no standard workflow available. But not able to find any business object for it. Is there any standard business object available for it? If no what are the steps that i

  • My iPod Touch 4 responds and runs VERY slowly, it is probably not even a year old, is restoring it the only option?

    My iPod runs VERY slowly, I preordered it when the first white iPods came out. Even typing here it can't keep up, I know if you have less than 6 GB left on your memory it supposedly runs slowly so I deleted stuff and have 13 GB left, I also always cl

  • Connect applet to database!

    How i can connect a client applet to my database on server? Where i can get a source code about this? PLEASE HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I hope you can help me! Sorry my bad english, please...