Difficulty accessing an XML to display

I built a site that pulls in the XML data from a file to appear in a box on the page. I know that the code was working properly because he has and is displayed correctly in previous versions of FF and other browsers. When I was first building this, I had a lower version of FF and could see the fine XML view. I remember old FF asked me once if it was ok to load the data. Now, I don't have this option. I did something wrong, or is this a problem of security settings?

Here is the HTML code Ref, if it helps:

<script type="text/javascript">var xmlDoc=null;if (window.ActiveXObject){// code for IExmlDoc=new ActiveXObject("Microsoft.XMLDOM");}else if (document.implementation.createDocument){// code for Mozilla, Firefox, Opera, etc.xmlDoc=document.implementation.createDocument("","",null);}else{alert('Your browser cannot handle this script');}if (xmlDoc!=null){xmlDoc.async=false;xmlDoc.load("articles.xml");document.write("<p id=xml_index_p>");var x=xmlDoc.getElementsByTagName("ARTICLE");for (i=0;i<x.length;i++){document.write("<h2 id=xml_h2>");document.write(x[i].getElementsByTagName("TITLE1")[0].childNodes[0].nodeValue);document.write("</h2>");document.write("<p id=xml_index_p>");document.write(x[i].getElementsByTagName("SUM1")[0].childNodes[0].nodeValue);document.write("</p>");}document.write("</p>");}</script>

Firefox error console (Tools menu) is a rich source of comments on the script errors and security restrictions. After opening the console, there is usually plenty of warning of CSS. Click on the clear button, and reload your page and are looking for something serious. Provides useful feedback?

You might also consider using the XMLHttpRequest object rather than document.implementation.

See https://developer.mozilla.org/en/XmlHttpRequest

Tags: Firefox

Similar Questions

  • To access the XML from a different class

    Hi all

    I have a xml class that loads the xml data, I need to access the data of another class. I imported the xml classinto the new class and created a new instance of it. However when I try to access the xml data it come back as null. I understand that it is certainly because when she is called the xml data has not completed loading. How can I get around this?

    XML class:

    package {}

    flash.xml import. *;
    import flash.events. *;
    import flash.net. *.
    import flash.display. *.

    public class xml extends MovieClip
    {
    public var xmlRequest:URLRequest;
    public var xmlLoader:URLLoader;
    public var xmlImages:XML;

    public void xml()
    {
    xmlRequest = new URLRequest ("images.xml");
    xmlLoader = new URLLoader (xmlRequest)

    xmlLoader.addEventListener (Event.COMPLETE, xmlLoaded);
    xmlLoader.load (xmlRequest);
    }

    private void xmlLoaded(event:Event):void
    {
    trace (xmlLoader.Data);
    xmlImages = new XML (xmlLoader.data);
    }
    }
    }

    Thanks in advance

    Or even better:

    package {     import flash.events.*;     import flash.net.*;     import flash.xml.*;
    
         public class XMLLoader extends URLLoader     {          public var xmlImages:XML;
    
              public function XMLLoader()          {
    
              }
    
              public function loadXML(url:String):void {               this.addEventListener(Event.COMPLETE, xmlLoaded);               this.load(new URLRequest(url));          }
    
              private function xmlLoaded(event:Event):void          {               trace(xmlLoader.data);               xmlImages = newXML(this.data);               dispatchEvent(new Event("loadComplete"));          }     }}
    

    Use:

    var xmlLoader:XMLLoader = new XMLLoader();
    xmlLoader.addEventListener ("loadComplete", onXMLLoad);

    xmlLoader.loadXML ("images.xml");

    function onXMLLoad(e:Event):void {}
    trace (xmlLoader.xmlImages);
    }

  • Cannot display the page XML cannot display the input XML using the stylesheet XSL, how to fix?

    How can I fix this error code:

    The XML page cannot be displayed

    Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.

    System error:-2146697211. Error during processing of resources "file:///C:/Documents and Settings/a/desktop/SMART.xslt.

    The operating system is Windows XP Home Edition.  I use browsers IE 8, Safari and Mozilla Firefox.
    I'd never see this error until I installed HDDScan (http://hddscan.com/), a diagnostic utility, to check my hard drive.   The test is a S.M.A.R.T. analysis and produces this error message when you use this software.
    A web site indicates that installing Microsoft. NET Framework can solve this problem.  I already have this class in Add Remove Programs: Microsoft .NET Framework 1.1, Microsoft .NET Framework 2.0 Service Pack 2, Microsoft. NET Framework 3.0 Service Pack 2, Microsoft .NET Framework 3.5 SP1, Microsoft. NET Framework 4 Client Profile.
    Is the problem, a missing software program or a corrupted file?  What is Microsoft. NET Framework?  I use selective with most of the disabled items in the services (except hide all Microsoft) and start more disabled under Startup.  Is there something that needs to be checked to activate a service or start to correct this error message?
    How to solve system 2146697211 errors: cannot display page XML cannot display the XML input using the XSL stylesheet?

    Hello

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. Please post your question in the MSDN forum. You can follow the link for your question.

    http://social.msdn.Microsoft.com/forums/en-us/iewebdevelopment/threads

    Hope the helps of information.

  • XML parser - display order

    Hello

    I have a program that does the following:

    1 contact the http server and executes a query on a mysql database.

    2 Php script generates an xml file

    3. XML file is downloaded on the BlackBerry.

    Steps one and two work perfectly well - no problem there.  When the XML is generated on the server, entries are sorted in ascending order according to the unique primary key assigned to each record (an integer).  I downloaded the XML file on the server and it has inspected and everything is in order.

    The problem is the following:

    When the XML file is downloaded on the BB and the contents of the XML file displayed on the BB, the information that is displayed is not in order according to the unique primary key assigned to each growing record.  Indeed, the information is displayed in what appears to be a way almost no organized.  (I say "almost no organized", as it doesn't seem to be a discernible patter, but I have not yet studied to confirm if this is indeed the case.)

    The XML parser works like this:

    1. downloaded XML file

    2. the information is extracted from the file by using a loop.

    3. in the course of each loop cycle, a channel is created and this string is then inserted in an EditField.

    4. a new EditField is instantiated for each record.

    I don't know if I am missing something on the side of analysis of XML.  Any ideas?  All the world was faced with a similar problem?

    One of my friends from specialist tech understood the problem.

    I wrongly assumed that a mySQL query has been resolved.  I'll have to add a suffix "El TRI" to my query mySQL in my PHP script.

    Problem solved.

  • We can access autogen_dimensions.xml file via a URL?

    Hello

    We can access autogen_dimensions.xml file via a URL?

    Is it possible to access the file autogen_dimensions.xml with the URL as shown below.

    http://host:port / < App name > /Data/State/autogen_dimensions.xml file. I want to read this file in my java class.

    Kind regards
    Ravinder P

    Service platform is delivered with 2 copies of the reference application. The folder that you noted is not functional, for reference.

    Who is running is located at:

    \Endeca\PlatformServices\6.1.2\tools\server\webapps\endeca_jspref

    You should be able to just drag the files in there.

  • Cannot access the XML file on localhost.

    Type localhost or 127.0.0.1 in any browser on a Macintosh (os 10.5) does not have access to the host computer.

    The following Actionscript code generates the following error:

    var XMLURL:URLRequest = new URLRequest ("http://localhost/quoteRotator/quotes1.xml");

    Error opening URL ' http://localhost/quoteRotator/quotes1.XML '

    #2044 error: Unhandled IO error...

    How can I access the XML file using Actionscript 3?

    Thanks for your help.

    use:

    var XMLURL:URLRequest = new URLRequest("quotes1.xml");
    
  • How to access the XML in Flex

    < user >

    < UID = "HR" dept >

    < user >

    mm < fname > < / fname >

    < Email > [email protected] < / email >

    < / user >

    < user >

    SSS < fname > < / fname >

    < Email > [email protected] < / email >

    < / user >

    < / dept >

    < UID = 'Finance' dept >

    < user >

    FFFF < fname > < / fname >

    < Email > [email protected] < / email >

    < / user >

    < user >

    www < fname > < / fname >

    < Email > [email protected] < / email >

    < / user >

    < / dept >

    < / users >

    using the HTTP service with access to the data

    This my user.xml file I want to display all the item in flex datagrid using the function navigator tab... each browser tab contains a grid of data for corresponding like HR, sales, Finance Dept

    the corresponding information will be displayed in the data grid

    first tab navigatore is

    HR-> grid of data such as fname, Email field

    Finance-> fname, E Mail

    Try this if you have problems and the way in which you want to change it:


    <>
    "xmlns:MX ="http://www.adobe.com/2006/mxml"
    Layout = "vertical".
    "" xmlns:local = "*".
    creationComplete = "init ()" > "


           
               
                    
                          mm
                          [email protected]
                    

                    
                          SSS
                          [email protected]
                    

               

               
                    
                          FFFF
                          [email protected]
                    

                    
                          www
                          [email protected]
                    

               

           

       

       
       
           
    dataProvider = "{myXML.dept}" > "
               

                   
                       
                           
                           
                       

                   

                       
           
       
       

    Kind regards

    Adrian

  • How to access the screen under display PopUp

    Hello

    I made a transparent display of the PopUp. But I want to access the screen below this screen PopUp, such as screen PopUp remains on top, but gets to focus on the screen below.

    I got the screen below, using: -.

    Ui.getUiEngine () .getActiveScreen () .getScreenBelow ();

    but I don't know how active the display below, as the Pop Up screen stays on top.

    Thank you

    Thank you very much

    You have got it. Yes indeed I used to use the option

    Ui.getUiEngine (.pushGlobalScreen) (translucent, 4, UiEngine.GLOBAL_SHOW_LOWER);

    but now it works fine.

    I fixed as Ui.getUiEngine (.pushGlobalScreen) (translucent, 4, false);

    I will mark it as a solution.

    But please tell me how can I restrict scrolling or surfing a few fields on the screen below.

    Thank you...

  • How to access QML object to display the error message.

    Hi all

    I have a request. I got a login screen ("asset:///qml/screenLogin.qml"). "Connect" OB button I click sendt asks the server sending the XML data as a response.

    After that, I am parsing the XML data by using Connection Manager. Code is below:

    /*
     * LoginHandler.cpp
     *
     *  Created on: Jan 15, 2013
     *      Author: Ekansh
     */
    
    /*Parsing the Login Response Structure.
    
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    
     */
    
    //#include 
    #include "loginhandler.hpp"
    
    #include 
    #include 
    #include 
    #include 
    #include `
    #include 
    #include 
    
    namespace bb {
    namespace cascades {
    
    LoginHandler::LoginHandler() {
        // TODO Auto-generated constructor stub
    
    }
    
    LoginHandler::~LoginHandler() {
        // TODO Auto-generated destructor stub
    }
    
    bool LoginHandler::startDocument() {
        qDebug() << "Start of the document.";
        return true;
    }
    
    bool LoginHandler::endDocument() {
        qDebug() << "End of the document.";
        return true;
    }
    
    bool LoginHandler::startElement(const QString &namespaceURI,
            const QString &localName, const QString &qName,
            const QXmlAttributes &atts) {
        qDebug() << "Start of element" << qName;
        for (int i = 0; i < atts.length(); ++i)
            qDebug() << "  " << atts.qName(i) << "=" << atts.value(i);
    
        return true;
    }
    
    bool LoginHandler::endElement(const QString &namespaceURI,
            const QString &localName, const QString &qName) {
        qDebug() << "End of element" << qName;
    
        if (qName == "sessionid") {
            sessionid = tagValue;
            qDebug() << "sessionid:: " << sessionid;
        } else if (qName == "error") {
            error = tagValue;
            qDebug() << "error:: " << error;
    
            /*QmlDocument *qml = QmlDocument::create("asset:///qml/screenLogin.qml");
            //Container *root = qml->createRootObject();
            AbstractPane *root = qml->createRootObject();
            QObject *newLabel = root->findChild("errorObject");
    
            if (newLabel)
                newLabel->setProperty("text", "error");*/
    
        }
        return true;
    }
    
    bool LoginHandler::fatalError(const QXmlParseException & exception) {
        qWarning()
                << QString("Fatal error on line %1, column %2: %3").arg(
                        exception.lineNumber()).arg(exception.columnNumber()).arg(
                        exception.message());
    
        return false;
    }
    
    bool LoginHandler::characters(const QString &str) {
        qDebug() << "Characters" << str;
        tagValue = str;
        return true;
    }
    } /* namespace cascades */
    } /* namespace bb */
    

    When I put the wrong credentials, I want an error message to display on login QML.

    See the code in the EndElement this handler method.

    But I am not able set the error message when the connection QML.

    Help, please.

    You can set the label with the message as below. Condition that you specified label with the same "errorLbl" objectname qml

    QObject *lblError = bb::cascades::Application::instance()->findChild("errorLbl");
        if (lblError)
            lblError->setProperty("text", "error");
    

    -Dishooom

    I hope this helps...

  • I receive the "could not sign in you [access denied: 530]." Check your user name and password ' problem on Adobe Muse CC 2014 and I can not access the xml file that is supposed to solve this problem?

    I am a PC user and I have Adobe Creative Cloud Muse 2014. I received the "could not sign in you [access denied: 530]." Check your username and password "error. trying to download my muse to my ftp, GoDaddy host site I did it successfully in the past and that recently it has stopped working. I looked online at the Adobe Muse Help FAQ | Download a Site from Muse Adobe on a third-party hosting service and he said to download the ftpprefs.xml file but this file simply leads to a blank page that says / * not found * / / * not found * /.

    Can you direct me to a page to work with this file, or provide an alternative? Thank you!

    Hello

    As you have found the error [access denied: 530] This means that the problem is with access. The user name and password that you enter is incorrect or you don't have the appropriate permissions.

    I suggest you to contact Godaddy to reset the password or reset the permissions.


    Concerning

    Vivek

  • Cannot display the page XML cannot display the XML input using the XSL stylesheet

    Hi gurus of the Oracle,.

    I got this error... .once I submitted the demand shows warning... I opened exit it shows error below... I do not understand how to fix this error... Please help me... This is the CODE of PROCEDURE STORED PL/SQ L...

    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.


    --------------------------------------------------------------------------------

    A semi colon was expected. Error during processing of the resources ' http://orappsus64.tsindia.in:8009/OA_CGI/FNDWRR.exe?temp_id...

    COGNOS Quintiles/IT/J & J < CP_PROJECT > < / CP_PROJECT >
    ----------------------------^
    n-left: 1em; "text-indent:-2em" > < GL_MAIN_PERIOD > Jun-12 < / GL_MAIN_PERIOD >
    < TOTAL_REVENUE > 4026.14 < / TOTAL_REVENUE >
    < GL_PERIOD > Jun-12 < / GL_PERIOD >
    < / G_TOTAL_REVENUE_CAT >

    -------------------------------------------------------

    THIS IS MY LOG FILE
    ----------------------------------------------------------
    [01/10/12 10:44:26] [main] From service GSF with simultaneous process id is 157635.
    [01/10/12 10:44:26] [main] Initialization parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads = 5
    [01/10/12 10:44:26] [Thread-22] Wire service commissioning.
    [01/10/12 10:44:26] [Thread 23] Wire service commissioning.
    [01/10/12 10:52:33] [OPPServiceThread1] Post-processing application 1296337.
    [01/10/12 10:52:33] [157635:RT1296337] The execution of the actions of post-processing for request 1296337.
    [01/10/12 10:52:34] [157635:RT1296337] From XML Publisher postprocessing action.
    [01/10/12 10:52:34] [157635:RT1296337]
    Model code: XXTGSCPR004
    Model app: PA
    Language: en
    Territory: U.S.
    Output type: EXCEL
    [100112_105234216] [] [EXCEPTION] [DEBUG] - set preferences PreferenceStore-
    [100112_105234216] [] [EXCEPTION] [DEBUG] - environment variables stored in EnvironmentStore-
    [100112_105234216] [[EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.] LOW]:-[1]
    [100112_105234216] [] [EXCEPTION] [DEBUG] [SECURITY_GROUP_ID]: [0]
    [100112_105234216] [] [EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_INTERVAL]: [300]
    [100112_105234217] [] [EXCEPTION] [DEBUG] [NLS_CHARACTERSET]: [US7ASCII]
    [100112_105234217] [] [EXCEPTION] [DEBUG] [RESP_APPL_ID]:-[1]
    [100112_105234217] [] [EXCEPTION] [DEBUG] [NLS_LANGUAGE]: [AMERICAN]
    [100112_105234217] [] [EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]: [1]
    [100112_105234217] [] [EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]: [2]
    [100112_105234217] [] [EXCEPTION] [DEBUG] [NLS_NUMERIC_CHARACTERS]: [.,]
    [100112_105234217] [] [EXCEPTION] [DEBUG] [APPS_JDBC_URL]: [jdbc:oracle:thin: @(DESCRIPTION = (ADDRESS_LIST = (LOAD_BALANCE = YES) (FAILOVER = YES) (ADDRESS = (PROTOCOL = tcp)(HOST=orappsus64.tsindia.in) (PORT = 1530))) (CONNECT_DATA = (SID = clone)))]
    [100112_105234217] [] [EXCEPTION] [DEBUG] [RESP_ID]:-[1]
    [100112_105234217] [] [EXCEPTION] [DEBUG] [FND_MAX_JDBC_CONNECTIONS]: [500]
    [100112_105234217] [] [EXCEPTION] [DEBUG] [FND_JDBC_USABLE_CHECK]: [false]
    [100112_105234218] [] [EXCEPTION] [DEBUG] [USER_ID]:-[1]
    [100112_105234218] [] [EXCEPTION] [DEBUG] [NLS_TERRITORY]: [AMERICA]
    [100112_105234218] [] [EXCEPTION] [DEBUG] [FND_JDBC_PLSQL_RESET]: [false]
    [100112_105234218] [] [EXCEPTION] [DEBUG] [FND_JDBC_CONTEXT_CHECK]: [true]
    [100112_105234218] [] [EXCEPTION] [DEBUG] [NLS_DATE_FORMAT]: [DD-MON-RR]
    [100112_105234218] [] [EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_SIZE]: [5]
    [100112_105234218] [[EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.] HIGH]:-[1]
    [100112_105234218] [] [EXCEPTION] [DEBUG] [NLS_SORT]: [BINARY]
    [100112_105234218] [] [EXCEPTION] [DEBUG] [NLS_DATE_LANGUAGE]: [AMERICAN]
    [100112_105234218] [] [EXCEPTION] [DEBUG] [LOGIN_ID]:-[1]
    [100112_105234218] [] [EXCEPTION] [DEBUG] - properties stored in the Java System Properties-
    [100112_105234219] [] [EXCEPTION] [DEBUG] [APPLTMP]: [AP1/oracle/PROD01/inst/apps/clone_orappsus64/appltmp]
    [100112_105234219] [] [EXCEPTION] [DEBUG] [java.runtime.name]: [Java (TM) SE Runtime Environment]
    [100112_105234219] [EXCEPTION] [DEBUG] [sun.boot.library.path]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386]]
    [100112_105234219] [] [EXCEPTION] [DEBUG] [java.vm.version]: [11: 0 - b15]
    [100112_105234219] [] [EXCEPTION] [DEBUG] [OVERRIDE_DBC]: [true]
    [100112_105234219] [EXCEPTION] [DEBUG] [dbcfile]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/appl/fnd/12.0.0/secure/clone.dbc]]
    [100112_105234219] [] [EXCEPTION] [DEBUG] [java.vm.vendor]: [Sun Microsystems Inc..]
    [100112_105234219] [] [EXCEPTION] [DEBUG] [java.vendor.url]: [http://java.sun.com/]
    [100112_105234219] [[EXCEPTION] [DEBUG] [path.separator]]: [[:]
    [100112_105234219] [] [EXCEPTION] [DEBUG] [APPLCSF]: [AP1/oracle/PROD01/inst/apps/clone_orappsus64/papers/appl/conc]
    [100112_105234220] [] [EXCEPTION] [DEBUG] [java.vm.name]: [the server VM Java]
    [100112_105234220] [] [EXCEPTION] [DEBUG] [file.encoding.pkg]: [sun.io]
    [100112_105234220] [] [EXCEPTION] [DEBUG] [sun.java.launcher]: [SUN_STANDARD]
    [100112_105234220] [] [EXCEPTION] [DEBUG] [user.country]: [US]
    [100112_105234220] [] [EXCEPTION] [DEBUG] [sun.os.patch.level]: [unknown]
    [100112_105234220] [] [EXCEPTION] [DEBUG] [java.vm.specification.name]: [Java Virtual Machine specifications]
    [100112_105234220] [EXCEPTION] [DEBUG] [user.dir]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/logs/appl/conc/log]]
    [100112_105234220] [] [EXCEPTION] [DEBUG] [java.runtime.version]: [1.6.0_10 - b33]
    [100112_105234220] [] [EXCEPTION] [DEBUG] [CLIENT_PROCESSID]: [25943]
    [100112_105234220] [] [EXCEPTION] [DEBUG] [java.awt.graphicsenv]: [sun.awt.X11GraphicsEnvironment]
    [100112_105234220] [EXCEPTION] [DEBUG] [java.endorsed.dirs]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/endorsed]]
    [100112_105234221] [] [EXCEPTION] [DEBUG] [os.arch]: [i386]
    [100112_105234221] [EXCEPTION] [DEBUG] [JTFDBCFILE]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/appl/fnd/12.0.0/secure/clone.dbc]]
    [100112_105234221] [] [EXCEPTION] [DEBUG] [java.io.tmpdir]: [tmp]
    [100112_105234221] [] [EXCEPTION] [DEBUG] [line.separator]:]
    ]
    [100112_105234221] [] [EXCEPTION] [DEBUG] [java.vm.specification.vendor]: [Sun Microsystems Inc..]
    [100112_105234221] [] [EXCEPTION] [DEBUG] [os.name]: [Linux]
    [100112_105234221] [] [EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]: [1]
    [100112_105234221] [] [EXCEPTION] [DEBUG] [CPID]: [157635]
    [100112_105234221] [] [EXCEPTION] [DEBUG] [sun.jnu.encoding]: [UTF-8]
    [100112_105234221] [] [EXCEPTION] [DEBUG] [oracle.apps.fnd.common.Pool.leak.mode]: [stderr: off]
    [100112_105234221] [][EXCEPTION] [DEBUG] [java.library.path]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386/server:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/.. /lib/i386:/AP1/oracle/PROD01/apps/tech_st/10.1.3/lib32:/AP1/oracle/PROD01/apps/tech_st/10.1.3/lib:/AP1/oracle/PROD01/apps/apps_st/appl/cz/12.0.0/bin:/AP1/oracle/PROD01/apps/apps_st/appl/iby/12.0.0/bin:/AP1/oracle/PROD01/apps/ apps_st/appl/PON/12.0.0/bin:/ap1/Oracle/PROD01/apps/apps_st/appl/SHT/12.0.0/lib:/usr/java/packages/lib/i386:/lib:/usr/lib]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [java.specification.name]: [Java platform API specification]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [java.class.version]: [50.0]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [sun.management.compiler]: [HotSpot Tiered compilers]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [queue_appl_id]: [0]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [os.version]: [2.6.18 - 128.el5]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [LONG_RUNNING_JVM]: [true]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [user.home]: [home/applmgr01]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [user.timezone]: [Asia/Kolkata]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [java.awt.printerjob]: [sun.print.PSPrinterJob]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [file.encoding]: [UTF-8]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [java.specification.version]: [1.6]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [CACHEMODE]: [PUBLISHED]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [conc_queue_id]: [6269]
    [100112_105234222] [][EXCEPTION] [DEBUG] [java.class.path]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/AP1/oracle/PROD01/apps/apps_st/comn/java/lib/appsborg2.zip:/AP1/oracle/PROD01/apps/apps_st/comn/java/classes]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [user.name]: [applmgr01]
    [100112_105234222] [EXCEPTION] [DEBUG] [DBCFILE]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/appl/fnd/12.0.0/secure/clone.dbc]]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [java.vm.specification.version]: [1.0]
    [100112_105234222] [EXCEPTION] [DEBUG] [java.home]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre]]
    [100112_105234222] [] [EXCEPTION] [DEBUG] [sun.arch.data.model]: [32]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [user.language]: [in]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [java.specification.vendor]: [Sun Microsystems Inc..]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [mode java.vm.info]: [mixed]
    [100112_105234223] [EXCEPTION] [DEBUG] [logfile]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/logs/appl/conc/log/FNDOPP157635.txt]]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [java.version]: [1.6.0_10]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [JAVA. EXT. DIRS]:[AP1/ORACLE/PROD01/APPS/TECH_ST/10.1.3/APPSUTIL/JDK/JRE/LIB/EXT:/USR/JAVA/PACKAGES/LIB/EXT]
    [100112_105234223] [][EXCEPTION] [DEBUG] [sun.boot.class.path]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/resources.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/sunrsasign.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/jsse.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/jce.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/charsets.jar:/AP1/oracle/PROD01/apps/tech_ St/10.1.3/appsutil/JDK/JRE/classes]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [java.vendor]: [Sun Microsystems Inc..]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]: [2]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [file.separator]:]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [java.vendor.url.bug]: [http://java.sun.com/cgi-bin/bugreport.cgi]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [sun.io.unicode.encoding]: [UnicodeLittle]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [sun.cpu.endian]: [little]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [APPLOUT]: [out]
    [100112_105234223] [] [EXCEPTION] [DEBUG] [sun.cpu.isalist]:]
    [01/10/12 10:52:35] [UNEXPECTED] [157635:RT1296337] java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
    at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:285)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:173)
    Caused by: oracle.xdo.parser.v2.XMLParseException: expected '; '.
    at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:337)
    at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:305)
    at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
    ... more than 17

    [01/10/12 10:52:35] [157635:RT1296337] Over the actions of post-processing to request 1296337.
    [GC 8059K - > 6286K (8692K), dry 0,0076290]
    [Full GC [unloading class sun.reflect.GeneratedSerializationConstructorAccessor17]]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor19]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor18]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor13]
    6286 K - > 3865 K (8692 K), dry 0,0446370]

    Please help big appriciation.

    Thank you

    Siddarth.

    OK, the solution is quite "simple" then.
    Each string that can contain XML reserved characters must be escaped before concatenating XML tags.

    I see that the code has already some replace(column_name, '&', ''), perhaps that was added in the same goal, but a bad solution.

    A better solution would be to use the SQL/XML functions, but it would mean that the refactoring cursors.
    Therefore, an intermediate solution (if you want to keep '&' characters in the output) is to escape the chain properly.

    For example, in the GET_PROJECTS cursor:

    CURSOR get_projects ( p_customer_id            IN    NUMBER
                        , p_bu_vertical            IN    VARCHAR2
                        , p_line_of_business    IN    VARCHAR2
                       -- , p_period_set_name        IN    VARCHAR2
                        , p_gl_period_from        IN    VARCHAR2
                        , p_gl_period_to        IN    VARCHAR2
                        , p_project_id_FROM        IN    NUMBER
                        , p_project_id_to        IN    NUMBER
                        , p_organization_name  IN    VARCHAR2
                        ) IS
    SELECT DISTINCT   replace(pa.name, '&','') project_name
         ,pa.project_id
         , utl_i18n.escape_reference(pa.segment1) as project_number   --< Here
         , pa.project_currency_code
         , hp.party_id
    ...
    

    This should solve the problem with the CP_PROJECT tag.
    Repeat on the other columns if necessary.

  • How to READ XML and display hirarechy and data in separate columns 2

    Hi, I have the following XML example and I need to extract the hirarechy and values separately. If the value is null, hirarechy must be displayed. Please advice!
    for example,.
    I want to output something this link

    NŒUD
    ---------------------------
    8. TEST4. FIVE
    8. TEST4. SIX
    8. TEST4. 7. TEST2. TWO
    8. TEST4. 7. TEST2. THREE



    VALUE
    ------------------------------------
    1

    5
    I test m


    example of XML data:

    <? XML version = "1.0"? >
    rowset <>
    < ROW >
    < 8 >
    < TEST4 >
    < 5 > 1 < / FIVE >
    < 6 / >
    < 7 >
    < TEST2 >
    < TWO > 5 < / TWO >
    test of m i < 3 > < / 3 >
    < 4 >
    < A > 26 March 12 < / ONE >
    < / OVEN >
    < / TEST2 >
    < / SEVEN >
    < / TEST4 >
    < TEST4 >
    < 5 > 1 < / FIVE >
    < SIX > 26 March 12 < / SIX >
    < 7 >
    < TEST2 >
    < TWO > 5 < / TWO >
    < 3 > 67 < / 3 >
    < 4 >
    < A > 26 March 12 < / ONE >
    < / OVEN >
    < / TEST2 >
    < / SEVEN >
    < / TEST4 >
    < / 8 >
    < / ROW >
    < / LINES >

    Thank you

    Published by: Saad at March 26, 2012 15:18

    What is xml_test in your example? his error on this one.

    This is a table of xmltype object I used to store your XML for my first tests.
    Sorry, I forgot to remove the part while testing with a variable binding in place.

    Try this one (pass your real xmltype variable instead of xmltype(:xmldoc)):)

    SELECT x.node_id
         , x.node_value
    FROM XMLTable(
         'declare function local:getChildren($e as node(), $pID as xs:string?) as element()*
          {
            for $i in $e/(child::*|attribute::*)
            let $ID := if ($pID) then concat($pID,".",name($i)) else name($i)
            return element r
            {
              attribute is_leaf {empty($i/child::*)}
            , element node_id {$ID}
            , element parent_node_id {$pID}
            , element node_name {name($i)}
            , if ($i instance of attribute())
                then ( element node_value {data($i)}, element node_kind {"attribute"} )
                else ( element node_value {$i/text()}, element node_kind {"element"} )
            }
            | local:getChildren($i,$ID)
          }; (: :)
          local:getChildren($d/ROWSET/ROW,())'
          passing xmltype(:xmldoc) as "d"
          columns node_id         varchar2(100)   path 'node_id'
                , node_name       varchar2(30)    path 'node_name'
                , node_value      varchar2(2000)  path 'node_value'
                , parent_node_id  varchar2(100)   path 'parent_node_id'
                , node_kind       varchar2(30)    path 'node_kind'
                , is_leaf         varchar2(5)     path '@is_leaf'
         ) x
    WHERE is_leaf = 'true'
    ;
    
  • Access to the value displayed in the selection list

    Hello
    On a form, I have a select list (drop-down list).
    I can access the value selected in the help: syntax SelectListName.
    But how to get the displayed value?

    Thanks in advance,
    Alex

    If necessary in a PL/SQL environment (or I guess you can call AJAX then PL/SQL javascript) you can use these two APIs to help you perhaps?

    APEX_ITEM. TEXT_FROM_LOV
    APEX_ITEM. TEXT_FROM_LOV_QUERY

    Or should give you the value displayed for a corresponding return value (so since you can access the return value already, switch to one of these functions (as appropriate to your situation)).

  • Problem with to access the XML nodes whose namespace

    Hello
    I have a XML file with the following format;

    "" "" "< graphml version ="1.3"xmlns =" http://graphml.graphdrawing.org/xmlns/graphml ' xmlns:y = ' http://www.yworks.com/xml/graphml ' xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance" > "

    < graph id = 'G' edgedefault 'ordered' = >

    < key data 'd11' = >
    < y: SharedData >
    < name there: Brush = "SolidBrush" color = "Black" id = "1" / >
    < / y: SharedData >
    < / data >

    < node id = "G:n0" >
    < y: Labels >
    < y: Text > <! [CDATA [start]] > < / Text: y >
    < / y: Labels >
    < / node >

    < node id = "G:n1" >
    < y: Labels >
    < y: Text > <! [CDATA [end]] > < / Text: y >
    < / y: Labels >
    < / node >

    < / chart >

    < / graphml >


    I access this file as < mx:XML id = "layoutXml" source = "tmp.xml" / > "

    I have no application debugging and found that the layoutXml object contains the xml file as it is. Now when I try to access any child node of layoutXml, every time I found null. Same instruction layoutXml.graph.toXMLString () or layoutXml.graph.toString () returns null.

    I have tryied the following approach as well, but did not work,
    var nameSpace:Namespace = new Namespace (" http://www.yworks.com/xml/graphml");
    var str:String = layoutXml.graph.node. (@id == ' G:n0").nameSpace::Labels.nameSpace::Text.toXMLString();")
    also, this property returns null.

    If anyone has the solution, please answer.

    Thank you.

    Namespace var sets default namespace:
    lack of namespace xml = nameSpace;

    You should then be able to reference nodes normally.

    Tracy

  • XML not displaying images

    I have a problem displaying images from an xml file. It's a portfolio site, so roughly that it displays text and an image. All text works fine, but for some reason any image (and the entire application) does not appear when the code of the image is added.

    Here is my code:

    "" < mx:XML id = "portfolioXML".
    source = "portfolio. XML"/ >

    < mx:XMLListCollection id = "interActXMLList".
    source = "{portfolioXML.interactive.label}" / >

    < mx:List id = "interActList".
    dataProvider = "{interActXMLList}".
    width = "253" height = "103" / >

    < mx:Number id = "selectedWorkIndex" > {interActList.selectedIndex} < / mx:Number >

    < mx:Text
    ID = "titleInput".
    Text = "{portfolioXML.interactive [selectedWorkIndex] .title}".
    width = "446" / >

    < mx:Text
    ID = "description".
    Text = "{portfolioXML.interactive [selectedWorkIndex] .shortDesc}.
    height = "101" width = "446" / >
    <!-this causes it to crash
    < mx:Image
    source = "{portfolioXML.interactive [selectedWorkIndex] .image}" / >
    ->

    XML looks like this:

    < portfolio >
    < interactive >
    < label > The point < / label >
    < title > element < /title >
    < shortDesc > the question is totally awesome. < / shortDesc >
    < image > http://www.example.com/images/interactive/item.png < /image >
    < / interactive >
    < / portfolio >

    The url is correct (it works when I hard code). Anyone know why images do not work?

    In my tests, I found the var 'selectedWorkIndex' to be the problem. In fact, it's a timing issue as this var is not set before trying to load the image. I reinforced with your code and I saw that the image will load before your number var is defined. Bad luck. That causes the error.

    If you need to write a little Actionscript code to define things upwards and load the image correctly.
    I created a var for the SOURCE property of the image control, and I put this var in the creationComplete for the app Manager and a handler for the event of CHANGES to the list. Voila!

Maybe you are looking for

  • Global variables for circular buffer

    Hallo! I have another question: I need to have a variable circular buffer size. So I want set size circular buffer by a global varable. Is this possible? I tried to use the global variable like {VAR_01} to insert in the field that you want to the mem

  • How to transfer the original user files to the new?

    Original title: copy of the user files I'm looking to copy files to a new username. I had all kinds of problems with user names in Win7. I never had a logon screen and usually went straight to my account at startup. Then I had a problem with a progra

  • the key of Win 7 does not have to reinstall them.

    I have a Macintosh, and I run windows at a decent speed in virtual box. I received my copy of my father, who bought it to run in a virtual machine on your mac. He had installed once and then deleted the disk image. This is the second time I used this

  • How can I add someones face some footage?

    OK, sorry for the bad title.What I'm aiming fundamentally to is something like this: Donald Trump interrupts. STAR WARS - YouTube if anyone can link me to a tutorial to all tools in AE, PP or PS that is used to create this I'll be very grateful! And

  • Can not buy fireworks - bad links?

    Hello.I tried fireworks from adobe on the 30 day trial. I wanted to buy it and selected the option of fireworks. It brings me to a broken web page that does not load.http://www.Adobe.com/cfusion/store/trial/index.cfm?keyword=Fireworks & local = all &