Error using XMLForest(). Please see

Hi,
This is the ERROR encountered using XMLForest().
Declare
    queryCtx  DBMS_XMLQuery.ctxType;
    v_xml     VARCHAR2(32767);
    v_xmlClob CLOB;
    BEGIN
    v_xml:='Select SYS_XMLAGG(XMLElement("SDI",
                                         XMLFOREST(sdi_num)))
    From sdi
    where sdi_num = 22261';
    queryCtx :=DBMS_XMLQuery.newContext(v_xml);
    v_xmlClob :=DBMS_XMLQuery.getXML(queryCtx);
    display_xml(v_xmlClob);
End;
CREATE OR REPLACE PROCEDURE  display_xml(result IN OUT NOCOPY CLOB)
AS
     xmlstr varchar2(32767);
     line varchar2(2000);
BEGIN
     xmlstr:=dbms_lob.SUBSTR(result,32767);
     LOOP
     EXIT WHEN xmlstr is null;
     line :=substr(xmlstr,1,instr(xmlstr,chr(10))-1);
     dbms_output.put_line('.'||line);
     xmlstr := substr(xmlstr,instr(xmlstr,chr(10))+1);
     END LOOP;
end;
SQL> /
.<?xml version = '1.0'?>
.<ERROR>oracle.xml.sql.OracleXMLSQLException: Character ')' is not allowed in an
XML tag name.</ERROR>
PL/SQL procedure successfully completed.
SQL>If the the Select is written on the SQL Prompt
it works fine.
Can some one tell me why this is happening?

can some one help me please?
The SELECT statement seems to run on the SQL prompt
with XMLForest but not in the PROCEDURE associated
with it.
Am i overlooking anything?

Similar Messages

  • Error using Logminer, Please help !

    I am trying to understand how to use logminer.
    I have a database (oracle 9.2.0.4)and have completed the following steps:
    1) set the UTL_FILE_DIR parameter.
    2) Run the dbmslm.sql and dbmslmd.sql scripts
    3) Created a directory and a file under that database
    /oracle/vbi/eltest/logmnr/dict_01.ora
    where :
    Database name : eltest
    Directory name: logmnr ( lrwxrwxrwx permissions)
    Dict file : dict_01.ora (-rwxrwxrwx permissions)
    4) I checked for the V$LOGMNR_CONTENTS, V$LOGMNR_DICTIONARY views just to make sure whether the dbmslm.sql and dbmslmd.sql were executed.
    Now I am trying to extract the data dictionary to an external file, but it gives me error.
    SQL> EXECUTE LOGMNR_DBMS_D.BUILD('dict_01.ora','/oracle/vbi/eltest/logmnr/', OPTIONS=>DBMS_LOGMNR_D.STORE_IN_FLAT_FILE);
    ERROR at line 1:
    ORA-01336: specified dictionary file cannot be opened
    ORA-29280: invalid directory path
    ORA-06512: at "SYS.DBMS_LOGMNR_D", line 928
    ORA-06512: at "SYS.DBMS_LOGMNR_D", line 2016
    ORA-06512: at line 1
    Can anyone please tell me why I am getting this error and what I need to resolve it ?
    Thanks in advance.

    could you post the utl_file_dir parameter value?
    This is clearly indicates that the problem is related to the directory.

  • Which respoitories to use? please see the thread for the scenario!

    Hello Guru's,
    I want to use KM Repositories instead of using the Content Repository which we create in Backend system using OAC0 T.Code.
    The requirement is to store employee photos so that can be linked to Image Container used in Who's Who application of ESS.
    http://www.sd-solutions.com/documents/SDS_Employee_Photos_v4.7.html
    I went through the above link but want to use KM Repository instead.
    Please provide me inputs of what kind of repositories exist in KM and what for those repositories are used and which one to use in our scenario.
    I went through all the help docs, would appreciate if anyone can send step by step config of how to use and which one to use.
    Any inputs are appreciated.
    Thanks in advance for your time.
    Pramod

    HI
    The requirement is to store employee photos so that can be linked to Image Container used in Who's Who application of ESS.
    if u want to make your task simple just use default documents repository a type of cm repository as also said by prem.
    Regards,
    Vijay.

  • Editing is terminated message when running batch input error using lsmw

    Any Idea why would I get the info message like
    "Editing is terminated message when running batch input error using lsmw"
    please suggest where to look at.
    Thanks,
    Edited by: mark_yellow mark on Jul 1, 2008 3:27 AM

    Hi Mark,
    Welcome.
    This is lsmw batch input error.while  uploading the G/L accounts using the Batch Input process (program name RFBISA00) in LSMW.this error mainly generates...
    Fix the error using logs.
    thanks
    karthik

  • When trying to create connection using Contribute 6.5, get error message "Unknown error.  Please see the log for detail."  The log says "Network connection timed out."  What do I do now?

    Have been using Contribute 6.5, and earlier versions, for years with Hostway without any problems.  All of a sudden I cannot create a connection to our website.  Tried to chat with Adobe a twice now and got no help.  Yesterday they started a chat with me, then ended the session without any communication!  My problem has been going on for several weeks now.  I uninstalled Contribute, downloaded and installed again, but it did not help.  Hostway had me connect with Zilla and everything worked fine.  So, they say the problem is with Adobe.    The last attempt ended with "Unknown error. Please see the log for detail."  The log says "Network operation timed out."  Does anyone have any suggestions?

    Hi There,
    Can you please try using any other Internet connection outside your company's network and see if it is working? Alternatively, Can you please try the below settings from the Advanced... Menu while creating the connection using FTP details and try to create the connection again:
    Regards,
    Mayank

  • Select CLAUSE error using CURSORS & XSU.Please SEE.

    Hi,
    I need to create NESTED XML using the DBMS_XMLQuery package.
    I was instructed to use this for a Test purpose:
    SQL> set long 40000
    SQL> SELECT dbms_xmlquery.getXML('select deptno, dname, '||
    2 'cursor(select empno, ename, sal from emp e where e.deptno = d.deptno) employees '||
    3 'from dept d where d.deptno in (10, 20)')
    4 FROM dual
    But am getting the error
    DBMS_XMLQUERY.GETXML('SELECTDEPTNO'||'CURSORIS(SELECTEMPNOFROMEMPEWHEREE.DEPT=D.
    <?xml version = '1.0'?>
    <ERROR>oracle.xml.sql.OracleXMLSQLException: ORA-00923
    : FROM keyword not found where expected
    </ERROR>
    CAN SOMEONE PLEASE Tell me WHAT I HAVE OVERLOOKED??

    Do not forget to put spaces in the SQL string that you create at appropriate places (you forgot to put a space just before your FROM keyword).
    SQL> set long 4000
    SQL> select dbms_xmlquery.getXML('select deptno,' ||
      2  'cursor(select empno from emp e where e.deptno = d.deptno) EMPLOYEES' ||
      3  'from dept d where d.deptno = 10')
      4  FROM DUAL;
    DBMS_XMLQUERY.GETXML('SELECTDEPTNO,'||'CURSOR(SELECTEMPNOFROMEMPEWHEREE.DEPTNO=D
    <?xml version = '1.0'?>
    <ERROR>oracle.xml.sql.OracleXMLSQLException: ORA-00923: FROM keyword not found w
    here expected
    </ERROR>
    1 row selected.
    SQL> set long 4000
    SQL> select dbms_xmlquery.getXML('select deptno,' ||
      2  'cursor(select empno from emp e where e.deptno = d.deptno) EMPLOYEES ' ||
      3  'from dept d where d.deptno = 10')
      4  FROM DUAL;
    DBMS_XMLQUERY.GETXML('SELECTDEPTNO,'||'CURSOR(SELECTEMPNOFROMEMPEWHEREE.DEPTNO=D
    <?xml version = '1.0'?>
    <ROWSET>
       <ROW num="1">
          <DEPTNO>10</DEPTNO>
          <EMPLOYEES>
             <EMPLOYEES_ROW num="1">
                <EMPNO>7782</EMPNO>
             </EMPLOYEES_ROW>
             <EMPLOYEES_ROW num="2">
                <EMPNO>7839</EMPNO>
             </EMPLOYEES_ROW>
             <EMPLOYEES_ROW num="3">
                <EMPNO>7934</EMPNO>
             </EMPLOYEES_ROW>
             <EMPLOYEES_ROW num="4">
                <EMPNO>1</EMPNO>
             </EMPLOYEES_ROW>
          </EMPLOYEES>
       </ROW>
    </ROWSET>
    1 row selected.
    SQL> disconnect
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.3.0 - Production
    SQL>

  • How can I use a USB camera with cRIO 9022. Please see my strange problem.

    Hi,
            I would like to use a USB camera with NI cRIO 9022. I used the same USB camera with NI USB 6216 DAQ device and developed a VI(within a PROJECT and outside it). So, It is working fine with NI USB 6216 device when I use the Vision Assistant Express VI and gets detected in its Initialization Window.  Please see JPEG File 3 where I get NO ERROR.
            I am facing a problem when I want to use it with NI cRIO 9022. What exactly I am doing in this case is:
    1) Create a NEW PROJECT
    2) Add Targets and Devices(NI cRIO 9022)
    3) Use the Scan Interface mode
    4) Create a NEW VI under the cRIO 9022 device 
    5) Use a Timed Loop(Synchronized with Scan Engine) for continuous Data Acquisition and Sending from the Analog I/O modules.
    6) Use the Vision Assistant available through the NI Vision Acquisition 2010 Module(I get STUCK HERE! The Express VI opens the Initialization Window, but I don't see the USB camera like in JPEG File 3)
    I am facing difficulties with this HOST COMPUTER, cRIO implementation differences. On my host computer I have the software packages as shown in JPEG File 1, and on my cRIO 9022 as shown in JPEG File 2.
    Can someone guide me how to overcome this and get the USB camera detected when I am using NI cRIO 9022?
    NOTE: If this is a problem with software mismatches on HOST and NI cRIO 9022 device, please see JPEG Files 1 and 2 for available software and Host and cRIO 9022.
    Thanks.
    Amar.
    Attachments:
    NI Vision Acquisition Express Error for NI cRIO 9022.JPG ‏39 KB
    IMAQ and dx Modules Installed on my NI cRIO 9022 hardware(No NI Vision Acquisition 2010 SP1).JPG ‏82 KB
    NI Vision Acquisition Express NO Error for NI cRIO 9022.JPG ‏48 KB

    Only GigE comms are supported on the cRIO Real Time OS. Have a look at the following:
    Machine Vision on NI CompactRIO and Single-Board RIO
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • I am unable to use iTunes credits for game credits When I try to purchase a box comes up with an error has occurred please try later"

    I am unable to use iTunes credit for game credit purchase. A box comes up with " an error has occurred Please try later" any advice greatly appreciate. Thanks

    mgpainter wrote :
    prince2012 wrote:
    Hi mgpainter
    Welcome to the Community
    Sorry I am not a RIM employee, But still regarding your problem have a look at this RIM Knowledge Base to resolve the error .Try it and see if it resolves your problem : KB25882 .
    Prince
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
    Thanks for the welcome and the reply!
    I looked at KB25882 and my settings are good, so that didn't help.
    I had this problem over a year ago, and someone at RIM found a bit set that shouldn't have been set and fixed it (that is my terminology for what happened).
    I am really looking for a way to contact RIM directly.  I hate going through the mill with my carrier to get it escalated to RIM for resolution......  <sigh>
    Hi mgpainter 
                                Most easiest way to Contact RIM is through your Carrier but as you don't prefer that than there is another way of support called Incident Based Support but just want to inform you that its not free.If you want have a try  BlackBerry Incident Based Support .
    Good Luck
    Prince
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • How can I use USB camera with NI cRIO 9022, please see my strange problem.

    Hi,
            I would like to use a USB camera with NI cRIO 9022. I used the same USB camera with NI USB 6216 DAQ device and developed a VI(within a PROJECT and outside it). So, It is working fine with NI USB 6216 device when I use the Vision Assistant Express VI and gets detected in its Initialization Window.  Please see JPEG File 3 where I get NO ERROR.
            I am facing a problem when I want to use it with NI cRIO 9022. What exactly I am doing in this case is:
    1) Create a NEW PROJECT
    2) Add Targets and Devices(NI cRIO 9022)
    3) Use the Scan Interface mode
    4) Create a NEW VI under the cRIO 9022 device 
    5) Use a Timed Loop(Synchronized with Scan Engine) for continuous Data Acquisition and Sending from the Analog I/O modules.
    6) Use the Vision Assistant available through the NI Vision Acquisition 2010 Module(I get STUCK HERE! The Express VI opens the Initialization Window, but I don't see the USB camera like in JPEG File 3)
    I am facing difficulties with this HOST COMPUTER, cRIO implementation differences. On my host computer I have the software packages as shown in JPEG File 1, and on my cRIO 9022 as shown in JPEG File 2.
    Can someone guide me how to overcome this and get the USB camera detected when I am using NI cRIO 9022?
    NOTE: If this is a problem with software mismatches on HOST and NI cRIO 9022 device, please see JPEG Files 1 and 2 for available software and Host and cRIO 9022.
    Thanks.
    Amar.
    Attachments:
    Host Computer Image or Vision Acquisition Software Installed.JPG ‏91 KB
    IMAQ and dx Modules Installed on my NI cRIO 9022 hardware(No NI Vision Acquisition 2010 SP1).JPG ‏82 KB
    NI Vision Acquisition Express NO Error for NI cRIO 9022.JPG ‏48 KB

    When you select My Computer, you are running the program on the PC.  In this case, the camera works because it is connected to the PC.  The scan engine doesn't work because it needs to run on the cRIO, not the PC.
    When you create the program on the cRIO, you can use the scan engine because the program is on the cRIO.  You can't use the camera because it is back on the PC, and can't be found on the cRIO.
    The project is a wonderful tool, but it may be making the programming seem too simple.  It may not be clear to you that by moving a program to a different location (PC or cRIO), it is running in an entirely different environment on a totally different machine, even though it is just a little further down in the project.  You can't easily access the hardware on one machine while running the program on the other.
    So the summary is:  The camera is attached to the PC.  The scan engine runs on the cRIO.  Never the twain shall meet.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Unknown error please see log for details...

    Hi,
    I have been having major issues with not being able to
    connect or administer a site, so I deleted the site from the server
    and uploaded a fresh version as the error suggested the files where
    corrupt?
    Now I get the error "Unknown error please see log for
    details" the log is as follows;
    Date: 12/22/2006
    LocalTime: 12:36
    Host: ftp.caitlin-labradoodles.co.uk
    Port:
    LoginID: caitlinlauk
    Path: /
    Passive Enabled: false
    ProxyHost: NoneContribute Alternate Rename: no
    Contribute Optimized: yes
    ======================== Test Results
    ==========================
    NOTE: For more information on FTP server compatibility
    issues, please see
    http://www.macromedia.com/support/contribute/ts/documents/ftp_info.htm
    Login: SUCCESS!
    Changing Directory To: / SUCCESS!
    Directory Listing Test: SUCCESS!
    Make Directory Test: SUCCESS!
    Change Directory Test: SUCCESS!
    Upload a File Test: REMOTE_IO_ERROR - Error reading or
    writing remote resource.
    ----------------------- FTP log from the last operation
    > CWD /mm_diagnose_9qw83
    < 250 Directory successfully changed.
    > PORT 192,168,165,54,207,26
    < 200 PORT command successful. Consider using PASV.
    > TYPE I
    < 200 Switching to Binary mode.
    > STOR upload_test1_reg_.htm
    < 425 Failed to establish connection.
    Cleaning Test Directory: Contribute could not create
    "mm_diagnose" because it already exists. Please remove this folder.
    ----------------------- FTP log from the last operation
    > CWD /
    < 250 Directory successfully changed.
    > RMD mm_diagnose_9qw83
    < 550 Remove directory operation failed.
    > CWD /mm_diagnose_9qw83
    < 250 Directory successfully changed.
    > PORT 192,168,165,54,207,27
    < 200 PORT command successful. Consider using PASV.
    > TYPE A
    < 200 Switching to ASCII mode.
    > LIST
    < 150 Here comes the directory listing.
    < -rw-r--r-- 1 6518 99 0 Dec 22 12:34
    upload_test1_reg_.htm
    < 226 Directory send OK.
    Any suggestions would be great at this stage as Im scratching
    my head with confusion and my customer is getting very irate as she
    can not do anything.

    Hi,
    Can you please verify whether user has
    read/write/delete/append/create directory rights as an FTP user for
    the FTP home directory. If not give the same and try creating the
    connection.
    Please let me knwo if it helps.
    Regards,
    Manoj

  • What is it?   Exit Code: 34 Please see specific errors below for troubleshooting.

    Exit Code: 34
    Please see specific errors below for troubleshooting. For example, ERROR:
    -------------------------------------- Summary --------------------------------------
    - 1 fatal error(s), 0 error(s)
    FATAL: Payload 'Camera Profiles Installer 8.0.0.22 {3F023875-4A52-4605-9DB6-A88D4A813E8D}' information not found in Media_db.
    who can tell me???

    Without proper system information nobody can tell you much. This error usually indicates that a previous install of some Adobe program has introduced an incompatible component and it's blocking the new install. as a start run teh cleaner tool an d try again.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Mylenium

  • I can't download flash cc.  It says" Exit Code: 16 Please see specific errors below for troubleshooting. For example,  ERROR: DW039 ...  -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 1 error(s)

    I can't download flash cc. 
    It says" Exit Code: 16 Please see specific errors below for troubleshooting.
             For example,  ERROR: DW039 ... 
             -------------------------------------- Summary --------------------------------------
              - 0 fatal error(s), 1 error(s)   ERROR: DW039: Failed to load deployment File
    I use mac.

    read the instructions to run the cleaner, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    and then install.

  • Every time I try to update Muse to 2014.3 version in my mac (OS X 10.10.2) I get this error message: "Exit Code: 39 Please see specific errors below for troubleshooting. For example,  ERROR: DW042 ...  ---- Summary   - 0 fatal error(s), 2 error(s)   ERROR

    Every time I try to update Muse to 2014.3 version in my mac (OS X 10.10.2) I get this error message: "Exit Code: 39 Please see specific errors below for troubleshooting. For example,  ERROR: DW042 ...  ---- Summary   - 0 fatal error(s), 2 error(s)   ERROR: Failed CreateAlias ERROR: DW042: ARP Entry couldn't be created for language : es_ES". I've tried both to uninstall the app and run CleanTooler, but there's no way. What else should I do?

    Davidv82268468 have you removed and reinstalled Adobe Muse using the steps listed in CC desktop lists applications as "Up to Date" when not installed?

  • CS4:  "Critical errors were found in setup. Please see the setup log for details" !!

    I am using Win XP Pro SP3. I have CS3 installed, and successfully installed Dreamweaver, Fireworks and Flash from CS4 Design Premium. Then I successfully uninstalled DW, FW and FL CS3.
    When I tried to open a SWF in Illustrator it failed to open, and then I tried to create a really simple SWF (a rectangle) by exporting from Illustrator and tried to open that and it also failed. Whenever I tried to open or place ANY SWF into Illustrator I get a "file *** is in an unknown format and cannot be opened" error.
    I decided there must be a corrupt file, maybe the upgrade must have affected some Illustrator files, so I tried to repair the CS3 installation. After over 2 hours of INTENSE FRUSTRATION having to constantly switch CS3 and CS4 disks many MANY times, the installation failed, listing "common files" that were missing from non-existent folders such as "C:\Documents and Settings\[username]\Desktop\Adobe CS4\Fireworks CS4\payloads\etc
    When I tried to repair the CS4 installation after loading all the profile settings it errors before the installation window comes up, with "Critical errors were found in setup. Please see the setup log for details". Then it shuts down the installer. I then tried to do a system restore and system restore failed on all restore points!
    Please help:
    1. Where is "the setup log"?
    2. Will creating and populating the folders mentioned in the failed CS3 installation from the CS4 disk allow it to work?
    3. How can I uninstall CS4 if I can't even get to the installation window?
    4. Has Adobe just DESTROYED MY REGISTRY BEYOND REPAIR!!!???

    im haveing a huge irritation useing illustrator cs4 live paint bucket because i can use everything else apart from the paint bucket which should be the easyiest tool to use sometimes it works with the white arrow sometimes it doesnt i sometimes get this below message
    the selection contains objects that cannot be converted. live paint groups can only contain paths and compound paths. clipping paths are not allowed
    the lines which i have drawn are connected which i believe have to be in order to use the paint bucket and i have no clipping paths so i am am baffled
    i presume it is because the line is set to 0.01 it seems the live paint bucket wont notice thin lines, but i tried makeing the line thicker so i could use the paint bucket and it still doesnt work.

  • Hi, I have had my MacBook Pro stolen and the police have mentioned about using iCloud to see if I can track it's whereabouts - however I have no idea if I had iCloud on my MacBook or how to track it if I did - can anyone help me please? Thanks :)

    Hi, I have had my MacBook Pro stolen and the police have mentioned about using iCloud to see if I can track it's whereabouts - however I have no idea if I had iCloud on my MacBook or how to track it if I did - can anyone help me please? Thanks

    Welcome to the Apple Support Communities
    To see if you have iCloud, open http://www.icloud.com and log in with your Apple ID. If you can access to iCloud, you have iCloud. If you get an error message or you can't access, you don't have iCloud. This only works if you only have the Mac (not an iPhone, iPod touch or iPad with iCloud).
    Apart from that, "Find my Mac" must be turned on in the Mac in order to track it, so if it wasn't turned on, you won't be able to track it. If it was turned on, the computer must be connected to the Internet to be tracked.
    If you can access to iCloud through http://www.icloud.com, choose "Find my iPhone" and look at the Devices list. If your MacBook Pro shows up, "Find my Mac" is turned on, so see if you can track it and tell to the police that it's possible to track your MacBook Pro

Maybe you are looking for