Start/End Tags are not being accepted by parse if null.

The is my database version:
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE    11.2.0.2.0      Production
TNS for Solaris: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - ProductionWe have a new application that pretty much generates the xml tags. The sending system uses two tags even when a NULL value is being sent. However the Oracle parser does not like it. We get this error:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00231: invalid character 47 ('/') found in a Name or Nmtoken
Error at line 1When I receive a list of parameters as a clob, I then cast it as xml for processing. When I use a tag like <phase/>, the xml parser accepts it. However, when I put into the format being sent <phase></phase> to signify a NULL value. The following is the code snippet that generates the error.
vXmlDoc := XMLTYPE(pSearchParams_Tx);My question is there any way to allow the xml parser to accept the default format that is being sent in? Perhaps is the some sort of pre-processing that would allow the sent in format to be used? Thank you.

I'm not sure I follow fully. I don't have 11.2.0.2 to test against, but I do not encounter any issue with this simple example
Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
SQL> set serveroutput on;
SQL>
SQL> declare
  2    pSearchParams_Tx   CLOB;
  3    vXmlDoc            XMLTYPE;
  4  begin
  5    pSearchParams_Tx := '<phase/>';
  6    vXmlDoc := XMLTYPE(pSearchParams_Tx);
  7    dbms_output.put_line('Done 1');
  8    pSearchParams_Tx := '<phase></phase>';
  9    vXmlDoc := XMLTYPE(pSearchParams_Tx);
10    dbms_output.put_line('Done 2');
11  end;
12  /
Done 1
Done 2
PL/SQL procedure successfully completed I get the same thing on 11.1.0.6 as well.
Do you have a code example that demonstrates the error?

Similar Messages

  • DHCP Option Tags are not being applied...

    Hi,
    About to loose my mind... basically we are working towards a small WYSE Thin Client deployment in our environment.  The WYSE clients require to receive certain DHCP Option Tags to find the WCM server of which they receive their configuration from.  Same
    applies to the WDM Server as well.  The problem is no matter what we do, our test client is not receiving the custom option tags we've defined in our DHCP server.  
    DHCP Servers:
    vlan41
    10.40.1.206
    10.40.1.207
    Test Client:
    vlan46 - ip helpers defined on the switch
    Set to receive the same ip address from the DHCP server through the reservation route.
    Option Tags:
    186 - WDM Server - 10.40.1.184
    195 - WCM Server - 10.40.1.185
    196 - WCM Path - / 
    I've installed Wire Shark on the test client to monitor the DHCP activity.  The above custom options tags are not being pushed on to the client.  
    The Router, DNS Server and Domain Tags are being pushed.  So it's working but also not working????!!!
    Anybody with some insight to this problem?

    Hi hpaul_p
    In all fairness I'm about to give up... the vendor is not coming up with a solution and constantly blaming Microsoft.  To further test and confirm this wasn't a network issue, I've setup a secondary test environment using a 4 port switch, a client and
    a DHCP server.  Same results!!!  I'm really running out of time, so my work around is this:  I've setup a SRV records pointing to the WCM server... in your case this would be SRV record for the WDM server.  I've disabled the auto
    discovery functionality of the WDM Agent, for some reason it seems to be clashing with the WCM agent.  Since you will be using WDM only, don't disable auto discovery, tick the DNS SRV record from the Discovery Settings under the client agent. 
    I'm going to add the clients to the WDM server manually through their ip addresses so don't need auto discovery. From what I gather from the manuals the WCM searches for the repository or conifg servers in this order:  1. SRV 2.DNS (A record)
    3.DHCP (Options), I bet it's the same with WDM.  Though SRV and DNS methods has their limitations, if you will be using the default paths and credentials it shouldn't be a problem.  This is all I have have.  Steven Song I've forwarded you the
    DHCP database, if you find any problems with it please let me know.

  • Anti spam codes for website forms are not being accepted on my imac or iPad

    anti spam codes for website forms are not being accepted on my imac or iPad

    In Safari go to preferences click on privacy and on Block Cookies tick the never box

  • I am not being able to create my apple ID as my card details are not being accepted by the app store. i tried with my visa card as well as master card. help me out to solve the problem..

    I am not being able to create my apple ID as my card details are not being accepted by the app store. i tried with my visa card as well as master card. help me out to solve the problem..

    Were the VISA and MasterCard issued to you by a bank in the country where you reside and do they have a verifiable billing address in the same country?
    Or are these debit cards that you bought in a local store. Apple does not accept debit cards that you bought.

  • Why ADF tags are not being renderered ?

    Hi,
    I am trying to create a jsp file with adf tags, but I am getting the following warnings in the server and as a result the tags are not renderered .
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for HtmlHtml[UIXFacesBeanImpl, id=_id0], rendererType = oracle.adf.Html
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for HtmlHtml[UIXFacesBeanImpl, id=_id0], rendererType = oracle.adf.Html
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for HtmlHead[UIXFacesBeanImpl, id=_id1], rendererType = oracle.adf.Head
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for HtmlHead[UIXFacesBeanImpl, id=_id1], rendererType = oracle.adf.Head
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for HtmlBody[UIXFacesBeanImpl, id=_id2], rendererType = oracle.adf.Body
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for HtmlBody[UIXFacesBeanImpl, id=_id2], rendererType = oracle.adf.Body
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreForm[FormFacesBean, id=_id3], rendererType = oracle.adf.Form
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreForm[FormFacesBean, id=_id3], rendererType = oracle.adf.Form
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreMessages[MessagesFacesBean, id=_id4], rendererType = oracle.adf.Messages
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreMessages[MessagesFacesBean, id=_id4], rendererType = oracle.adf.Messages
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CorePanelGroup[UIXFacesBeanImpl, id=_id5], rendererType = oracle.adf.Group
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CorePanelGroup[UIXFacesBeanImpl, id=_id5], rendererType = oracle.adf.Group
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreCommandLink[CommandLinkFacesBean, id=_id7], rendererType = oracle.adf.Link
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreCommandLink[CommandLinkFacesBean, id=_id7], rendererType = oracle.adf.Link
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreCommandLink[CommandLinkFacesBean, id=_id8], rendererType = oracle.adf.Link
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreCommandLink[CommandLinkFacesBean, id=_id8], rendererType = oracle.adf.Link
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreOutputFormatted[UIXFacesBeanImpl, id=_id9], rendererType = oracle.adf.Formatted
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreOutputFormatted[UIXFacesBeanImpl, id=_id9], rendererType = oracle.adf.Formatted
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreTable[UIXFacesBeanImpl, id=_id10], rendererType = oracle.adf.Table
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreTable[UIXFacesBeanImpl, id=_id25], rendererType = oracle.adf.Table
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreOutputFormatted[UIXFacesBeanImpl, id=_id36], rendererType = oracle.adf.Formatted
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreOutputFormatted[UIXFacesBeanImpl, id=_id36], rendererType = oracle.adf.Formatted
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreTable[UIXFacesBeanImpl, id=_id37], rendererType = oracle.adf.Table
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreOutputFormatted[UIXFacesBeanImpl, id=_id45], rendererType = oracle.adf.Formatted
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreOutputFormatted[UIXFacesBeanImpl, id=_id45], rendererType = oracle.adf.Formatted
    Jun 3, 2008 9:02:17 AM oracle.adf.view.faces.component.UIXComponentBase _getRendererImpl
    WARNING: Could not find renderer for CoreTable[UIXFacesBeanImpl, id=_id46], rendererType = oracle.adf.Table
    Any help will be appreciated,
    Thanks.

    I Found the problem :)
    The faces-config.xml file was missing the following:
    <application>
    <default-render-kit-id>oracle.adf.core</default-render-kit-id>
    </application>

  • Photo Geo tags are not being used by Places

    I have been importing photos into iPhoto with valid geo tags and none of the photos are being shown on the Places map.
    When I initially starting using iPhoto I imported some pictures from my iPhone and realised that the pictures were identified on the Places maps automatically, since I have added photos and manually edited the location information directly in Places.
    If I import pictures from my iPhone they are not entered into Places and if you check all the location information is blank, if you look at the extended information you can see all the correct GPS information...
    I'm confused..

    in your iPhoto preferences is look up places set to "Automatically"? The default is "never" and it must be changed to "automatically" to work.
    LN

  • Podcast explicit tags are not being recognized

    I'm using Squarespace as my website host, and have followed their instructions to insert the iTunes Explicit tag into our feed before submitting to the iTunes store. Unfortunately, after extensive testing with Squarespace support, the tags are being read properly in the XML feed, but each time I attempt to submit via iTunes, the Explicit tag is not recognized. Any help would be greatly appreciated.
    Here is a copy of the XML output (provided by Squarespace support)
    https://img.skitch.com/20120328-t5g175qa2mf3wr3t86ay7rtmwr.png

    1. Try resetting your SMC.
    Resetting the System Management Controller >>
    2. Your laser pickup could be dirty. You can buy a cleaner disc for that.
    3. It may be the media you're using, but it nothing is recognized, it may be hardware related.
    4. Run your hardware tester.
    5. Is your optical drive being recognized in your System Profiler?
    -Bmer
    Mac Owners Support Group - Join us @ MacOSG.com
      Mac611 Mobile Mac Support - about.Mac611.com
       iTunes:MacOSG Podcast | YouTube.MacOSG.com
                       An Apple User Group 
    Have an iPhone or iPod touch? Enter Mac611.com in Safari on it for 'mobile Mac support.'

  • HT1473 I am attempting to import my CD's but I'm finding some songs and albums are not being accepted.  Any ideas what I'm doing wrong?

    After attempting to import music from CD's I am seeing that some of the tracks are not listed in my iTunes library and in some cases, whole albums are missing.  Any suggestions on what I am doing wrong or how to correct?

    Now that we've established that you have the CD correctly imported into iTunes, we can move on from there.
    Connect the iPod to iTunes. When it shows up as a Device (in the left window of iTunes) select it. You will be looking at the Summary tab (or pane).
    On this pane, my choice is to have the option to Sync only ticked songs and videos selected. I recommend this option for you. This is relevant to the next step.
    At the top of the pane select Music. On this pane, check the options for Syncing. You need to have Sync Music selected and then choose either Selected Playlists (which will only put your choice of Playlists onto your iPod) or Entire Music Library. If you select "Entire Music Library" then all your songs (one exception) will be transferred to your iPod.
    The exception is: if you un-tick a song in your iTunes Library, then at the next Sync, it will be removed from the iPod but kept in your Library.
    Any luck?

  • HT1904 I HAVE SPOKEN WITH APPLE AND THEY HELPED ME AS I HAVE CANCER AND THIS IS MY COMFORT THE VIDEOS HELP TAKE AWAY MY PAIN,NOW THE ID AND PASSWORD ARE NOT BEING ACCEPTED AGAIN IHAVE HAD SAME FOR TWO YRS .

    I am having a problem with loging in to my apps as i have had same id and password for all and for two years . youtube music video's helped get through the pain of cancer and the computer help me conect to my friend then i went to mail and i was recieving nothing my doctors all have same passwords and lawyers ,and it would be hard and i could never remember many password changes as i was fine with   ,now this is second time google caused this problem and said i must change password as i belived again and did with out anyone accepting it .i con not recieve mail, or go to face book,or google search as was my only browser and they will not accept my id as they say it is wrong as does all othe web sites as well as youtube i am at a loss . please help me .   Sincerely Debra Rossi Jones
    <Email Edited by Host>

    We are fellow users here on these public forums, you're not talking to iTunes Support - I've asked the hosts to remove your email addresses and password from your post. If that is your current password that you've posted for everyone to see then you should change it IMMEDIATELY.
    I'm not sure that I understand all of your post. By 'google' do you mean your gmail email accounts ? If you do then how are you trying to access your email, via the Mail app and/or another app on your phone, the Mail program or a browser on your Mac ? If you are using the Mail app on your phone and you've checked your email account's password then you should be able to add that new password on your phone by tapping on the email account in Settings > Mail, Contacts, Calendars, then tap on the 'account' at the top of the next screen, and you should then be able to enter the new password. If you are using the Facebook app on your iPhone, and you've changed the password for logging into Facebook, then you should be able to update it on your phone via Settings > Facebook
    If you are using the Mail app on your Mac, then to change your gmail password in it (assuming that you've changed the password for it) then go into Mail > Preferences (command-comma), select the Accounts tab on the preferences, select the gmail account on the list of accounts, and on the right-hand side of that screen you should be able to update its password.
    If the problems are on your Mac then you might be better off re-posting in one of the other forums (e.g. Safari, and there are forums for various Mac OS X versions), and there is also a Using iPhone forum - this forum is for the iTunes Store e.g. buying, downloading content from iTunes.

  • My edits are not being accepted or saved

    I am having issues with editing a PDF file, scanned from paper hardcopy and then edited in Adobe Acrobat X Pro.  I am able to edit fields either via Content>Edit Text, or also have tried using Recognize Text and OCR Suspects function on this document.  I am able to find the highlighted text I want changed, make the changes by overtyping the values, but, when I the "Accept and Find" button, the old values reappear and my edits do not take or save.  What am I missing?

    You are very likely not using ClearScan as your OCR, but searchable image. The latter will always display the image and not the text that you have edited. At least that is a guess.

  • My 2009 macbook microsoft word documents are not being accepted as files.

    My 2009 Macbook seems to be falling behind. Using Mac OS X (Version 10.6.8) and Microsoft Word for Mac 2008 (version 12.3.6).
    For some reason, my files do not work online. They are "invalid." For example, "invalid file type" popped up on my school online dropbox and my online grad school application. My files are, however, in the correct (doc, docx, pdf) file types. I had to go on campus and use a PC to upload assignments and applications.
    Not sure if it's my software or old word version.
    Anywho, I just need some answers!

    Regardless of what system you are on (Windows/Mac), a filename extension is required when transferring files online. This was noted in the error message of your initial post:
    No File Extension For This File **File  Name**
    Make sure this  file has the correct extension.
    You would have had the same problem on Windows if you neglected a filename extension.
    It might be a bit more likely to accidentally save a file without an extension on Mac because Mac has been able in the past to work without filename extensions.  This is changing. Everyone should be using filename extensions if they expect to effectively share files.

  • My Apple ID and password are not being accepted by my iphone?  I have reset and reset these items but to no avail!  Thanks

    I have tried and tried to reset my Apple ID and password and on each web page (under Itunes) it has shown that the information was completely reset and no problems were noticed.  When I have put this information into my iphone 4 in order to download my (now 35) updates, the phone says that the password is not correct.  I have seriously attempted each step of these two processes at least 20 times but to no avail. Please help and thank you all for sharing.

    Maybe the apps were downloaded using a different Apple ID.
    Check using iTunes > Get Info on one of the apps. 

  • Client Commands are Currently Not Being Accepted

    Hi,
    I made a outline restructure on my essbase but my laptop suddenly shut down. When I tried to turn the application on again and tried to add members on Essbase, I got the error message, "Client commands are currently not being accepted"
    I can't make any changes and I also have tried to end archive using MAXL but also get the same error message.
    Anyone has the solution please let me know since this is on production machine. Thanks.

    Since you were in the middle of an outline restructure, I'm guessing it is hung. You can double check that by looking in the database directory to see if there is a file dbname.otn and/or .pan or .inn or .esn files. If they are there, then stop the application. Yoy may need to go to task manager in windows or PS in Unix and kill the esssvr session associated with the session. Then try to restart the app. If it starts fine, if not, look at the files mentioned above and move them to a temp directory and try again. If it still does not work, then the third option would be to move the files above out and move bak in the files ending in "N" renaming them to the proper name..ind, pag, .otl, .esm and try again.
    Typically, depending on version you only need to kill the app process and restart

  • My 4S has stopped ringing. Voicemail's disabled but if you call me, you'll hear it ring your end but it does nothing at mine and freezes if I make a call. Texts are not being delivered or coming through delayed. Ringer is on, tone enabled - help!

    My iPhone 4S has stopped ringing altogether. Voicemail is disabled but if you call me, you'll hear it ringing at your end but it does nothing my end and freezes in the phone app if I make a call (doesn't ring or connect and doesn't freeze the phone, just the calling part). Texts are not being delivered or coming through delayed. Ringer is on, tone enabled - help!
    I've disabled roaming so it only runs on wifi (this after getting a £4k phone bill...) and I can use Skype, Viber and WhatsApp with no problem at all.
    Would really appreciate any help at all!
    Many thanks.

    Hi there - am with Orange and they said nothing wrong with account and service running normally.  They said if they had cut me off I would've received a text (debatable with current message receiving situation!) and when I called out it would say 'calls from this number are barred'.  Also if you called me it would say something similar.  But it doesn't, it will ring and ring until it rings off but nothing happens at all on my handset. Not even a missed call notification.  If I call out, it will display that it is calling the number but that's it.  If I cancel the call it will constantly display 'ending call'.  If I come out of the phone and go to another app then revist phone it will start calling that last dialled number - without ever getting as far as ringing or connecting.

  • SQL CASE statement in XML template- End tag does not match start tag 'group

    Hi All,
    I am developing a report that has the SQL CASE statement in the query. I am trying to load this into RTF with report wizard and it gives me below error
    oracle.xml.parser.v2.XMLParseException: End tag does not match start tag 'group'
    Does XML publisher support CASE statement?
    My query is something like this
    SELECT customercode,
    SUM(CASE WHEN invoicedate >= current date - 30 days
    THEN balanceforward ELSE 0 END) AS "0-30",
    SUM(CASE WHEN invoicedate BETWEEN current date - 60 days
    AND current date - 31 days
    THEN balanceforward ELSE 0 END) AS "31-60",
    SUM(CASE WHEN invoicedate < current date - 60 days
    THEN balanceforward ELSE 0 END) AS "61>",
    SUM(balanceforward) AS total_outstanding
    FROM MyTable
    GROUP BY customercode
    ORDER BY total_outstanding DESC
    Please advice if the CASE statement or the double quotes are causing this error
    Thanks,
    PP

    I got this to work in the XML but the data is returning zeros for all the case statements. When I run this in toad I get results for all the case conditions but when ran in XML the data displayed is all zeros. I am not sure what I am missing. Can someone shed some light on this please
    Thanks!
    PP

Maybe you are looking for

  • HT1414 I have in my ipad icloud backup window open and I can't close and I can't do anything I tried to press OK and nothing happen is freezing

    I have in my ipad icloud backup window open and I can't close and I can't do anything I tried to press OK and nothing happen is freezing

  • VW WIFI Auto-On No Longer Works

    I updated my Droid Incredible yesterday to GB 2.3.4 and now the VW WIFI Auto-On app is no longer working.  It had actually been working poorly over the last couple of weeks, whereby it wasn't turning the WIFI radio off.  Now it is no longer turning t

  • Action Required Email is Delivered w/ Null Values

    See attachment where a declined expense report was delivered to traveler with null values or without details. Why did this happen only for him? Other travelers that have reports declined are getting the normal verbiage.

  • IMove sound track won't go away!

    I created a soundtrack in garageband 11, imported it to iMove 11  then went back to lengthen it slightly.  iMovie will NOT recognize the revised soundtrack!  I have deleted the old one and reimported the new one to iTunes and then into iMove but the

  • Half of RAID not mounting

    I have got an Xserve RAID RAID with 250 gig drives. Drives 1-7 RAID 5 connected to one server through a Qlogic SAN box 64 and working as expected. Drives 8-14 RAID 5 connected to another server also through the Qlogic switch. I cannot get 8-14 to mou