XML parsing issues - pls.help   #1

Hi Everyone,
I have the following xml from which I need a particular output .
xml Syntax (Toggle Plain Text)
<items><item id="film"><category>entertainment </category><category>drama</category><category>music </category></item><item id="sitcom"><category>entertainment </category><category>tv</category></item> </items>
<items>
<item id="film">
<category>entertainment </category>
<category>drama</category>
<category>music </category>
</item>
<item id="sitcom">
<category>entertainment </category>
<category>tv</category>
</item>
</items>
Output I would like
film|entertainment
film|drama
film|music
sitcom|entertainment
sitcom|tv
But the code I have displays the output as
film|entertainment
film|drama
film|music
film|entertainment
film|tv
sitcom|entertainment
sitcom|drama
sitcom|music
sitcom|entertainment
sitcom|tv
And this is the code I have
java Syntax (Toggle Plain Text)
static void GetItem(Document doc){Element root = doc.getDocumentElement();Element[] items = getElementsByTagNameNR(root,"Item");for(int i=0;i<items.length;i++){String itemIDStr = items[i].getAttribute("ItemID");NodeList nl = doc.getElementsByTagName("Category");for (int j = 0; j < nl.getLength(); j++){Node n = nl.item(j);NodeList nll = n.getChildNodes();for(int k=0; k<nll.getLength(); k++){ Node nn = nll.item(k);streamItemCategory.println(itemIDStr + nn.getNodeValue() + columnSeparator);} }} static void GetItem(Document doc){
Element root = doc.getDocumentElement();
Element[] items = getElementsByTagNameNR(root,"Item");
for(int i=0;i<items.length;i++){
String itemIDStr = items.getAttribute("ItemID");
NodeList nl = doc.getElementsByTagName("Category");
for (int j = 0; j < nl.getLength(); j++){
Node n = nl.item(j);
NodeList nll = n.getChildNodes();
for(int k=0; k<nll.getLength(); k++){
Node nn = nll.item(k);
streamItemCategory.println(itemIDStr + nn.getNodeValue() + columnSeparator);
I have include a condition by which only the categories for that item should be displayed and when the itemid changes it no more should include the old categories
Can someone pls tell me how to do it.
Thanks
G

I think the problem lies in this line of your code:
NodeList nl = doc.getElementsByTagName("Category");check out this link:
http://www.w3schools.com/dom/met_document_getelementsbytagname.asp
This method returns all the nodes with name as 'category' which includes the categories of the sitcom...

Similar Messages

  • My iphone 4 ios 7.0.2 wont detect 3g even after i restored it to factory settings.its a software issue  Pls help . I tried using another phone ang 3g works though

    Pls help...my phone just stopped detecting 3g, i called my provider and said that its a software issue. I did try restoring it to factory settings but no luck. Anybody can help me pls.. I would gladly appreciate it :(

    Hi and i appreciate your help. Its been updated to 7.0.4 now but still no luck here :(

  • XML Parse issues when using Network Data Model LOD with Springframework 3

    Hello,
    I am having issues with using using NDM in conjuction with Spring 3. The problem is that there is a dependency on the ConfigManager class in that it has to use Oracle's xml parser from xmlparserv2.jar, and this parser seems to have a history of problems with parsing Spring schemas.
    My setup is as follows:
    Spring Version: 3.0.1
    Oracle: 11GR2 and corresponding spatial libraries
    Note that when using the xerces parser, there is no issue here. It only while using Oracle's specific parser which appears to be hard-coded into the ConfigManager. Spring fortunately offers a workaround, where I can force it to use a specific parser when loading the spring configuration as follows:
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl But this is an extra deployment task we'd rather not have. Note that this issue has been brought up before in relation to OC4J. See the following link:
    How to change the defaut xmlparser on OC4J Standalone 10.1.3.4 for Spring 3
    My question is, is there any other way to configure LOD where it won't have the dependency on the oracle parser?
    Also, fyi, here is the exception that is occurring as well as the header for my spring file.
    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
    Line 11 in XML document from URL [file:/C:/projects/lrs_network_domain/service/target/classes/META-INF/spring.xml] is invalid;
    nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
         [snip]
         ... 31 more
    Caused by: oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
         at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:425)
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:331)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:222)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
         at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)Here is my the header for my spring configuration file:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:aop="http://www.springframework.org/schema/aop"
           xmlns:tx="http://www.springframework.org/schema/tx"
           xmlns:context="http://www.springframework.org/schema/context"
           xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
           http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
           http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">Thanks, Tom

    I ran into this exact issue while trying to get hibernate and spring working with an oracle XMLType column, and found a better solution than to use JVM arguments as you mentioned.
    Why is it happening?
    The xmlparserv2.jar uses the JAR Services API (Service Provider Mechanism) to change the default javax.xml classes used for the SAXParserFactory, DocumentBuilderFactory and TransformerFactory.
    How did it happen?
    The javax.xml.parsers.FactoryFinder looks for custom implementations by checking for, in this order, environment variables, %JAVA_HOME%/lib/jaxp.properties, then for config files under META-INF/services on the classpath, before using the default implementations included with the JDK (com.sun.org.*).
    Inside xmlparserv2.jar exists a META-INF/services directory, which the javax.xml.parsers.FactoryFinder class picks up and uses:
    META-INF/services/javax.xml.parsers.DocumentBuilderFactory (which defines oracle.xml.jaxp.JXDocumentBuilderFactory as the default)
    META-INF/services/javax.xml.parsers.SAXParserFactory (which defines oracle.xml.jaxp.JXSAXParserFactory as the default)
    META-INF/services/javax.xml.transform.TransformerFactory (which defines oracle.xml.jaxp.JXSAXTransformerFactory as the default)
    Solution?
    Switch all 3 back, otherwise you'll see weird errors.  javax.xml.parsers.* fix the visible errors, while the javax.xml.transform.* fixes more subtle XML parsing (in my case, with apache commons configuration reading/writing).
    QUICK SOLUTION to solve the application server startup errors:
    JVM Arguments (not great)
    To override the changes made by xmlparserv2.jar, add the following JVM properties to your application server startup arguments.  The java.xml.parsers.FactoryFinder logic will check environment variables first.
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    However, if you run test cases using @RunWith(SpringJUnit4ClassRunner.class) or similar, you will still experience the error.
    BETTER SOLUTION to the application server startup errors AND test case errors:
    Option 1: Use JVM arguments for the app server and @BeforeClass statements for your test cases.
    System.setProperty("javax.xml.parsers.DocumentBuilderFactory","com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl");
    System.setProperty("javax.xml.parsers.SAXParserFactory","com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl");
    System.setProperty("javax.xml.transform.TransformerFactory","com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");
    If you have a lot of test cases, this becomes painful.
    Option 2: Create your own Service Provider definition files in the compile/runtime classpath for your project, which will override those included in xmlparserv2.jar.
    In a maven spring project, override the xmlparserv2.jar settings by creating the following files in the %PROJECT_HOME%/src/main/resources directory:
    %PROJECT_HOME%/src/main/resources/META-INF/services/javax.xml.parsers.DocumentBuilderFactory (which defines com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl as the default)
    %PROJECT_HOME%/src/main/resources/META-INF/services/javax.xml.parsers.SAXParserFactory (which defines com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl as the default)
    %PROJECT_HOME%/src/main/resources/META-INF/services/javax.xml.transform.TransformerFactory (which defines com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl as the default)
    These files are referenced by both the application server (no JVM arguments required), and solves any unit test issues without requiring any code changes.
    This is a snippet of my longer solution for how to get hibernate and spring to work with an oracle XMLType column, found on stackoverflow.

  • Need to retrieve all the node values of xml using DOM parser..pls help

    I want to fetch each node value in this xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <Main>
    <AAAAA>
    <ES>ESValue</ES>
    <EI>EIValue</EI>
    </AAAAA>
    <BBBBB>
    <SIP>
    <ST>STValue</ST>
    <TB>TBValue</TB>
    <PM>PMValue</PM>
    <VIP>
    <CARP>
    <AN1>AN1Value</AN1>
    <BN>BNValue</BN>
    </CARP>
    <DARP>
    <SA>
    <AN2>AN2Value</AN2>
    <CN>CNValue</CN>
    </SA>
    </DARP>
    </VIP>
    </SIP>
    </BBBBB>
    </Main>
    output should be the inner text values of diffrent nodes that contain some values..
    i.e
    output:
    ESValue
    EIValue
    STValue
    TBValue
    PMValue
    AN1Value
    BNValue
    AN2Value
    CNValue
    so that i can use thses node values and put it them in database...

    pls check the above xml file in proper redable order...I need to parse using DOM and fetch node values that are present...
    <?xml version="1.0" encoding="UTF-8"?>
    <Main>
        <AAAAA>
            <ES>ESValue</ES>
            <EI>EIValue</EI>
        </AAAAA>
        <BBBBB>
            <SIP>
                <ST>STValue</ST>
                <TB>TBValue</TB>
                <PM>PMValue</PM>
                <VIP>
                    <CARP>
                        <AN1>AN1Value</AN1>
                        <BN>BNValue</BN>
                    </CARP>
                    <DARP>
                        <SA>
                            <AN2>AN2Value</AN2>
                            <CN>CNValue</CN>
                        </SA>
                    </DARP>
                </VIP>
            </SIP>
        </BBBBB>
    </Main>

  • XML Publisher Issue - Please help.

    I am getting the following error when running the XML Report . The program is completing in warning message.
    “Beginning post-processing of request 235281769 on node RMOHSDCGR02 at 19-OCT-2010 10:27:33.
    Post-processing of request 235281769 failed at 19-OCT-2010 10:27:34 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.”
    I have checked the OPP file
    SELECT fcpp.concurrent_request_id req_id, fcp.node_name, fcp.logfile_name
    FROM fnd_conc_pp_actions fcpp, fnd_concurrent_processes fcp
    WHERE fcpp.processor_id = fcp.concurrent_process_id
    AND fcpp.action_type = 6
    AND fcpp.concurrent_request_id = 235281769;
    file_details
    [10/9/10 2:18:18 PM] [main] Starting GSF service with concurrent process id = 76893.
    [10/9/10 2:18:18 PM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [10/9/10 2:18:18 PM] [Thread-16] Service thread starting up.
    [10/9/10 2:18:18 PM] [Thread-17] Service thread starting up.
    [10/18/10 11:57:11 AM] [OPPServiceThread0] Post-processing request 235281598.
    [10/18/10 11:57:11 AM] [76893:RT235281598] Executing post-processing actions for request 235281598.
    [10/18/10 11:57:12 AM] [76893:RT235281598] Starting XML Publisher post-processing action.
    [10/18/10 11:57:12 AM] [76893:RT235281598]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [101810_115712335][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [101810_115712335][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [101810_115712336][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [101810_115712336][][EXCEPTION] [DEBUG] [SECURITY_GROUP_ID]:[0]
    [101810_115712336][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [101810_115712336][][EXCEPTION] [DEBUG] [NLS_CHARACTERSET]:[UTF8]
    [101810_115712336][][EXCEPTION] [DEBUG] [RESP_APPL_ID]:[-1]
    [101810_115712336][][EXCEPTION] [DEBUG] [NLS_LANGUAGE]:[AMERICAN]
    [101810_115712336][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
    [101810_115712336][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[2]
    [101810_115712337][][EXCEPTION] [DEBUG] [NLS_NUMERIC_CHARACTERS]:[.,]
    [101810_115712337][][EXCEPTION] [DEBUG] [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=rmohsdcgr07.oracleoutsourcing.com)(PORT=10710))(ADDRESS=(PROTOCOL=tcp)(HOST=rmohsdcgr02.oracleoutsourcing.com)(PORT=10710)))(CONNECT_DATA=(SID=DDCGRI)))]
    [101810_115712337][][EXCEPTION] [DEBUG] [RESP_ID]:[-1]
    [101810_115712337][][EXCEPTION] [DEBUG] [FND_MAX_JDBC_CONNECTIONS]:[500]
    [101810_115712337][][EXCEPTION] [DEBUG] [FND_JDBC_USABLE_CHECK]:[false]
    [101810_115712337][][EXCEPTION] [DEBUG] [USER_ID]:[-1]
    [101810_115712337][][EXCEPTION] [DEBUG] [NLS_TERRITORY]:[AMERICA]
    [101810_115712337][][EXCEPTION] [DEBUG] [FND_JDBC_PLSQL_RESET]:[false]
    [101810_115712337][][EXCEPTION] [DEBUG] [FND_JDBC_CONTEXT_CHECK]:[true]
    [101810_115712338][][EXCEPTION] [DEBUG] [NLS_DATE_FORMAT]:[DD-MON-RR]
    [101810_115712338][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [101810_115712338][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [101810_115712338][][EXCEPTION] [DEBUG] [NLS_SORT]:[BINARY]
    [101810_115712338][][EXCEPTION] [DEBUG] [NLS_DATE_LANGUAGE]:[AMERICAN]
    [101810_115712338][][EXCEPTION] [DEBUG] [LOGIN_ID]:[-1]
    [101810_115712338][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [101810_115712338][][EXCEPTION] [DEBUG] [APPLTMP]:[ddcgri/applcsf/tmp]
    [101810_115712339][][EXCEPTION] [DEBUG] [java.runtime.name]:[Java(TM) 2 Runtime Environment, Standard Edition]
    [101810_115712339][][EXCEPTION] [DEBUG] [sun.boot.library.path]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/i386]
    [101810_115712339][][EXCEPTION] [DEBUG] [java.vm.version]:[1.5.0_06-b05]
    [101810_115712339][][EXCEPTION] [DEBUG] [OVERRIDE_DBC]:[true]
    [101810_115712339][][EXCEPTION] [DEBUG] [dbcfile]:[ddcgri/applmgr/11510/fnd/11.5.0/secure/DDCGRI_rmohsdcgr02/ddcgri.dbc]
    [101810_115712339][][EXCEPTION] [DEBUG] [java.vm.vendor]:[Sun Microsystems Inc.]
    [101810_115712339][][EXCEPTION] [DEBUG] [java.vendor.url]:[http://java.sun.com/]
    [101810_115712339][][EXCEPTION] [DEBUG] [path.separator]:[:]
    [101810_115712339][][EXCEPTION] [DEBUG] [APPLCSF]:[ddcgri/applcsf]
    [101810_115712340][][EXCEPTION] [DEBUG] [java.vm.name]:[Java HotSpot(TM) Server VM]
    [101810_115712340][][EXCEPTION] [DEBUG] [file.encoding.pkg]:[sun.io]
    [101810_115712340][][EXCEPTION] [DEBUG] [user.country]:[US]
    [101810_115712340][][EXCEPTION] [DEBUG] [sun.os.patch.level]:[unknown]
    [101810_115712340][][EXCEPTION] [DEBUG] [java.vm.specification.name]:[Java Virtual Machine Specification]
    [101810_115712340][][EXCEPTION] [DEBUG] [user.dir]:[ddcgri/applcsf/log/DDCGRI_rmohsdcgr02]
    [101810_115712340][][EXCEPTION] [DEBUG] [java.runtime.version]:[1.5.0_06-b05]
    [101810_115712340][][EXCEPTION] [DEBUG] [java.awt.graphicsenv]:[sun.awt.X11GraphicsEnvironment]
    [101810_115712341][][EXCEPTION] [DEBUG] [java.endorsed.dirs]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/endorsed]
    [101810_115712341][][EXCEPTION] [DEBUG] [os.arch]:[i386]
    [101810_115712341][][EXCEPTION] [DEBUG] [JTFDBCFILE]:[ddcgri/applmgr/11510/fnd/11.5.0/secure/DDCGRI_rmohsdcgr02/ddcgri.dbc]
    [101810_115712341][][EXCEPTION] [DEBUG] [java.io.tmpdir]:[tmp]
    [101810_115712341][][EXCEPTION] [DEBUG] [line.separator]:[
    [101810_115712341][][EXCEPTION] [DEBUG] [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [101810_115712341][][EXCEPTION] [DEBUG] [os.name]:[Linux]
    [101810_115712341][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
    [101810_115712341][][EXCEPTION] [DEBUG] [cpid]:[76893]
    [101810_115712342][][EXCEPTION] [DEBUG] [sun.jnu.encoding]:[ANSI_X3.4-1968]
    [101810_115712342][][EXCEPTION] [DEBUG] [java.library.path]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/i386/server:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/i386:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/../lib/i386:/ddcgri/product/iAS/lib:/ddcgri/product/806/network/jre11/lib/i686/native_threads:/ddcgri/product/806/network/jre11/lib/linux/native_threads:/ddcgri/applmgr/11510/cz/11.5.0/bin:/ddcgri/product/806/lib:/usr/X11R6/lib:/usr/openwin/lib]
    [101810_115712342][][EXCEPTION] [DEBUG] [java.specification.name]:[Java Platform API Specification]
    [101810_115712342][][EXCEPTION] [DEBUG] [java.class.version]:[49.0]
    [101810_115712342][][EXCEPTION] [DEBUG] [sun.management.compiler]:[HotSpot Server Compiler]
    [101810_115712342][][EXCEPTION] [DEBUG] [os.version]:[2.6.9-89.0.26.0.1.ELlargesmp]
    [101810_115712342][][EXCEPTION] [DEBUG] [LONG_RUNNING_JVM]:[true]
    [101810_115712342][][EXCEPTION] [DEBUG] [user.home]:[ddcgri/product]
    [101810_115712342][][EXCEPTION] [DEBUG] [user.timezone]:[Europe/London]
    [101810_115712343][][EXCEPTION] [DEBUG] [java.awt.printerjob]:[sun.print.PSPrinterJob]
    [101810_115712347][][EXCEPTION] [DEBUG] [file.encoding]:[ANSI_X3.4-1968]
    [101810_115712347][][EXCEPTION] [DEBUG] [java.specification.version]:[1.5]
    [101810_115712347][][EXCEPTION] [DEBUG] [CACHEMODE]:[DISTRIBUTED]
    [101810_115712348][][EXCEPTION] [DEBUG] [java.class.path]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/rt.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/lib/dt.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/lib/tools.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/charsets.jar:/ddcgri/applmgr/common/java/appsborg2.zip:/ddcgri/product/806/forms60/java:/ddcgri/applmgr/common/java]
    [101810_115712348][][EXCEPTION] [DEBUG] [user.name]:[apddcgri]
    [101810_115712348][][EXCEPTION] [DEBUG] [DBCFILE]:[ddcgri/applmgr/11510/fnd/11.5.0/secure/DDCGRI_rmohsdcgr02/ddcgri.dbc]
    [101810_115712348][][EXCEPTION] [DEBUG] [java.vm.specification.version]:[1.0]
    [101810_115712348][][EXCEPTION] [DEBUG] [java.home]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre]
    [101810_115712348][][EXCEPTION] [DEBUG] [sun.arch.data.model]:[32]
    [101810_115712348][][EXCEPTION] [DEBUG] [user.language]:[en]
    [101810_115712348][][EXCEPTION] [DEBUG] [java.specification.vendor]:[Sun Microsystems Inc.]
    [101810_115712349][][EXCEPTION] [DEBUG] [java.vm.info]:[mixed mode]
    [101810_115712349][][EXCEPTION] [DEBUG] [logfile]:[ddcgri/applcsf/log/DDCGRI_rmohsdcgr02/FNDOPP76893.txt]
    [101810_115712349][][EXCEPTION] [DEBUG] [java.version]:[1.5.0_06]
    [101810_115712349][][EXCEPTION] [DEBUG] [java.ext.dirs]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/ext]
    [101810_115712349][][EXCEPTION] [DEBUG] [sun.boot.class.path]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/rt.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/i18n.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/sunrsasign.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/jsse.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/jce.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/charsets.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/classes]
    [101810_115712349][][EXCEPTION] [DEBUG] [java.vendor]:[Sun Microsystems Inc.]
    [101810_115712349][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[2]
    [101810_115712349][][EXCEPTION] [DEBUG] [file.separator]:[]
    [101810_115712349][][EXCEPTION] [DEBUG] [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [101810_115712350][][EXCEPTION] [DEBUG] [sun.io.unicode.encoding]:[UnicodeLittle]
    [101810_115712350][][EXCEPTION] [DEBUG] [sun.cpu.endian]:[little]
    [101810_115712350][][EXCEPTION] [DEBUG] [APPLOUT]:[out/DDCGRI_rmohsdcgr02]
    [101810_115712350][][EXCEPTION] [DEBUG] [sun.cpu.isalist]:[]
    [10/18/10 11:57:13 AM] [UNEXPECTED] [76893:RT235281598] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdoQBnr8m42XW101810_1157132190.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/18/10 11:57:13 AM] [76893:RT235281598] Completed post-processing actions for request 235281598.
    [10/18/10 12:09:20 PM] [OPPServiceThread1] Post-processing request 235281600.
    [10/18/10 12:09:20 PM] [76893:RT235281600] Executing post-processing actions for request 235281600.
    [10/18/10 12:09:20 PM] [76893:RT235281600] Starting XML Publisher post-processing action.
    [10/18/10 12:09:20 PM] [76893:RT235281600]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/18/10 12:09:20 PM] [UNEXPECTED] [76893:RT235281600] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdoTQ3qo0WVAG101810_1209202901.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/18/10 12:09:20 PM] [76893:RT235281600] Completed post-processing actions for request 235281600.
    [10/18/10 12:18:30 PM] [OPPServiceThread0] Post-processing request 235281602.
    [10/18/10 12:18:30 PM] [76893:RT235281602] Executing post-processing actions for request 235281602.
    [10/18/10 12:18:30 PM] [76893:RT235281602] Starting XML Publisher post-processing action.
    [10/18/10 12:18:30 PM] [76893:RT235281602]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/18/10 12:18:30 PM] [UNEXPECTED] [76893:RT235281602] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdomVNG5CUiJU101810_1218307062.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/18/10 12:18:30 PM] [76893:RT235281602] Completed post-processing actions for request 235281602.
    [10/18/10 1:45:05 PM] [OPPServiceThread1] Post-processing request 235281611.
    [10/18/10 1:45:05 PM] [76893:RT235281611] Executing post-processing actions for request 235281611.
    [10/18/10 1:45:05 PM] [76893:RT235281611] Starting XML Publisher post-processing action.
    [10/18/10 1:45:05 PM] [76893:RT235281611]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/18/10 1:45:05 PM] [UNEXPECTED] [76893:RT235281611] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdonSDr1Lclur101810_0145054643.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/18/10 1:45:05 PM] [76893:RT235281611] Completed post-processing actions for request 235281611.
    [10/18/10 2:19:06 PM] [OPPServiceThread0] Post-processing request 235281617.
    [10/18/10 2:19:07 PM] [76893:RT235281617] Executing post-processing actions for request 235281617.
    [10/18/10 2:19:07 PM] [76893:RT235281617] Starting XML Publisher post-processing action.
    [10/18/10 2:19:07 PM] [76893:RT235281617]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/18/10 2:19:07 PM] [UNEXPECTED] [76893:RT235281617] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdoyj5TzkRids101810_0219070714.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/18/10 2:19:07 PM] [76893:RT235281617] Completed post-processing actions for request 235281617.
    [10/19/10 5:56:25 AM] [OPPServiceThread0] Post-processing request 235281736.
    [10/19/10 5:56:25 AM] [76893:RT235281736] Executing post-processing actions for request 235281736.
    [10/19/10 5:56:25 AM] [76893:RT235281736] Starting XML Publisher post-processing action.
    [10/19/10 5:56:25 AM] [76893:RT235281736]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/19/10 5:56:25 AM] [UNEXPECTED] [76893:RT235281736] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdocZqznUyg1C101910_0556251555.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/19/10 5:56:25 AM] [76893:RT235281736] Completed post-processing actions for request 235281736.
    [10/19/10 6:07:04 AM] [OPPServiceThread1] Post-processing request 235281738.
    [10/19/10 6:07:04 AM] [76893:RT235281738] Executing post-processing actions for request 235281738.
    [10/19/10 6:07:04 AM] [76893:RT235281738] Starting XML Publisher post-processing action.
    [10/19/10 6:07:04 AM] [76893:RT235281738]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/19/10 6:07:04 AM] [UNEXPECTED] [76893:RT235281738] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdoZmwsSPwwBh101910_0607047996.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/19/10 6:07:04 AM] [76893:RT235281738] Completed post-processing actions for request 235281738.
    [10/19/10 6:25:28 AM] [OPPServiceThread1] Post-processing request 235281741.
    [10/19/10 6:25:28 AM] [76893:RT235281741] Executing post-processing actions for request 235281741.
    [10/19/10 6:25:28 AM] [76893:RT235281741] Starting XML Publisher post-processing action.
    [10/19/10 6:25:28 AM] [76893:RT235281741]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/19/10 6:25:28 AM] [UNEXPECTED] [76893:RT235281741] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdoe1cxbJpotK101910_0625284827.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/19/10 6:25:28 AM] [76893:RT235281741] Completed post-processing actions for request 235281741.
    [10/19/10 7:13:07 AM] [OPPServiceThread0] Post-processing request 235281746.
    [10/19/10 7:13:07 AM] [76893:RT235281746] Executing post-processing actions for request 235281746.
    [10/19/10 7:13:07 AM] [76893:RT235281746] Starting XML Publisher post-processing action.
    [10/19/10 7:13:07 AM] [76893:RT235281746]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/19/10 7:13:07 AM] [UNEXPECTED] [76893:RT235281746] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdopfFpKMviMC101910_0713079968.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/19/10 7:13:08 AM] [76893:RT235281746] Completed post-processing actions for request 235281746.
    [10/19/10 7:22:56 AM] [OPPServiceThread1] Post-processing request 235281748.
    [10/19/10 7:22:56 AM] [76893:RT235281748] Executing post-processing actions for request 235281748.
    [10/19/10 7:22:56 AM] [76893:RT235281748] Starting XML Publisher post-processing action.
    [10/19/10 7:22:56 AM] [76893:RT235281748]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/19/10 7:22:56 AM] [UNEXPECTED] [76893:RT235281748] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdoLVImdiAcDq101910_0722563869.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/19/10 7:22:56 AM] [76893:RT235281748] Completed post-processing actions for request 235281748.
    [10/19/10 8:00:28 AM] [OPPServiceThread0] Post-processing request 235281752.
    [10/19/10 8:00:28 AM] [76893:RT235281752] Executing post-processing actions for request 235281752.
    [10/19/10 8:00:28 AM] [76893:RT235281752] Starting XML Publisher post-processing action.
    [10/19/10 8:00:28 AM] [76893:RT235281752]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    ------ I could not paste the entire file. Please let me know if it is required.
    [10/19/10 10:52:06 AM] [76893:RT235281774] Completed post-processing actions for request 235281774.
    Please help to fix this issue .
    Thanks,
    Am

    Hi,
    What is the application release? Database version? OS?
    Please see these docs.
    XMl Publisher Reports Fail with java.io.FileNotFoundException on Temp Directory After Cloning [ID 1189764.1]
    JAVA.IO.FILENOTFOUNDEXCEPTION NO SUCH FILE FOR EXCEL FORMAT [ID 428855.1]
    XML Publisher Requests Fail Due To java.io.FileNotFoundException - No such file or directory [ID 1072383.1]
    When Running PDF Report, Getting Error File Is Not Accessable From Node/Machine Or java.io.FileNotFoundException [ID 398897.1]
    Thanks,
    Hussein

  • Attribute Mapping Issue - Pls help

    Hi am a newbie......in XML-Java related issue.
    Am trying to map an XML with Java objects.
    Take this XML for example:
    <test>
    <root type="star">
    <player>
    <name>Thierry Henry</name>
    <rating>10</rating>
    </player>
    <player>
    <name>Rooney</name>
    <rating>0</rating>
    </player>
    </root>
    <root type="medium">
    <player>
    <name>nistelrooy</name>
    <rating>-1</rating>
    </player>
    <player>
    <name>xyz</name>
    <rating>0</rating>
    </player>
    </root>
    </test>
    My question is, how do i refer to the attribute "type" in the <Root> element in my corresponding class to be mapped with this xml......kindly help me writing the mapping xml for this also.

    Oops, just realised this is the SES forum and not the Oracle Text forum ... ignore my last post!
    The answer to this depends on whether you're using the table crawler or the database crawler, and what the datatypes are for job_name and vacancy_name.
    If we assume they're VARCHAR2 it's quite straightforward...
    If using the TABLE crawler, then recreate your join so that instead of two columns job_name and vacancy_name, you concatenate the two together in the join into a column called (for example) CONTENT, and use that as the text column to index.
    If using the DATABASE crawler, then simply concat these columns as part of your SELECT into the column named CONTENT.

  • OES Client causes XML Parser Issue with Spring 3 Framework WAR

    Dear All,
    OES Client has been installed in the linux OS and configured JAVA SM in it. Have executed the sample webpage in the tomcat server which contains the 'PepResponse' of getting the authorization value (TRUE / FALSE) and it works fine.
    Code snippet:-
    PepResponse result = PepRequestFactoryImpl.getPepRequestFactory().newPepRequest(user, action, resourceString, null).decide();
    out.println("Result: "+ result.allowed());
    It returns the proper value if I mention the oes-client.jar classpath reference in the tomcat classpath settings, but at the same time the existing spring framework WAR file is not deployed in the tomcat. The same WAR file is deploying properly if I remove the classpath reference of oes-client.jar from the tomcat configuration.
    The issue causes because of xmlparser2.jar(oracle.xdk11.1.1.1) in the oes client.
    Have tried all the alternate approaches and failed to execute both the code together.
    Note:- One of the approach, I have tried to copy xcersImpl.jar and xml-apis.jar in the WEB-INF/lib within the war file and also executed oes authorization sample web page simultaneously with referred oes-client.jar classpath reference. The WAR file is started deploy properly and OES Authorization sample webpage has thrown 'Null Pointer Exception'.
    Anyone, please suggest how to resolve the JAR conflict issue between the OES Client and Spring Framework WAR.

    Hi, I got registered to this bea forms, can you help on where to go for posting new blog.
    Weblogic Consultant

  • Another iMac Freezing Issue - pls help a newbie out

    I understand this problem is not uncommon - I've been trying to read the many threads I see on the issue. However, most posts outline problems, suggestions are made, but then reported to not work. Also, many threads are 2 years old.
    Could someone please suggest a step-by-step troubleshooting solution?
    Here are my pertinent facts:
    * Bought 20" iMac in July 07.
    * Processor: 2.16 GHz Intel Core 2 Duo
    * Memory: 3GB 667 MHz DDR2 SDRAM
    * Hubs installed the second memory stick a while ago (over a year and i don't remember this problem correlating with the new memory).
    * Video: ATI Radeon X1600
    * OS: Mac OS X 10.6.2
    * HD: 250GB capacity, 31GB available
    * I am using an external harddrive to back up my stuff (LaCie, connected by firewire)
    * Frequently used apps: Firefox, iPhoto, Photoshop Elements, Parallels (Quicken for PC), MS Office for Mac, etc.
    The problem starting occurring several months ago, while I was still running Tiger. Have since upgraded to Snow Leopard, with no improvement, in fact, things are getting worse.
    I get display distortion ("artifacts"?) - horizontal lines, blocks of the screen distort, usually clearing after dragging that part of the app off the screen of view and then back.
    Typically, if I start seeing display issues, a freeze up is imminent.
    Sometimes I get a sense it's coming soon - things run more slowly. Other times, it seems without provocation. I click on a window and nothing happens.
    Sometimes it's the wheel of death other times screen completely locks up with no spinning wheel. No option to force quit. Mouse is unresponsive. Keyboard appears to be, although I can toggle the Caps lock button on and off (light toggles). If I am streaming video, the screen will lock up, but the audio continues. If I wait (have gone to bed and come back in the am) it is still frozen.
    If I am streaming video (i.e Hulu on Firefox) or working in memory intensive applications (Windows, Parallels, Photoshop Elements, etc.) Problem is more frequent.
    I can go a day or so without problems, but if I am doing anything slightly involved, it happens much more frequently, as often as every 10 minutes or half hour or so.
    Steps I have taken:
    I always have to do a hard reboot. I have run disk utility multiple times, occasionally it finds and corrects stuff, but no fix seems to be permanent.
    I have seen suggestions of resetting PRAM as well as doing a clean re-install, but also seen that those fixes haven't endured.
    I don't have Apple Care and I'm not sure what steps I should be taking to fix this. Is there hope? I mostly see lots of problems reported, but not successful resolution.
    It's aggravating because I can't use the system for the stuff I bought it for (ex: digital scrapbooking) without worrying about losing my data. I switched to a Mac because I heard they ran so great and were "cool" to boot. While there have been many features of the Mac i enjoy, *if this kind of performance is typical after 2 yrs of use, I will not remain loyal to Apple.*
    If you have been successful in resolving the issue with Apple, what did you tell them and what did they do?
    I am competent system "user", but not as good when it gets into the weeds. Would appreciate any advice, feel free to spell it out as tho I were an idiot.
    I would appreciate a "try this, then try this" approach, especially if you have tried it and it has worked for you.
    Thanks for the help,
    Kendra

    OK, Mean, I mean Meanest, we have the same system (mine was purchased late 2006), and I can say we have identical symptoms. I agree with Paul_31 regarding disk space, but in addition, from all the posts on various Apple forums, it seems clear that the problem is due to the Radeon X1600 graphics card AND heat. These elegantly-designed Macs that we all love have a lot of stuff packed into a small package. Consequently they run hot, and over time the result is components bake and deteriorate. In our case, the weak link seems to be the Radeon card and since it’s not easily replaced, repair costs are nearly as much as the cost of a new iMac. A contributing factor is that over time dust will build up inside your Mac, and this serves as insulation, retarding heat transfer, and causing components to run hotter still.
    OK, so that’s the sad tale, but what can you do? Assuming your system is not too far gone due to the ravages of heat over time, there are things you can do to help prolong it’s life, and hopefully get it to behave itself better until the time it finally fails completely.
    In my case, the steps I’ve taken have resulted in a system that now “generally” runs for days at a time without locking up/crashing. A caveat: these are bandaids, not true fixes. I’m convinced the Radeon card will eventually fail and I’ll be faced with shopping for a new Mac – I’m only hoping the steps taken will give me a few more years of use before that happens. So, here’s my suggestions (basically they all have to do with getting your Mac to run cooler and being able to monitor temps so you know just how hot things are getting):
    1. First of all, if you don’t already have one, get one of the free programs available to monitor your Mac’s internal temperatures. One of the most popular ones is a widget, iStat Pro. As I type this iStat Pro is showing my temps are as follows:
    Hard Drive 92 deg. F
    CPU 85 F
    Ambient Air 69 F
    GPU Diode (graphics card) 92 F
    Hard Drive Bay 95 F
    Memory Controller 90 F
    Optical Drive 81 F
    If you have iStat Pro and see that your temps are about the same as these, I would say don’t bother to read further – you may have a different set of problems. If your temps are 10-20 F (or more) higher, keep reading.
    2. Try to clean out the internals of your Mac with compressed air. After 3+ years of use, I used an air compressor with an air gun attachment and blew through the vents at the back and bottom of my Mac with 60-80psi and actually saw a cloud of dust come out of my Mac. A more effective approach would entail cracking open the case of the Mac so you could really blow directly on the different boards/components. I haven’t done that, but I’m tempted to give it a try. Note: Some have suggested vacuuming and/or using a can of compressed air. I don’t think that approach is all that effective. You need a really strong flow of air to get that dust out of the inards.
    3. Download the free program SMC Fan Control (v 2.2.2). It will allow you to adjust the fan speeds higher for each of the 3 internal fans. The Mac has firmware that ramps up the speeds of these fans as internal temps rise, but the general consensus is the Mac firmware is “too little, too late”. With the standard Mac firmware, the fans will run at their default settings well beyond the point where the components are already way too hot. SMC Fan Control allows you to set the minimum fan speeds higher than the Mac default.
    Once you've done these steps, I'd suggest doing a SMC reset, then re-boot while keeping your fingers crossed.
    This is getting too long so I’ll stop for now. Good luck...

  • HTTP sender Adapter - XML parsing issue in SAP PI

    Dear All,
    We have a scenario where HTTP sends data to JDBC.
    We shared the URL with Sender application and they are trying to send the data to PI using URL.
    But when it comes to PI Integration Engine, we noticed the inbound payload in Plain text.
    Sender Application showed their logs and data they are sending is in XML format.
    Any pointers on this issue ? Do we need to do any settings from PI end?
    Regards,
    Srini

    Hi,
      Check the xml document having the code page UTF-8.
    Regards,
    Prakasu.M

  • Xml parsing issue with the existsnode function

    Hi Friends,
    I have a question as like below
    We have the contacts and alternate contacts request as like below.
    <TXLife>
    <UserAuthRequest>
    <UserLoginName>hqtest24</UserLoginName>
    <UserDate>2012-07-11</UserDate>
    <UserTime>12:42:55</UserTime>
    </UserAuthRequest>
    <TXLifeRequest>
    <TransRefGUID>0c95642d-663a-455f-bd92-aca678538986</TransRefGUID>
    <TransType tc="1204">OLI_TRANS_TRNPARTY</TransType>
    <TransExeDate>2012-07-11</TransExeDate>
    <TransExeTime>12:42:55</TransExeTime>
    <InquiryLevel tc="3">OLI_INQUIRY_OBJRELOBJ</InquiryLevel>
    <InquiryView>
    <InquiryViewCode>INTERMEDIARYUPDATE-CHBM-1204A</InquiryViewCode>
    </InquiryView>
    <OLifE>
    <SourceInfo>
    <SourceInfoName>CHBM Admin Tool</SourceInfoName>
    </SourceInfo>
    <Party id="Intermediary1">
    <PartyTypeCode tc="2">OLI_PT_ORG</PartyTypeCode>
    <PartySysKey SystemCode="CHBM">111259</PartySysKey>
    <FullName>Example Law Firm test</FullName>
    <Organization>
    <DBA>Example Law Firm test</DBA>
    </Organization>
    <Address>
    <AddressTypeCode tc="2">OLI_ADTYPE_BUS</AddressTypeCode>
    <Line1>20 Yellow Brick Rd</Line1>
    <Line2>Suite 23</Line2>
    <Line3>line 3</Line3>
    <City>wonderland34</City>
    <AddressState>NY</AddressState>
    <Zip>229292</Zip>
    <AddressCountry>US</AddressCountry>
    </Address>
    <Phone>
    <PhoneTypeCode tc="2">OLI_PHONETYPE_BUS</PhoneTypeCode>
    <DialNumber></DialNumber>
    </Phone>
    <Phone>
    <PhoneTypeCode tc="19">OLI_PHONETYPE_FAX</PhoneTypeCode>
    <DialNumber></DialNumber>
    </Phone>
    <Attachment id="Attachment1">
    <DateCreated>2012-07-11</DateCreated>
    <UserCode>hqtest24</UserCode>
    <AttachmentBasicType tc="1">Text</AttachmentBasicType>
    <AttachmentSource>ATTORNEY</AttachmentSource>
    <Description>INTERMEDIARY TYPE UPDATED</Description>
    <AttachmentData>Attorney</AttachmentData>
    <AttachmentType tc="1009800001">Transaction Log</AttachmentType>
    <AttachmentLocation tc="1">Inline</AttachmentLocation>
    <OLifEExtension VendorCode="0098" ExtensionCode="Attachment">
    <AttachmentExtension>
    <CreationTime>12:42:55</CreationTime>
    <Sequence>1</Sequence>
    </AttachmentExtension>
    </OLifEExtension>
    </Attachment>
    <Attachment id="Attachment2">
    <DateCreated>2012-07-11</DateCreated>
    <UserCode>hqtest24</UserCode>
    <AttachmentBasicType tc="1">Text</AttachmentBasicType>
    <AttachmentSource>James</AttachmentSource>
    <Description>ALTERNATE CONTACT FIRST NAME UPDATED</Description>
    <AttachmentType tc="1009800001">Transaction Log</AttachmentType>
    <AttachmentLocation tc="1">Inline</AttachmentLocation>
    <OLifEExtension VendorCode="0098" ExtensionCode="Attachment">
    <AttachmentExtension>
    <CreationTime>12:42:55</CreationTime>
    <Sequence>2</Sequence>
    </AttachmentExtension>
    </OLifEExtension>
    </Attachment>
    <Attachment id="Attachment3">
    <DateCreated>2012-07-11</DateCreated>
    <UserCode>hqtest24</UserCode>
    <AttachmentBasicType tc="1">Text</AttachmentBasicType>
    <AttachmentSource>Mathew</AttachmentSource>
    <Description>ALTERNATE CONTACT LAST NAME UPDATED</Description>
    <AttachmentType tc="1009800001">Transaction Log</AttachmentType>
    <AttachmentLocation tc="1">Inline</AttachmentLocation>
    <OLifEExtension VendorCode="0098" ExtensionCode="Attachment">
    <AttachmentExtension>
    <CreationTime>12:42:55</CreationTime>
    <Sequence>3</Sequence>
    </AttachmentExtension>
    </OLifEExtension>
    </Attachment>
    <EMailAddress>
    <EMailType tc="1">Business</EMailType>
    <AddrLine></AddrLine>
    </EMailAddress>
    <URL>
    <URLAddr>www.example.com</URLAddr>
    <URLType tc="1">Home Page</URLType>
    </URL>
    </Party>
    <Activity id="Activity1" HoldingID="Intermediary1">
    <UserCode>hqtest24</UserCode>
    <LastUpdate>2012-07-11</LastUpdate>
    <ActivityCode>CHBM10004</ActivityCode>
    <OLifEExtension VendorCode="0098" ExtensionCode="Activity">
    <ActivityExtension>
    <SubActivityCode>CHBM20002</SubActivityCode>
    <LastUpdateTime>12:42:55</LastUpdateTime>
    </ActivityExtension>
    </OLifEExtension>
    </Activity>
    <Party id="Contact1">
    <PartyTypeCode tc="1">OLI_PT_PERSON</PartyTypeCode>
    <PartySysKey>555223</PartySysKey>
    <Person>
    <FirstName>Jack</FirstName>
    <LastName>Scarecrow23</LastName>
    </Person>
    <Phone>
    <PhoneTypeCode tc="2">OLI_PHONETYPE_BUS</PhoneTypeCode>
    <DialNumber>2223993993</DialNumber>
    </Phone>
    <Phone>
    <PhoneTypeCode tc="19">OLI_PHONETYPE_FAX</PhoneTypeCode>
    <DialNumber>2223392020</DialNumber>
    </Phone>
    <EMailAddress>
    <EMailType tc="1">Business</EMailType>
    <AddrLine>[email protected]</AddrLine>
    </EMailAddress>
    </Party>
    <Relation id="Relation1" OriginatingObjectID="Intermediary1" RelatedObjectID="Contact1">
    <RelationRoleCode tc="150">Authorized Person</RelationRoleCode>
    </Relation>
    <Relation id="Relation1" OriginatingObjectID="Intermediary1">
    <RelationRoleCode tc="104">Intermediary</RelationRoleCode>
    <RelationDescription tc="42">Attorney</RelationDescription>
    </Relation>
    <Party id="Contact2">
    <PartyTypeCode tc="1">OLI_PT_PERSON</PartyTypeCode>
    <PartySysKey>556915</PartySysKey>
    <Person>
    <FirstName/>
    <LastName/>
    </Person>
    <Phone>
    <PhoneTypeCode tc="2">OLI_PHONETYPE_BUS</PhoneTypeCode>
    <DialNumber>2343434</DialNumber>
    </Phone>
    <Phone>
    <PhoneTypeCode tc="19">OLI_PHONETYPE_FAX</PhoneTypeCode>
    <DialNumber>45345345</DialNumber>
    </Phone>
    <EMailAddress>
    <EMailType tc="1">Business</EMailType>
    <AddrLine>[email protected]</AddrLine>
    </EMailAddress>
    </Party>
    <Relation id="Relation4" OriginatingObjectID="Intermediary1" RelatedObjectID="Contact2">
    <OriginatingObjectType tc="6">Party</OriginatingObjectType>
    <RelatedObjectType tc="6">Party</RelatedObjectType>
    <RelationRoleCode tc="150">Authorized Person</RelationRoleCode>
    <InterestPercent>-1.0</InterestPercent>
    <Sequence>2</Sequence>
    </Relation>
    </OLifE>
    </TXLifeRequest>
    </TXLife>
    From the above request we have to parse the alternate contact details.
    In the procedure we are using as like below
    FOR b IN (
    SELECT t.vAltCntcity vAltCntcity,
    t.Partysyskey Partysyskey,
    t.vAltCntZip vAltCntZip,
    t.vAltCntGovtID vAltCntGovtID,
    t.vAltCntTelno vAltCntTelno,
    t.vAltCntemailaddr vAltCntemailaddr,
    t.vAltCntstats vAltCntstats,
    t.vAltCntAdd1 vAltCntAdd1,
    t.vAltCntAdd2 vAltCntAdd2,
    t.vAltCntAdd3 vAltCntAdd3,
    t.AltCntstate AltCntstate,
    t.AltCntcntry AltCntcntry,
    t.vAltCntBRTH_DT vAltCntBRTH_DT,
    t.vAltCntGender vAltCntGender,
    t.vAltCntFaxno vAltCntFaxno,
    t.vAltCnturladdr vAltCnturladdr,
    t.AltCntorgFST_NM AltCntorgFST_NM,
    t.AltCntorgLST_NM AltCntorgLST_NM,
    t.AltCntorgMID_NM AltCntorgMID_NM,
    t.AltCntorgPFX_NM AltCntorgPFX_NM,
    t.AltCntorgSUFX_NM AltCntorgSUFX_NM,
    t.AltCntpartytypecode AltCntpartytypecode,
    t.vAltCntdatarep vAltCntdatarep,
    t1.vAltCntInterestPercent vAltCntInterestPercent,
    t1.ROID ROID
    FROM (
    SELECT xData doc FROM dual ) temp_table,
    XMLTable ( '/TXLife/TXLifeRequest/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]' passing doc
    COLUMNS OOID varchar2(50) path '@OriginatingObjectID'
    , ROID varchar2(50) path '@RelatedObjectID'
    , vAltCntInterestpercent varchar2(100) path 'InterestPercent'
    )t1,
    XMLTable('/Party[@id=$roid]' passing vAltcnt, t1.roid as "roid"
    COLUMNS
    vAltCntcity VARCHAR2(20) path 'City',
    Partysyskey VARCHAR2(100) path 'PartySysKey',
    vAltCntZip VARCHAR2(20) path 'Address/Zip',
    vAltCntGovtID VARCHAR2(20) path 'GovtID',
    vAltCntTelno VARCHAR2(20) path 'Phone[PhoneTypeCode/@tc=2]/DialNumber',
    vAltCntemailaddr VARCHAR2(200) path 'EMailAddress/AddrLine',
    vAltCntstats varchar2(20) path 'Client/ClientStatus/@tc',
    vAltCntAdd1 varchar2(1000) path 'Address/Line1',
    vAltCntAdd2 varchar2(1000) path 'Address/Line2',
    vAltCntAdd3 varchar2(1000) path 'Address/Line3',
    AltCntstate varchar2(100) path 'Address/AddressState',
    AltCntcntry varchar2(100) path 'Address/AddressCountry',
    vAltCntBRTH_DT date path 'Person/BirthDate',
    vAltCntGender char(1) path 'Person/Gender/@tc',
    vAltCntFaxno varchar2(100) path 'Phone[PhoneTypeCode/@tc=19]/DialNumber',
    vAltCnturladdr varchar2(100) path 'URL/URLAddr',
    AltCntorgFST_NM varchar2(100) path 'Person/FirstName',
    AltCntorgLST_NM varchar2(100) path 'Person/LastName',
    AltCntorgMID_NM varchar2(100) path 'Person/MiddleName',
    AltCntorgPFX_NM varchar2(100) path 'Person/Prefix',
    AltCntorgSUFX_NM varchar2(100) path 'Person/Suffix',
    AltCntpartytypecode varchar2(10) path 'PartyTypeCode/@tc',
    vAltCntdatarep varchar2(100) path '@DataRep'
    ) t
    LOOP
    BEGIN
    SELECT extractvalue(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/Person/FirstName')
    INTO vAltCntFirstnamechk
    FROM TABLE (XMLSEQUENCE (EXTRACT (xData,'/TXLife/TXLifeRequest/OLifE'))) t
    WHERE existsnode(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/Person/FirstName') =1;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    vAltCntFirstnamechkflag:='Y';
    END;
    BEGIN
    SELECT extractvalue(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/Person/LastName')
    INTO vAltCntLastNamechk
    FROM TABLE (XMLSEQUENCE (EXTRACT (xData,'/TXLife/TXLifeRequest/OLifE'))) t
    WHERE existsnode(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/Person/LastName') =1;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    vAltCntLastNamechkflag:='Y';
    END;
    END LOOP;
    Here while parsing the data for contact2(with the request provided) by using the above procedure its going to exception.
    If the value is not there between the firstname then it should not go to the exception.
    If the firstname tag is not there it should go to the exception.
    But in the above procedure for the altcntfirstname and altcntlastname selectstatements its going to the exception part when there is no value for firstname(<FirstName></FirstName>).
    Is there any way to resolve this issue?
    Regards,
    Jyothirmai

    Hi Odie,
    In the request more than one alternate contact used to come(that means contact1 is primary contact,contact2 is alternate contact1,contact3 is alternate contact2 etc).
    We are retrieving the RelatedObjectID and named as ROID in the for loop.
    That means in the for loop we are getting the RelatedObjectID,if that RelatedObjectID is equal to party id then that firstname we are checking by using the below select statement.
    suppose when we used as like below in the loop the same RelatedObjectID(contact2) is repeating every time.
    FOR b IN (
    SELECT t.vAltCntcity vAltCntcity,
    t.Partysyskey Partysyskey,
    t.vAltCntZip vAltCntZip,
    t.vAltCntGovtID vAltCntGovtID,
    t.vAltCntTelno vAltCntTelno,
    t.vAltCntemailaddr vAltCntemailaddr,
    t.vAltCntstats vAltCntstats,
    t.vAltCntAdd1 vAltCntAdd1,
    t.vAltCntAdd2 vAltCntAdd2,
    t.vAltCntAdd3 vAltCntAdd3,
    t.AltCntstate AltCntstate,
    t.AltCntcntry AltCntcntry,
    t.vAltCntBRTH_DT vAltCntBRTH_DT,
    t.vAltCntGender vAltCntGender,
    t.vAltCntFaxno vAltCntFaxno,
    t.vAltCnturladdr vAltCnturladdr,
    t.AltCntorgFST_NM AltCntorgFST_NM,
    t.AltCntorgLST_NM AltCntorgLST_NM,
    t.AltCntorgMID_NM AltCntorgMID_NM,
    t.AltCntorgPFX_NM AltCntorgPFX_NM,
    t.AltCntorgSUFX_NM AltCntorgSUFX_NM,
    t.AltCntpartytypecode AltCntpartytypecode,
    t.vAltCntdatarep vAltCntdatarep,
    t1.vAltCntInterestPercent vAltCntInterestPercent,
    t1.ROID ROID
    FROM (
    SELECT xData doc FROM dual ) temp_table,
    XMLTable ( '/TXLife/TXLifeRequest/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]' passing doc
    COLUMNS OOID varchar2(50) path '@OriginatingObjectID'
    , ROID varchar2(50) path '@RelatedObjectID'
    , vAltCntInterestpercent varchar2(100) path 'InterestPercent'
    )t1,
    XMLTable('/Party[@id=$roid]' passing vAltcnt, t1.roid as "roid"
    COLUMNS
    vAltCntcity VARCHAR2(20) path 'City',
    Partysyskey VARCHAR2(100) path 'PartySysKey',
    vAltCntZip VARCHAR2(20) path 'Address/Zip',
    vAltCntGovtID VARCHAR2(20) path 'GovtID',
    vAltCntTelno VARCHAR2(20) path 'Phone[PhoneTypeCode/@tc=2]/DialNumber',
    vAltCntemailaddr VARCHAR2(200) path 'EMailAddress/AddrLine',
    vAltCntstats varchar2(20) path 'Client/ClientStatus/@tc',
    vAltCntAdd1 varchar2(1000) path 'Address/Line1',
    vAltCntAdd2 varchar2(1000) path 'Address/Line2',
    vAltCntAdd3 varchar2(1000) path 'Address/Line3',
    AltCntstate varchar2(100) path 'Address/AddressState',
    AltCntcntry varchar2(100) path 'Address/AddressCountry',
    vAltCntBRTH_DT date path 'Person/BirthDate',
    vAltCntGender char(1) path 'Person/Gender/@tc',
    vAltCntFaxno varchar2(100) path 'Phone[PhoneTypeCode/@tc=19]/DialNumber',
    vAltCnturladdr varchar2(100) path 'URL/URLAddr',
    AltCntorgFST_NM varchar2(100) path 'Person/FirstName',
    AltCntorgLST_NM varchar2(100) path 'Person/LastName',
    AltCntorgMID_NM varchar2(100) path 'Person/MiddleName',
    AltCntorgPFX_NM varchar2(100) path 'Person/Prefix',
    AltCntorgSUFX_NM varchar2(100) path 'Person/Suffix',
    AltCntpartytypecode varchar2(10) path 'PartyTypeCode/@tc',
    vAltCntdatarep varchar2(100) path '@DataRep'
    ) t
    LOOP
    BEGIN
    SELECT extractvalue(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/@RelatedObjectID][PartyTypeCode/@tc=1]/Person/FirstName')
    INTO vAltCntFirstnamechk
    FROM TABLE (XMLSEQUENCE (EXTRACT (xData,'/TXLife/TXLifeRequest/OLifE'))) t
    WHERE existsnode(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/@RelatedObjectID][PartyTypeCode/@tc=1]/Person/FirstName') =1;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    vAltCntFirstnamechkflag:='Y';
    END;
    end loop;
    For this above code its not going to the exception.we are using this select statement to check whether that node existed or not.
    If that node exists and value is not there, that time we are updating the table with the null value by using the vAltCntFirstnamechkflag value as like below in our procedure.
    IF b.AltCntorgFST_NM IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' FST_NM ='''||b.AltCntorgFST_NM||''''||',';
    ELSIF vAltCntFirstnamechkflag='N' AND vAltCntFirstnamechk IS NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' FST_NM ='''||NULL||''''||',';
    END IF;
    Please find the below procedure what we are using could you please let me know is there any possibility to resolve this issue(if the tag like <firstname></firstname> that
    time also it should not go to the exception).
    CREATE OR REPLACE PROCEDURE CHBM_QA1.PR_CUSTOMERUPDATE(PIN_XML_DATA IN CLOB,po_vResponse OUT clob )
    IS
    xData XMLTYPE:=NULL;
    vActivityCode VARCHAR2(100):=NULL;
    vSubActivityCode VARCHAR2(100):=NULL;
    ncode NUMBER(2):=NULL;
    nErrcode NUMBER(10):=0;
    vInfodesc VARCHAR2(1000):=NULL;
    vStatusinfo VARCHAR2(1000):=NULL;
    vStatus VARCHAR2(100):=NULL;
    vOrgid VARCHAR2(100):=NULL;
    vcity VARCHAR2(100):=NULL;
    vAltCntcity VARCHAR2(20):=NULL;
    vorgcity VARCHAR2(100):=NULL;
    vAddressState VARCHAR2(100):=NULL;
    vZip VARCHAR2(100):=NULL;
    vAltCntZip VARCHAR2(100):=NULL;
    vorgZip VARCHAR2(100):=NULL;
    vGovtID VARCHAR2(100):=NULL;
    vAltCntGovtID VARCHAR2(100):=NULL;
    vorgGovtID VARCHAR2(100):=NULL;
    vFullname VARCHAR2(200):=NULL;
    norgid NUMBER:=0;
    vTelno VARCHAR2(100):=Null;
    vAltCntTelno VARCHAR2(100):=Null;
    vOrgTelno VARCHAR2(100):=null;
    nOrgcnt NUMBER:=0;
    vemailaddr VARCHAR2(200):=null;
    vAltCntemailaddr VARCHAR2(200):=null;
    vorgemailaddr VARCHAR2(200):=null;
    vFISC_YEAR_END_DT VARCHAR2(100);
    vFiscalYearEndMoDaychkflag CHAR(1):='N';
    vFiscalYearEndMoDaychk VARCHAR2(100):=NULL;
    vGovtIDchkflag CHAR(1):='N';
    vGovtIDchk VARCHAR2(100):=NULL;
    vEMailAddresschkflag CHAR(1):='N';
    vEMailAddresschk VARCHAR2(1000):=NULL;
    vDialNumberchkflag CHAR(1):='N';
    vAltCntDialNumberchkflag CHAR(1):='N';
    vDialNumberchk VARCHAR2(100):=NULL;
    vAltCntDialNumberchk VARCHAR2(100):=NULL;
    vFaxnochkflag CHAR(1):='N';
    vAltCntFaxnochkflag CHAR(1):='N';
    vFaxnochk VARCHAR2(100):=NULL;
    vAltCntFaxnochk VARCHAR2(100):=NULL;
    vEMailAddressPchkflag CHAR(1):=NULL;
    vAltCntEMailAddressPchkflag CHAR(1):=NULL;
    vEMailAddressPchk VARCHAR2(200):=NULL;
    vAltCntEMailAddressPchk VARCHAR2(200):=NULL;
    vLastNamechkflag CHAR(1):='N';
    vAltCntLastNamechkflag CHAR(1):='N';
    vFirstNamechkflag CHAR(1):='N';
    vAltCntFirstNamechkflag CHAR(1):='N';
    vTaxidPchkflag CHAR(1):='N';
    vAltCntTaxidPchkflag CHAR(1):='N';
    vBusinessDescchkflag CHAR(1):='N';
    vBusinessDescchk VARCHAR2(2000):=NUll;
    vTaxidPchk VARCHAR2(200):=NULL;
    vAltCntTaxidPchk VARCHAR2(200):=NULL;
    vLastNamechk VARCHAR2(2000):=NULL;
    vAltCntLastNamechk VARCHAR2(2000):=NULL;
    vFirstNamechk VARCHAR2(2000):=NULL;
    vAltCntFirstnamechk VARCHAR2(2000):=NULL;
    vattdate VARCHAR2(50):=NULL;
    dattdate DATE;
    vAdd3Pchkflag CHAR(1):='N';
    vAltCntAdd3Pchkflag CHAR(1):='N';
    vOrgAdd3chkflag CHAR(1):='N';
    vOrgAdd2chkflag CHAR(1):='N';
    vAdd2Pchkflag CHAR(1):='N';
    vAltCntAdd2Pchkflag CHAR(1):='N';
    vOrgAdd3chk VARCHAR2(2000):=NULL;
    vOrgAdd2chk VARCHAR2(2000):=NULL;
    vAdd2Pchk VARCHAR2(2000):=NULL;
    vAltCntAdd2Pchk VARCHAR2(2000):=NULL;
    vAdd3Pchk VARCHAR2(2000):=NULL;
    vAltCntAdd3Pchk VARCHAR2(2000):=NULL;
    nADDR_ID NUMBER:=0;
    cntry VARCHAR2(100):=NULL;
    AltCntcntry VARCHAR2(100):=NULL;
    orgcntry VARCHAR2(100):=NULL;
    vAdd1 VARCHAR2(1000):=NULL;
    vAdd2 VARCHAR2(1000):=NULL;
    vAdd3 VARCHAR2(1000):=NULL;
    vAltCntAdd1 VARCHAR2(1000):=NULL;
    vAltCntAdd2 VARCHAR2(1000):=NULL;
    vAltCntAdd3 VARCHAR2(1000):=NULL;
    vorgAdd1 VARCHAR2(1000):=NULL;
    vorgAdd2 VARCHAR2(1000):=NULL;
    vorgAdd3 VARCHAR2(1000):=NULL;
    state VARCHAR2(100):=NULL;
    AltCntstate VARCHAR2(100):=NULL;
    nptycnt NUMBER:=0;
    orgstate VARCHAR2(100):=NULL;
    vstats VARCHAR2(100):=NULL;
    vAltCntstats VARCHAR2(100):=NULL;
    norgvalue NUMBER:=0;
    nPtyrolCon NUMBER:=0;
    npsnid NUMBER:=0;
    npsn NUMBER:=0;
    dFISC_YEAR_END_DT date:=NULL;
    Gender char(1):=NULL;
    vAltCntGender char(1):=NULL;
    vBRTH_DT VARCHAR2(100):=NULL;
    vAltCntBRTH_DT VARCHAR2(100):=NULL;
    BusinessDesc VARCHAR2(200):=NULL;
    dBRTH_DT date:=NULL;
    dAltCntBRTH_DT date:=NULL;
    prmycnt VARCHAR2(100):=NULL;
    vpsnstats VARCHAR2(100):=NULL;
    vAltCntpsnstats VARCHAR2(100):=NULL;
    vPartySysKey VARCHAR2(100):=NULL;
    vFaxno VARCHAR2(100):=NULL;
    vAltCntFaxno VARCHAR2(100):=NULL;
    vorgFaxno VARCHAR2(100):=NULL;
    nRlplptyid CHBM_PARTY_RELATIONSHIP.ROLE_PLAYR_PRTY_ID%TYPE:=NULL;
    vurladdr VARCHAR2(100):=NULL;
    vAltCnturladdr VARCHAR2(100):=NULL;
    FST_NM VARCHAR2(100):=NULL;
    orgFST_NM VARCHAR2(100):=NULL;
    AltCntorgFST_NM VARCHAR2(100):=NULL;
    LST_NM VARCHAR2(100):=NULL;
    orgLST_NM VARCHAR2(100):=NULL;
    AltCntorgLST_NM VARCHAR2(100):=NULL;
    MID_NM VARCHAR2(100):=NULL;
    orgMID_NM VARCHAR2(100):=NULL;
    AltCntorgMID_NM VARCHAR2(100):=NULL;
    PFX_NM VARCHAR2(100):=NULL;
    orgPFX_NM VARCHAR2(100):=NULL;
    AltCntorgPFX_NM VARCHAR2(100):=NULL;
    SUFX_NM VARCHAR2(100):=NULL;
    orgSUFX_NM VARCHAR2(100):=NULL;
    AltCntorgSUFX_NM VARCHAR2(100):=NULL;
    naddcnt NUMBER:=0;
    nAltaddcnt NUMBER:=0;
    norgseq NUMBER:=NULL;
    nADDR_IDseq NUMBER:=NULL;
    npsnidseq NUMBER:=NULL;
    nAltCntpsnidseq NUMBER:=NULL;
    vTransrefguid VARCHAR2(1000):=NULL;
    nRecfound NUMBER:=0;
    partytypecode varchar2(100):=null;
    AltCntpartytypecode varchar2(100):=null;
    RelationRoleCode VARCHAR2(100):=NULL;
    cUpdateflag CHAR(1):='N';
    vupdatequery CLOB:=null;
    plancode varchar2(100):=null;
    usercreated VARCHAR2(200):=null;
    openeddate VARCHAR2(100);
    openedtime varchar2(100);
    vopeneddate VARCHAR2(100);
    dopeneddate date;
    naddrcnt NUMBER:=0;
    ncnt1 number:=0;
    ncnt2 number:=0;
    ncnt3 number:=0;
    ncnt4 number:=0;
    ncnt5 number:=0;
    ncnt6 number:=0;
    nDelCnt1 number:=0;
    nDelCnt2 number:=0;
    nDelCnt3 number:=0;
    nAltcnt4 number:=0;
    nAltcnt5 number:=0;
    nAltcnt6 number:=0;
    nRelcnt NUMBER:=0;
    nAltRelcnt NUMBER:=0;
    ncnt7 NUMBER:=0;
    nprscnt NUMBER:=0;
    nAltprscnt NUMBER:=0;
    nPlncnt NUMBER:=0;
    npsncnt NUMBER:=0;
    vaddupdatequery VARCHAR2(4000);
    caddUpdateflag CHAR(1):='N';
    vaddrupdatequery VARCHAR2(4000);
    vAltCntaddrupdatequery VARCHAR2(4000);
    caddrUpdateflag CHAR(1):='N';
    cAltCntaddrUpdateflag CHAR(1):='N';
    vpsnupdatequery VARCHAR2(4000);
    vAltCntpsnupdatequery VARCHAR2(4000);
    cpsnUpdateflag CHAR(1):='N';
    cAltCntpsnUpdateflag CHAR(1):='N';
    vCntInterestPercent VARCHAR2(200);
    vAltCntInterestPercent VARCHAR2(200);
    vCntdatarep varchar2(100);
    vAltCntdatarep varchar2(100);
    vAltcnt XMLTYPE:=NULL;
    eParsererror EXCEPTION;
    PRAGMA EXCEPTION_INIT(eParsererror,-31011);
    eUniqueexception EXCEPTION;
    PRAGMA EXCEPTION_INIT(eUniqueexception,-00001);
    eplanexception EXCEPTION;
    PRAGMA EXCEPTION_INIT(eplanexception,-02291);
    eEventexception EXCEPTION;
    PRAGMA EXCEPTION_INIT(eEventexception,-01400);
    BEGIN
    BEGIN
    xData := XMLTYPE.createxml(PIN_XML_DATA);
    END;
    BEGIN
    SELECT extractvalue(value(t),'/TXLifeRequest/TransRefGUID')
    INTO vTransrefguid
    FROM TABLE (XMLSEQUENCE (EXTRACT (xData,'/TXLife/TXLifeRequest'))) t
    WHERE existsnode(value(t),'/TXLifeRequest/TransRefGUID')=1
    AND extractvalue(value(t),'/TXLifeRequest/TransRefGUID') IS NOT NULL;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    ncode:=5;
    nErrcode:=200;
    vStatus:='FAILURE';
    vStatusinfo:='General Data Error';
    Raise_application_error(-20201,'Transrefguid does not exist');
    END;
    BEGIN
    SELECT t.vActivityCode,
    t.vSubActivityCode
    INTO vActivityCode,
    vSubActivityCode
    FROM (
    SELECT xData doc
    FROM dual
    ) temp_table,
    XMLTable ( '/TXLife/TXLifeRequest/OLifE' passing doc
    COLUMNS
    vActivityCode VARCHAR2(20) path 'Activity/ActivityCode',
    vSubActivityCode VARCHAR2(20) path 'Activity/OLifEExtension/ActivityExtension/SubActivityCode'
    ) t;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    ncode:=5;
    nErrcode:=200;
    vStatus:='FAILURE';
    vStatusinfo:='RESULTINFO_DATA ';
    Raise_application_error(-20201,'General Data Error');
    END;
    IF vActivityCode='CHBM10003' AND vSubActivityCode='CHBM20002' THEN
    FOR b IN (
    SELECT t.vAltCntcity vAltCntcity,
    t.Partysyskey Partysyskey,
    t.vAltCntZip vAltCntZip,
    t.vAltCntGovtID vAltCntGovtID,
    t.vAltCntTelno vAltCntTelno,
    t.vAltCntemailaddr vAltCntemailaddr,
    t.vAltCntstats vAltCntstats,
    t.vAltCntAdd1 vAltCntAdd1,
    t.vAltCntAdd2 vAltCntAdd2,
    t.vAltCntAdd3 vAltCntAdd3,
    t.AltCntstate AltCntstate,
    t.AltCntcntry AltCntcntry,
    t.vAltCntBRTH_DT vAltCntBRTH_DT,
    t.vAltCntGender vAltCntGender,
    t.vAltCntFaxno vAltCntFaxno,
    t.vAltCnturladdr vAltCnturladdr,
    t.AltCntorgFST_NM AltCntorgFST_NM,
    t.AltCntorgLST_NM AltCntorgLST_NM,
    t.AltCntorgMID_NM AltCntorgMID_NM,
    t.AltCntorgPFX_NM AltCntorgPFX_NM,
    t.AltCntorgSUFX_NM AltCntorgSUFX_NM,
    t.AltCntpartytypecode AltCntpartytypecode,
    t.vAltCntdatarep vAltCntdatarep,
    t1.vAltCntInterestPercent vAltCntInterestPercent,
    t1.ROID ROID
    FROM (
    SELECT xData doc FROM dual ) temp_table,
    XMLTable ( '/TXLife/TXLifeRequest/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]' passing doc
    COLUMNS OOID varchar2(50) path '@OriginatingObjectID'
    , ROID varchar2(50) path '@RelatedObjectID'
    , vAltCntInterestpercent varchar2(100) path 'InterestPercent'
    )t1,
    XMLTable('/Party[@id=$roid]' passing vAltcnt, t1.roid as "roid"
    COLUMNS
    vAltCntcity VARCHAR2(20) path 'City',
    Partysyskey VARCHAR2(100) path 'PartySysKey',
    vAltCntZip VARCHAR2(20) path 'Address/Zip',
    vAltCntGovtID VARCHAR2(20) path 'GovtID',
    vAltCntTelno VARCHAR2(20) path 'Phone[PhoneTypeCode/@tc=2]/DialNumber',
    vAltCntemailaddr VARCHAR2(200) path 'EMailAddress/AddrLine',
    vAltCntstats varchar2(20) path 'Client/ClientStatus/@tc',
    vAltCntAdd1 varchar2(1000) path 'Address/Line1',
    vAltCntAdd2 varchar2(1000) path 'Address/Line2',
    vAltCntAdd3 varchar2(1000) path 'Address/Line3',
    AltCntstate varchar2(100) path 'Address/AddressState',
    AltCntcntry varchar2(100) path 'Address/AddressCountry',
    vAltCntBRTH_DT date path 'Person/BirthDate',
    vAltCntGender char(1) path 'Person/Gender/@tc',
    vAltCntFaxno varchar2(100) path 'Phone[PhoneTypeCode/@tc=19]/DialNumber',
    vAltCnturladdr varchar2(100) path 'URL/URLAddr',
    AltCntorgFST_NM varchar2(100) path 'Person/FirstName',
    AltCntorgLST_NM varchar2(100) path 'Person/LastName',
    AltCntorgMID_NM varchar2(100) path 'Person/MiddleName',
    AltCntorgPFX_NM varchar2(100) path 'Person/Prefix',
    AltCntorgSUFX_NM varchar2(100) path 'Person/Suffix',
    AltCntpartytypecode varchar2(10) path 'PartyTypeCode/@tc',
    vAltCntdatarep varchar2(100) path '@DataRep'
    ) t
    LOOP
    IF b.vAltCntBRTH_DT IS NOT NULL THEN
    dAltCntBRTH_DT:=to_date(b.vAltCntBRTH_DT,'yyyy-mm-dd');
    END IF;
    IF b.vAltCntdatarep != 'Removed' OR b.vAltCntdatarep IS NULL THEN
    BEGIN
    --------------Starting of CHBM_PERSON Table---------
    IF b.vAltCntstats IS NOT NULL THEN
    BEGIN
    SELECT code_val_cd
    INTO vAltCntpsnstats
    FROM chbm_code_reference
    WHERE tbl_nm='CHBM_PERSON'
    AND col_nm='STAT_CD'
    AND acord_cd =b.vAltCntstats;
    EXCEPTION
    WHEN OTHERS THEN
    ncode :=5;
    nErrcode :=2001;
    vStatus :='FAILURE';
    vStatusinfo :='RESULTINFO_DATA ';
    vInfodesc :='Person status details are not available in code reference';
    Raise_application_error(-20201,'Person status details are not available in code reference');
    END;
    END IF;
    BEGIN
    SELECT extractvalue(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/Phone[PhoneTypeCode/@tc=2]/DialNumber')
    INTO vAltCntDialNumberchk
    FROM TABLE (XMLSEQUENCE (EXTRACT (xData,'/TXLife/TXLifeRequest/OLifE'))) t
    WHERE existsnode(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/Phone[PhoneTypeCode/@tc=2]/DialNumber') =1;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    vAltCntDialNumberchkflag:='Y';
    END;
    BEGIN
    SELECT extractvalue(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/Phone[PhoneTypeCode/@tc=19]/DialNumber')
    INTO vAltCntFaxnochk
    FROM TABLE (XMLSEQUENCE (EXTRACT (xData,'/TXLife/TXLifeRequest/OLifE'))) t
    WHERE existsnode(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/Phone[PhoneTypeCode/@tc=19]/DialNumber') =1;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    vAltCntFaxnochkflag:='Y';
    END;
    BEGIN
    SELECT extractvalue(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/Person/FirstName')
    INTO vAltCntFirstnamechk
    FROM TABLE (XMLSEQUENCE (EXTRACT (xData,'/TXLife/TXLifeRequest/OLifE'))) t
    WHERE existsnode(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/Person/FirstName') =1;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    vAltCntFirstnamechkflag:='Y';
    END;
    BEGIN
    SELECT extractvalue(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/Person/LastName')
    INTO vAltCntLastNamechk
    FROM TABLE (XMLSEQUENCE (EXTRACT (xData,'/TXLife/TXLifeRequest/OLifE'))) t
    WHERE existsnode(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/Person/LastName') =1;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    vAltCntLastNamechkflag:='Y';
    END;
    BEGIN
    SELECT extractvalue(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/EMailAddress/AddrLine')
    INTO vAltCntEMailAddressPchk
    FROM TABLE (XMLSEQUENCE (EXTRACT (xData,'/TXLife/TXLifeRequest/OLifE'))) t
    WHERE existsnode(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/EMailAddress/AddrLine') =1;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    vAltCntEMailAddressPchkflag:='Y';
    END;
    BEGIN
    SELECT extractvalue(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/GovtID')
    INTO vAltCntTaxidPchk
    FROM TABLE (XMLSEQUENCE (EXTRACT (xData,'/TXLife/TXLifeRequest/OLifE'))) t
    WHERE existsnode(value(t),'/OLifE/Party[@id=/OLifE/Relation[RelationRoleCode/@tc=150][Sequence=2]/b.ROID][PartyTypeCode/@tc=1]/GovtID') =1;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    vAltCntTaxidPchkflag:='Y';
    END;
    IF b.Partysyskey IS NOT NULL THEN
    nAltCntpsnidseq:=b.Partysyskey;
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||'UPDATE CHBM_PERSON SET';
    IF dAltCntBRTH_DT IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' brth_dt ='''||dAltCntBRTH_DT||''''||',';
    END IF;
    IF b.vAltCntGender IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' GEND_CD ='''||b.vAltCntGender||''''||',';
    END IF;
    IF b.vAltCntGovtID IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' TAX_ID ='''||b.vAltCntGovtID||''''||',';
    ELSIF vAltCntTaxidPchkflag='N' AND vAltCntTaxidPchk IS NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' TAX_ID ='''||NULL||''''||',';
    END IF;
    IF b.vAltCntTelno IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' TEL_NO ='''||b.vAltCntTelno||''''||',';
    ELSIF vAltCntDialNumberchkflag='N' AND vAltCntDialNumberchk IS NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' TEL_NO ='''||NULL||''''||',';
    END IF;
    IF b.vAltCntemailaddr IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' EMAIL_ADR ='''||b.vAltCntemailaddr||''''||',';
    ELSIF vAltCntEMailAddressPchkflag='N' AND vAltCntEMailAddressPchk IS NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' EMAIL_ADR ='''||NULL||''''||',';
    END IF;
    IF b.vAltCntFaxno IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' FAX_NO ='''||b.vAltCntFaxno||''''||',';
    ELSIF vAltCntFaxnochkflag='N' AND vAltCntFaxnochk IS NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' FAX_NO ='''||NULL||''''||',';
    END IF;
    IF vAltCntpsnstats IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' STAT_CD ='''||vAltCntpsnstats||''''||',';
    END IF;
    IF b.AltCntorgLST_NM IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' LST_NM ='''||b.AltCntorgLST_NM||''''||',';
    ELSIF vAltCntLastNamechkflag='N' AND vAltCntLastNamechk IS NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' LST_NM ='''||NULL||''''||',';
    END IF;
    IF b.AltCntorgFST_NM IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' FST_NM ='''||b.AltCntorgFST_NM||''''||',';
    ELSIF vAltCntFirstnamechkflag='N' AND vAltCntFirstnamechk IS NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' FST_NM ='''||NULL||''''||',';
    END IF;
    IF b.AltCntorgMID_NM IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' MID_NM ='''||b.AltCntorgMID_NM||''''||',';
    END IF;
    IF b.AltCntorgPFX_NM IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' PFX_NM ='''||b.AltCntorgPFX_NM||''''||',';
    END IF;
    IF b.AltCntorgSUFX_NM IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' SUFX_NM ='''||b.AltCntorgSUFX_NM||''''||',';
    END IF;
    IF b.vAltCnturladdr IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' WEB_SITE_ID ='''||b.vAltCnturladdr||''''||',';
    END IF;
    IF dopeneddate IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' LST_UPDT_DT ='''||dopeneddate||''''||',';
    END IF;
    IF usercreated IS NOT NULL THEN
    cAltCntpsnUpdateflag:='Y';
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' LST_UPDT_BY_USER_ID ='''||usercreated||''''||',';
    END IF;
    vAltCntpsnupdatequery := SUBSTR(vAltCntpsnupdatequery,1,instr(vAltCntpsnupdatequery,',',-1,1)-1);
    vAltCntpsnupdatequery:=vAltCntpsnupdatequery||' WHERE psn_id='''||nAltCntpsnidseq||'''';
    IF cAltCntpsnUpdateflag='Y' THEN
    EXECUTE IMMEDIATE vAltCntpsnupdatequery;
    vAltCntpsnupdatequery := NULL;
    nAltcnt4:=Sql%rowcount;
    END IF;
    END IF;
    END LOOP;
    END IF;
    END;
    Regards,
    Jyothirmai

  • XML Parsing issue with same tag names at multiple levels.

    My XML has the same tag name , ID at different levels in the XML.
    <InventorySearch>
    <*ID*>ID1</*ID*>
    <interactionDate>2012-09-01T10:30:00Z</interactionDate>
    <DescribedBy>
    <value>Cycle Count extract</value>
    <Characteristic>
    <*ID*>ID2</*ID*>
    </Characteristic>
    </DescribedBy>
    <type>Cycle Count</type>
    <InventorySearchComprisedOf>
    <*ID*>ID3</*ID*>
    <quantity>
    <amount>1</amount>
    <units>EACH</units>
    </quantity>
    <itemDateComplete>2012-09-07T10:30:00Z</itemDateComplete>
    <itemStatus>Open</itemStatus>
    </InventorySearchComprisedOf>
    </InventorySearch>
    When I use the Extract function with XML Sequence, I am getting all the ID values concatenated.
    select extract(value(d),'//ID/text()').getstringval() as id1,
    extract(value(e),'//ID/text()'). getstringval() as id2
    from xxnbn_cc_response_xml_stg x,
    table(xmlsequence(extract(x.xml_column,'/InventorySearch'))) d,
    table(XMLSEQUENCE(extract(D.column_value,'//InventorySearchComprisedOf')))(+) E;
    Return values :
    ID1 - ID1ID2ID3
    ID2 - ID3
    Is this the right way to parse this type of XML?

    The answer would depend upon your version of Oracle
    select * from v$version
    and the desired result set you want to see.
    If you are 10.2 or later, than XMLTable would be easier to write, but I won't go that way until we know more about what you want to see.

  • Tap picture in Photos App and rotate - issue / Pls help

    Hello all,
    Subject: iPhone 3Gs / 4.0.1
    Application: Photos App (default Apple application)
    Issue: tapping landscape pictures with phone in vertical position and rotate them goes on black screen
    Description:
    I am with iphone in normal (vertical position) and i go to photos app in order to scroll some pictures that were taken in landscape position.
    Everything is normal. I double tap it in order to zoom it.
    I rotate the phone in landscape position and the screen goes BLACK.
    I rotate it in portrait mode and picture is back on screen.
    Question: where is the problem ?
    Tests results:
    I tried to make several tests to identify the problem.
    Before I want to say that i tried restore / reset / etc.
    1. The pictures that are taken in portrait mode are not affected on double tap and rotate thing.
    2. Works if you zoom manualy (not by double tap) and scroll to a corner of a landscape picture before you rotate the phone.
    I add that any other application works fine on rotate / zoom / etc even photos app works OK if i dont double tap the picture before i rotate it.
    Still after the tests i am not able to identify where is the problem so i ask the comunity if can help me to identify it.
    thx in advance,

    Is anyone with same model 3gs / 4.0.1 who can check if have same problem ?
    Are only 4 steps:
    1. Open Photo App with phone in vertical position
    2. Select a landscape picture
    3. Double tape it (will zoom automaticaly)
    4. Rotate the phone in landscape position and write down the results.
    thx guys for your help,

  • Sales order issue pls help me

    Hi my clients wants when ever the user log's on to va01 screen salesorg/dischannel/division (sales area data) should come default on it's own.what ever he used previously.can anybody help me pls...
    thanks
    rag sam

    Hi,
        use the SAP menu (with the user's account) and take the following path: System > User profile > Own Data. Choose the folder "Parameters" and insert the following parameters:
    VKO - user's Sales Org.
    VTW - user's channel
      SPA - user's division
    Paulo.

  • Menu Attachment Issues - Pls Help

    Dear Friends,
    We have some issues in attaching Menu in Oracle 10G Forms, the platform details are given below:
    OS Development Side : Windows XP
    Developer Suite : Oracle 10G Developer Suite
    Middle Tier & Infrastruture platform : Windows 2003 (with complete patches)
    Number of Configuration : One configuration Section - test
    FORMS90_PATH = E:\oraas_mid\forms90;E:\it\forms
    After we did the configuration we restarted all the services (twice). We have copied the forms (z_1_frm.fmx) into E:\it\forms directory and tested with following link.
    http://oapps.xyz.domain.name:7778/forms90/f90servlet?config=test
    The link worked well, after that we have attached menu module (z_1_mnu.mmx) with z_1_frm and copied z_1_mnu.mmx into E:\it\forms directory and restarted the server.
    (In the form property MENU_MODULE entry we set z_1_mnu and initial menu was blank)
    While try access the page we have received the following error message FRM-10221 Cannot read fle z_1_mnu.
    I request you help in this regard
    My Name

    I am also having similar issues. I am using developer suite 10g release 2. so i guess its forms_path and not forms90_path. but that is set, plls are attaching well, but mmb/mmx is a problem. all the objects (pll, mmb, mmx) are in the path specified in the forms_path variable. after stating that it could not find menu (frm-10221), it also gives 92101 forms server message and i have to reboot the system. (stopping and restarting oc4j instance does not help).
    Any help would be greatly appreciated. Thank you.

  • Xml parser issue

    My xml is huge almost 6 mb in size. So it is not coming in one line and it is present in database as clob field

    We are supposed to read/parse from an xml with the below sample data structure-<ns5:benefitComponent desc="A" level="1" name="a">                  <ns5:childBenefits>                     <ns5:benefitComponent desc="B" level="2" name="b"> As shown above while parsing the xml , only two tags namely “desc” and “name” are  present under benefitComponent(an XML object – as shown above). But when connected to the target ,only one record is coming through with the value ->desc='A', name='a'  from Level =1 and not the other one (<ns5:benefitComponent desc="B" level="2" name="b">) from Level =2. This shouldn’t be the outcome ideally as the XSD properly defines the hierarchy .Bobj1 Contains à ChildBobjà Bobj1(again called from Child Bobj) How to get both the two records  from level 1 as well as level 2 in same target table.

Maybe you are looking for

  • Upgrading from iphone 4s, is the 5c good phone

    i have a iphone 4s as my current phone but want to get a iphone again cant afford to much is the iphone 5c a good phone and is that phone going to be around for many years still

  • Alternate text for "Text content"

    Hi friends, I have one doube in postscript language to implement alternate text for "Text content" Can anybody please help me on this We have using the below tags for alternate text for images. [/Subtype /Figure /Alt (Image of Figure 2-1) /StPNE pdfm

  • Palm Pre Plus turned off and it doesn't turn back on

    OK yesterday I was using my phone and I left it lying on my bed, 5 minutes later I try and use it and it's like turned off, it doesn't turn back on, I know the battery isn't dead because the battery was at 70 %, I didn't drop any liquids on it and wh

  • RE: Close cursor to release lock?

    Hi, I don't think you will need to release the cursor before the update, otherwise the cursor will be rendered useless. Regards, Peter Sham. -----Original Message----- From: Phong Tran [SMTP:[email protected]] Sent: Monday, March 22, 1999 12:49 PM To

  • Cascading LOV - Keep Existing Value

    Need to stop Cascading LOV to reset the values and keep existing selected options IF VALID please have a look at the scenario Col-1     Col-2     Col-3 A     AA     1 A     BB     2 A     CC     3 B     AA     1 B     AAB     2 B     AAV     3When Co