XPath query works with CLOB but not with object relational

hi all
i have the following queries,the XQuery work with all, but XPath queries work with XMLType CLOB and Binary XML, but they do not work with XMLType as Object relational,
select extract (object_value,'movies/directorfilms/films/film [studios/studio = "Gaumont"]')
from xorm;
select extract (object_value,'movies/directorfilms[director/dirname = "L.Cohen"]/films/film[position()=2]/t')
from xorm;
they shows this message
ORA-00932: inconsistent datatypes: expectd SYSTEM.name683_COLL got CHAR
thanks

Hi Marco
fisrt here is my RO
BEGIN
DBMS_XMLSCHEMA.registerSchema(
SCHEMAURL=>'http://......../ORMovies.xsd',
SCHEMADOC=>bfilename('DB','Movies.xsd'),
LOCAL =>false,
GENTYPES=>true,
GENTABLES=>FALSE,
CSID=>nls_charset_id('AL32UTF8'));
END;
create table XORM of xmltype
xmltype store as object relational
XMLSCHEMA "http://......../ORMovies.xsd"
ELEMENT "movies";
INSERT INTO XORM
VALUES(XMLType(BFILENAME('DB','ORMovies.xml'),nls_charset_id('AL32UTF8')));
here the XQuery format that work fine with the OR
A/D
select XMLQuery ('for $a in movies/directorfilms/films/film
          where $a/studios/studio = "Gaumont"
          return $a'
     passing object_value
     returning CONTENT)"TitleX"
from xorm;
child element query
select XMLQuery ('for $a in movies/directorfilms/director[dirname = "Feyder"]
          let $b:=$a/../films/film[position()=2]
          return $b/t'
     passing object_value
     returning CONTENT)"TitleX"
from xorm;
here is the XPath format which doesn't work
select extract (object_value,'movies/directorfilms/films/film [studios/studio = "Gaumont"]')
from xorm;
select extract (object_value,'movies/directorfilms[director/dirname = "Feyder"]/films/film[position()=2]/t')
from xorm;
by the way all queries work fine with the CLOB or Binary XML
many thanx Marco

Similar Messages

  • HT3387 When I use pages the languages that I mainly use are English and Hebrew. The spellchecker works for English but not with Hebrew. How can I add another language to the spellcheck?

    When I use pages the languages that I mainly use are English and Hebrew. The spellchecker works for English but not with Hebrew. How can I add another language to the spellcheck?

    http://m10lmac.blogspot.com/2011/06/extra-spell-checking-dictionaries-for.html

  • Why does the FP 10 work with firefox but not with IE8

    I down loaded the folowing for xp FP uninstall, FP plugin and FP debug from the link in one of your replys. now I can watch youtube  with firefox but not with IE8. you asked me before if i was using 16 bit. whats that mean and how do I find out? please help I just want to watch youtube on IE!

    Ok Shag, since you hadn't been on a Forum before, then I'll take some of what I said back:-) I wanted you to stay on one thread, you can get in trouble trying things that may cause you more problems than you had in the beginning. I just had your best interest at heart
    I'll even overlook your all caps here:-) At least you responded
    Now since you say you fixed it, what you should do is to confirm it is fixed by taking a look at your Flash folder. This contains all of the Flash files for IE and FF. Then make sure you have the IE add on and the FF add on. That way if you have any future problems, at least you would know it is not the Flash Player.
    You should only have 2 .exe files for IE and 1 for FF.
    For Video editing, I would check Microsoft and see what they have. Perhaps someone else will come along with other info for you.
    No, I don't get paid here, since I am not an employee. Just a user helping others, since I had a problem at one time and after 4 hours of researching solved it.
    Let me know if you want to check the Flash files.
    Thanks,
    eidnolb

  • Can manually subscribe with Windows but not with Mac

    For some reason I am able to manually subscribe to the below feed just fine with iTunes on my PC (Windows XP) but I get an error when trying with my iMac (OS X 10.5.8):
    *http://feeds.feedburner.com/Metalspeak*
    The error I'm getting with my iMac references "An unknown error occured (400)"
    I was troubleshooting a different feed and am getting similar results: it works fine with the PC, but not with the iMac:
    *http://feeds.feedburner.com/MetalsPeakPodcast*
    The error I'm getting on this feed however states "The file might be corrupted, or a file type that iTunes cannot play"
    Can anyone think of why these feeds work with Windows but not with Mac? Any advice is appreciated!

    The problem lies with the URLs for your media files. The one for the top episode is
    http://www.metalspeak.com/episodes/MetalsPeak 10 - GenresPeak.mp3
    This URL contains spaces, which are not allowed in a URL. Browsers - and from what you say iTunes in Windows - handles this by substituting the code %20 for each space when requesting the file; iTunes for Mac does not.
    You need either to change the filename for each media file, removing the spaces or substituting something such as an underscore, and then amending the feed accordingly: or at the least to amend the feed by replacing each space with %20.
    It's the same problem in the other feed.

  • I get sound from Youtube with Safari but not with Firefox

    I get sound when using my MacPro with Safari but not with Firefox.

    Did you check the volume setting in the player to make sure that the sound isn't muted?
    You can try to clear the Flash local storage.
    Flash Website Storage Settings panel:
    *http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html
    Flash Local storage settings Help:
    * http://www.macromedia.com/support/documentation/en/flashplayer/help/help02.html

  • Photos uploaded through icloud control panel are only synced with iphone but not with ipad

    Photos which are uploaded through icloud control panel are only synced with iPhone but not with iPad. Photos taken with iPhone or iPad are synced with all devices. So, why I do not get the uploaded photos from my pc to iPad? I alredy disabled photo stream on all devices - same failure

    If only one device is not getting updated data, you need to troubleshoot that device and not photostream itself.
    Verify that ipad is connected to wifi, charged over 20 percent, camera app is closed and take a photo of the screen (or anything else, but then close that camera app).
    Open photostream folder on that ipad and see if picture shows up. If you network is good, should not take long.
    Don't forget that while your phone can use wifi and cellular (even it suppose to use wifi for photostream, cellular networks got much better since original photostream was implemented) - you ipad is probably wifi only.
    If picture shows up - you ipad and photostream have no problems and you can go to other devices one by one.

  • BB does sync media with PC but not with Mac

    my BB does sync media with PC but not with Mac. At my Mac I got 'Insert media card'. How can this be solved as PC is no problem?

    I got the Bold 9790. I am not sure which OS, does that matter? Are there OS versions not compatible?

  • 8.5 Report works with OCX but not with CRAXDRT

    Post Author: kjwatson
    CA Forum: Older Products
    I have an application using Crystal Reports 8.5.  It uses the crystal reports OCX to view and print reports.I added the CRAXDRT to the application so I could export PDF files.  It works fine except that Running Total Fields and Formula Fields to not seem to evaluate correctly.  Formula Fields only work if they reference a Database Field.  If they reference a Running Total Field, they do not evaluate. I'm initializing the connection of the tables on the report and sub-reports.  Could I be missing something else? The reports work fine with the older OCX, but not with the CRAXDRT. Any help/ideas are appreciated!Thanks,Kevin 

    Post Author: kjwatson
    CA Forum: Older Products
    I have an application using Crystal Reports 8.5.  It uses the crystal reports OCX to view and print reports.I added the CRAXDRT to the application so I could export PDF files.  It works fine except that Running Total Fields and Formula Fields to not seem to evaluate correctly.  Formula Fields only work if they reference a Database Field.  If they reference a Running Total Field, they do not evaluate. I'm initializing the connection of the tables on the report and sub-reports.  Could I be missing something else? The reports work fine with the older OCX, but not with the CRAXDRT. Any help/ideas are appreciated!Thanks,Kevin 

  • Typekit works with Dreamweaver but not with Muse?

    Why is it that I can use all Typekit's fonts together with Dreamweaver and not with Muse?
    The fonts currently available via the TypeKit font menu in Muse (3.1) are of very low quality. 98% of them are "display type fonts" at best in my humble opinion. I need high quality fonts when designing high quality projects for my customers.
    If I want to use Minion Pro or Futura in my Muse projects — are there any workarounds that does not get lost when I update the site with Muse? For example via the "HTML for <head>" field via the Page Properties dialog window in combination with some other Muse features?
    Does the Adobe Muse Team (or someone else) have a step-by-step guide how to accomplish this?
    Thanks a lot!
    Kudos to The Adobe Muse Team –  Muse is a fantastic piece of software. Easy to work with and really fun to use. Looking forward to the next update!

    This is strange, but hopefully good. 
    I searched for Typekit, fonts and Muse etc on the forums before posting and did not get any relevant hits. But now I think I've found the workaround in the column to the right of this very post under the headline "More Like This".
    http://museinsider.com/how-to-add-typekit-fonts-to-your-muse-site.html

  • Setting margins works with ExportToDisk, but not with ExportToStream...

    I'm filling out a report with SetParameterValue, and not with database, and setting the margins with:
    templateCredencial.ReportDefinition.Sections["DetailSection1"].ReportObjects[elementNumber].Top;
    templateCredencial.ReportDefinition.Sections["DetailSection1"].ReportObjects[elementNumber].Left;
    After that when i call ExportToDisk to write as pdf, the margins that i setted are there, but when i use ExportToStream like that:
    MemoryStream stream = (MemoryStream)credentialTemplate.ExportToStream(ExportFormatType.PortableDocFormat)
    And call stream.ToArray() as return in FileResult, the pdf that shows up on browser is without the margins that i setted. Does anyone have idea how can i return the pdf to the browser with correct margins without get file from disk, using only the stream?

    I don't know because you did not say what the results were or answer any other questions I asked.
    I said what the results were in first post:
    And call stream.ToArray() as return in FileResult, the pdf that shows up on browser is without the margins that i setted. Does anyone have idea how can i return the pdf to the browser with correct margins without get file from disk, using only the stream?
    And, where are you other questions? Sorry, i didn't see it.
    Why can't you simply export to Disk and then stream that file?
    I need performance, and if i need to write a pdf with 10mb, and after read it, and next return (with asp.net mvc 3) to browser like a FileResult, i 'll lose performance.
    What is the right way to change the margins and return it like a byte array without losing the margins that i setted?

  • Direct URL Working In IE but not with New Domain

    Hey Guys
    Something very weird here.
    This music player for www.arikecansing.com works in Mozilla
    but not IE. The site is being hosted here
    www.tahnaiya.com/clients/arike and that link works in IE but not
    under the other domain www.arikecansing.com Weird huh? Does anyone
    know why this is?
    The playlist.xml file is this but do note that i did change
    the mp3 name so the mp3 cannot be downloaded. This site is for my
    client. I would extremely appreciate any help
    <?xml version="1.0" encoding="utf-8" ?>
    <mp3s>
    <file name="song 1" file="
    http://www.tahnaiya.com/clients/arike/music/everything.mp3"
    />
    </mp3s>
    I did try changing the file to this but it still didn't work
    <?xml version="1.0" encoding="utf-8" ?>
    <mp3s>
    <file name="song 1" file="
    http://www.arikecansing.com/music/everything.mp3"
    />
    </mp3s>

    I am not sure...but have you heard that NS 6/Mozilla are use based on standards. So they dod not support some of the proprietary JS/CSS/Misc functionality of IE or NS 4.0+ versions. You can read more about the JavaScript differences on Netscape's NS6 evangism site. Maybe you are missing something. I think I remember reading something about getElementByID/Name ...

  • New shuffle works with Windows but not with Mac

    Just got a new 2nd gen shuffle. Initially it was formatted as Fat32 per Disk Utility on Mac. I reformatted to Mac OS (journaled). iTunes was recognizing the new shuffle on the mac and I created a playlist that showed it took up disk space in the "summary" tab. However nothing played on the shuffle when I disconnected it. I was trying to update the software but that function is greyed out. I tried to click "enable disc use" and when I applied it, it says it can't find the ipod. It wont let me update anything. The only thing I can do is create a playlist that the summary says is on the ipod but it doesnt play.
    I then connected it to my Windows XP machine and it asked me to reformat the drive, which I did, then everything worked flawlessly. I would really prefer to download things to the shuffle from my Mac than Windows XP but it just won't let me. I tried using "iPod Updater" and the most recent one from the list was 03/2006 and that didn't help anyhting. "iPod Reset Utility" would not recognize the ipod to reset it even after I sucessfully set it to Mac OS journaled in Disk Utility.
    I am very frustrated. This also happened to my Nano I purchased a few months ago and I have to organize it on the PC as well.
    I am running iTunes 7.2

    I have exactly the same problem with my two
    computers, both of which are Macs. The shuffle is
    recognised on one, but not the other.
    Here's a screenshot of iTunes ->
    http://www.simongbrown.com/blog/images/2007/shuffle-no
    t-recognised.png
    BTW, I also have an older white iPod in use on the
    Mac that doesn't work.
    I've tried a few things (including running iTunes
    under a different user account, reinstalling iTunes)
    but nothing seems to help. The only thing left to do
    is reinstall the OS, but that sounds a little extreme!
    That's way too extreme... Use the shuffle Reset Utility.
    http://www.apple.com/support/downloads/ipodresetutility10formac.html

  • Ftp access works with Safari but not with Netscape or Explorer

    The problem I am trying to solve is that my ftp service works correctly with Safari but gives an error message when the ftp service is access via Netscape or Explorer. Error message is "530 Guest login disabled". These two web browsers will not display a login screen for access by real users; Safari provides the login screen. The server is restricted to real users only
    G5 XServe   Mac OS X (10.4.7)  
    G5 XServe   Mac OS X (10.4.7)  

    ITEN-
    Check the proxy settings of the programs that are not working.
    Check your firewall settings as well but I do not think that is it.
    Luck-
    -DaddyPaycheck

  • E71 wifi connection works in browser, but not with...

    I need help badly.
    On my Nokia E71 I can easily connect to a wireless network and browse the web from the browser. But when I try to read my Gmail from the mail client on the phone I get an error message "Unable to connect to e-mail server". The settings are correct since if I switch to GPRS/3G connection, then the client connects to the server and downloads the messages. This is weird. The same is for VoIP and Fring and Nimbuzz, they all work with GPRS/3G but they don't when I choose wi-fi.
    What's more weird is that other people in the building use their person handhelds for the above purposes. The IT guy administering the network assures me no ports are blocked and that's obvious, since people use Skype and check their emails through the same wi-fi spots in the building. I fee l am missing something easy to solve, but I can't get through. Please help!

    Hello mgoksoy,
    Thank you for your reply. The problem is not with wifi connectivity option but inability to connect to wifi. For instance, if I run Nimbuzz, the settings are set to request from me each time I start it which connection to use - gprs or wifi. I choose GPRS it works alright, I choose wifi it does not connect and gives me "socket connection failed!" error. I get the same error in other wifi networks, so this is not about one specific wireless network. The same is with other applications, when I choose wifi connection it simply does not connect, like to gmail via nokia email client, I get a "unable to connect to e-mail server" error, whereas if I connect with GPRS, it works fine. And one more important, I can connect to all wifi's and browse the web via browser. But it's just the applications that won't connect and I was thinking if there was a setting in my E71 that need to be adjusted to allow applications wifi connections.

  • Device works using max but not with VI

    Hi All..
    I am able to control a kepco power supply with comminicating by MAX. But with VI (7.0) that has the same command structure it s not possible..Moreover, i dont get any error message either. Could you have a look the VI attached and make ur comments.
    thanks
    Attachments:
    sweeping current.vi ‏79 KB

    I have localized where there are something strange happening.
    I attach 2 VIs one of which works but not other one. The only difference is that  the working one writes data to Writing VI via buffer. When I change buffer to string it doesnt? It doesnt any make any sense to me.. What is wrong?
    Attachments:
    writing_data_not_works.vi ‏50 KB
    writing_data_working.vi ‏47 KB

Maybe you are looking for

  • ICloud Photo Library basics

    TL;DR - how do you populate iCloud Photo Library with pictures if it forces you to delete them before you even get started?? I have an iPhone and iPad (both on 8.1) and Macbook Pro (10.10 Yosemite). Both iOS devices sync with iTunes for the last 12 m

  • Audiobooks imported from CD are scrambled on iPod help!

    I have 8 audiobooks on CD which I imported to iTunes. Each book has some 20+ disks. It took some effort to make sure that it put the CDs in order as one complete single "album" per book as it imported them. You had to make sure it listed them as disk

  • Problem in Cold Fusion MX

    we have an issue displaying content that is under a database, with a datatype ntext. CF don't give us any error but it just don't display the field that is in a ntext datatype. Is there a way to get Cold Fusion to display the content that is under th

  • Billing Request in Value Contract Document Type

    Dear Friends In Value Contract Document Type WK1 in [VOV8] Billing Request is IRC:- Debit Memo Request for Contract What is the use of it how i will see it is effect in standard business process Regards Arun

  • SAP Query - Need to join 3 Tables via outer join

    Hi, I need to join 3 Tables using SAP Query. I wish an OUTER JOIN to be performed for the table join. For Example: Table 1 has 1000 Entries           Field A             Field B           Table 2 has 300 Entries             Field A            Field C