the XML parsing problem


Solved...

I analyzed using

String _nodeName = node.getNodeName ();

_nodeValue = doc. GetElementsByTagName (_nodeName). Item (0) .getFirstChild () .getNodeValue ();

and his works fine.

Tags: BlackBerry Developers

Similar Questions

  • The XML parsing problems

    I started with the sample of XML parsing and tried to get a simple user interface that loads buttons with the value of a child node (more later to go to a new screen and analyze another XML code).  When I analyze the XML code, I get the knots, but I don't get the values.  My example of XML is generated.

    Example of XML data:

    
    
    
    
             Bugs     BugsXML.action 
    
    
    

    Code:

    import java.io.InputStream;
    
    import org.w3c.dom.Document;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    
    import mbt.util.DataUtils;
    import net.rim.device.api.system.Application;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.ButtonField;
    import net.rim.device.api.ui.component.RichTextField;
    import net.rim.device.api.ui.component.SeparatorField;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.xml.parsers.DocumentBuilder;
    import net.rim.device.api.xml.parsers.DocumentBuilderFactory;
    
    public class XMLViewer extends UiApplication {
    
      MainScreen _screen = new MainScreen();
      public static final boolean isTest = true;
      ConnectionThread _conThread;
      public final String xmlUrl;
    
      public static void main(String args[]) {
        XMLViewer viewer = new XMLViewer();
        viewer.enterEventDispatcher();
      }
    
      public XMLViewer() {
        this.xmlUrl = "http://localhost:8080/FooXML.action";
        this._screen.setTitle("XML Viewer");
        this._screen.add(new RichTextField("Requesting update..."));
        this._screen.add(new SeparatorField());
        pushScreen(this._screen);
        this._conThread = new ConnectionThread();
        this._conThread.start();
      }
    
      public void updateField(String name, String action) {
        synchronized (Application.getEventLock()) {
          ButtonField button = new ButtonField(name,
            ButtonField.CONSUME_CLICK | ButtonField.FOCUSABLE |
            ButtonField.USE_ALL_WIDTH){
              protected boolean navigationClick(int status, int time) {
                System.out.println("Name: " + this.getLabel());
                return true;
              }
          };
          this._screen.add(button);
        }
      }
    
      private class ConnectionThread extends Thread {
        public ConnectionThread() {
          super();
        }
        public void run() {
          Document doc;
          try {
            int i,j;
            DocumentBuilderFactory docFactory =           DocumentBuilderFactory.newInstance();
            DocumentBuilder docBuilder = docFactory.newDocumentBuilder();
            InputStream is = DataUtils.getXMLActions(xmlUrl);
            if (is == null) {
              System.out.println("InputStream is null!");
              return;
            }
            doc = docBuilder.parse(is);
            doc.getDocumentElement().normalize();
            NodeList list = doc.getElementsByTagName("action");
            for (i=0;i
    

    I get this result:

    HTTP STATUS OKItem: 1 has name: name has text: null has value: nullItem: 3 has name: url has text: null has value: null
    

    You can see this link, it may be useful for you

    http://supportforums.BlackBerry.com/T5/Java-development/help-with-parsing-XML-XMLParseDemo-Java/TD-p...

  • XEngine error - error from the XML parser

    Hello

    I configured EDI X 12 generic exchange for outgoing FTP. I generated data EDI841 of the B2B document editor. When I try to send xml 841, I get the following log in the b2b.log file


    Error in brief:
    5083: XEngine error - error in the XML parser.

    iAudit report:
    <? XML version = "1.0" encoding = "UTF-16"? > < AnalyzerResults Guid = "{29FD00C2-DE93-4B22-AD75-9462FDB54F3F}" > < ExecutionDate > Thursday, November 20, 2008 < / ExecutionDate > < ExecutionTime > 19:55:18 (normal time of the India) < / ExecutionTime > < AnalyzerReturn > Failed < / AnalyzerReturn > < NumberOfErrors > 1 < / NumberOfErrors > < ErrorByCategory > < Category Name = "Reject" > < name of gravity = 'Normal' > 1 < / gravity > < / category > < / ErrorByCategory > < status > completed < / status > < DataFile > < FilePath > D:\OraHome_ 2\ip < / FilePath > < FileName / > < LastModified / > < FileSize / > < DataURL > file:\\D:\OraHome_2\ip < / DataURL > < / DataFile > < AnalyzerErrors > < error ErrorCode gravity = "{C0046014-9F8C-4C50-8AD0-22176044D2D6}" = "Normal" category = "Reject" index = '1' ID = '50830000' > < ErrorBrief > 5083: XEngine error - XML parser error. < / ErrorBrief > < ErrorMsg > XML parser error. < / ErrorMsg > < ErrorObjectInfo > < 'ErrorLevel' > 0 = parameter name < / parameter > < parameter Name = "Name" > XData2Native < / parameter > < name of the parameter '_ec_dn_guid_' = > {BD729023-F5CD-497E-95CD-501129074879} < / parameter > < parameter = "_ec_index" > 0 name < / parameter > < name of the parameter = "ec_error_scope" > Document < / parameter > < / ErrorObjectInfo > < ErrorDataInfo > < Part1 / > < ErrData / > < Part3 / > < DataXPointer > < StartPos > 0 < / StartPos > < size > 0 < / size > < / DataXPointer > < / ErrorDataInfo > < / error > < / AnalyzerErrors > < / AnalyzerResults >
    2008.11.20 to 19:55:19:084: Thread-11: B2B - (DEBUGGING) = {C0046014-9F8C-4C50-8AD0-22176044D2D6} oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sErrorGuid
    2008.11.20 to 19:55:19:084: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sDescription = XML parsing error.
    2008.11.20 to 19:55:19:084: Thread-11: B2B - sBrDescription oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument (DEBUG) = 5083: XEngine error - error in the XML parser.
    2008.11.20 to 19:55:19:084: Thread-11: B2B - (DEBUGGING) ErrorLevel = 0 sParameterValue = oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName
    2008.11.20 to 19:55:19:084: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = sParameterValue Name = XData2Native
    2008.11.20 to 19:55:19:084: Thread-11: B2B - sParameterName oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument (DEBUG) = ecdn_guid_ sParameterValue = {BD729023-F5CD-497E-95CD-501129074879}
    2008.11.20 to 19:55:19:084: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = sParameterValue index ec= 0
    2008.11.20 to 19:55:19:084: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ec_error_scope sParameterValue = Document
    2008.11.20 to 19:55:19:084: Thread-11: B2B - oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument (DEBUG) added pound key = {BD729023-F5CD-497E-95CD-501129074879}
    2008.11.20 to 19:55:19:552: Thread-11: B2B - lot of oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument (DEBUG) Position = 0
    2008.11.20 to 19:55:19:568: Thread-11: B2B - Error (ERROR) -: AIP-51505: General Validation error
    at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2231)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1610)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:968)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1131)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage (MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run (MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)

    2008.11.20 to 19:55:19:568: Thread-11: B2B - Error (ERROR) -: AIP-51505: General Validation error
    at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2231)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1610)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:968)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1131)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage (MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run (MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)

    2008.11.20 to 19:55:19:568: Thread-11: B2B - Error (ERROR) -: AIP-51505: General Validation error
    at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2285)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1610)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:968)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1131)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage (MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run (MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)

    2008.11.20 to 19:55:19:568: Thread-11: B2B - Error (ERROR) -: AIP-51505: General Validation error: error -: AIP-51505: General Validation error
    at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2285)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1610)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:968)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1131)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage (MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run (MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: error -: AIP-51505: General Validation error
    at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2231)
    ... 6 more

    2008.11.20 to 19:55:19:568: Thread-11: B2B - (DEBUGGING) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage, B2BDomainException
    2008.11.20 to 19:55:19:568: Thread-11: B2B - oracle.tip.adapter.b2b.engine.Engine:handleOutboundException (DEBUG) Update Error Message: error -: AIP-51505: General Validation error
    2008.11.20 to 19:55:19:568: Thread-11: B2B - (DEBUGGING) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState entry
    2008.11.20 to 19:55:19:584: Thread-11: B2B - message (DEBUG) AccessRepo:findBusinessMessageByB2BMessageId found successful with B2bMessageId: 96768985 and ProtocolMessageId 96768985
    2008.11.20 to 19:55:19:584: Thread-11: B2B - oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState (DEBUG) thread not found message.
    2008.11.20 to 19:55:19:584: Thread-11: B2B - oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState (DEBUG) update computer error message
    2008.11.20 to 19:55:19:662: Thread-11: B2B - (DEBUGGING) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState output
    2008.11.20 to 19:55:19:662: Thread-11: B2B - (DEBUGGING) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException line Update Native event Tbl
    2008.11.20 to 19:55:19:662: Thread-11: B2B - (DEBUGGING) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow entry
    2008.11.20 to 19:55:19:662: Thread-11: B2B - message (DEBUG) AccessRepo:findBusinessMessageByB2BMessageId found successful with B2bMessageId: 96768985 and ProtocolMessageId 96768985
    2008.11.20 to 19:55:19:662: Thread-11: B2B - oracle.tip.adapter.b2b.msgproc.DbAccess (DEBUG):

    * DbAccess:updateNativeEvtTblRow:tip_wireMsg not found wiremsg
    2008.11.20 to 19:55:19:662: Thread-11: B2B - (DEBUGGING) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException notification App
    2008.11.20 to 19:55:19:662: Thread-11: B2B - enter engine: notifyApp (DEBUG)
    2008.11.20 to 19:55:19:662: Thread-11: B2B - engine queue (DEBUG) AQJMSCorrelationID = 3AB8B0051B5E4C17A7D3DEF093027FF8
    2008.11.20 to 19:55:19:662: Thread-11: B2B - notifyApp:notifyApp (DEBUG) the exception ip message queue:
    < exception xmlns = "http://integration.oracle.com/B2B/Exception" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" >
    < correlationId > 96768985 < / correlationId >
    < b2bMessageId > 96768985 < / b2bMessageId >
    < errorCode > AIP-51505 < / errorCode >
    < > 5083 errorText: XEngine error - XML parser error. < / errorText >
    < errorDescription >
    <! [CDATA [info from the Machine: (PC022350)]]
    XML parsing error.  []] >
    < / errorDescription >
    < errorSeverity > 2 < / errorSeverity >
    < / exception >
    2008.11.20 to 19:55:19:662: Thread-11: B2B - (DEBUGGING) AQJMSCorrelationID = 3AB8B0051B5E4C17A7D3DEF093027FF8
    2008.11.20 to 19:55:19:755: Thread-11: B2B - output engine: notifyApp (DEBUG)
    2008.11.20 to 19:55:19:755: Thread-11: B2B - oracle.tip.adapter.b2b.engine.Engine:handleOutboundException (DEBUG) update successfully Error Message: error -: AIP-51505: General Validation error
    2008.11.20 to 19:55:19:755: Thread-11: B2B - validation DBContext (DEBUG): enter
    2008.11.20 to 19:55:19:755: Thread-11: B2B - validation DBContext (DEBUG): Transaction.commit)
    2008.11.20 to 19:55:19:755: Thread-11: B2B - (DEBUGGING) DBContext commit: leave
    2008.11.20 to 19:55:19:755: Thread-11: B2B - (DEBUGGING) oracle.tip.adapter.b2b.data.MsgListener:onMessage output

    Please help me solve this problem.

    a special character at the beginning of the file (before even the tag ) Please make sure that the XML is valid, no need to turn off validation w.

  • Could not create constants/controls/indicators from the XML parser

    Is there a reason I can't create a constant/control/indicator of the XML parser function ref (by right clicking)? I need to make the Subvi in build/read xml files, and it's really impossible without this ability.

    LabVIEW 2012 f3

    This bug has already been reported (CAR 357092) and should be corrected in the next service pack release. For now, here is a workaround:

    "" "" "1. create an indicator of reference from functions ' programming ' file IO" XML "XML parser" New.vi.
    2. right click on the new terminal of indicator 'DOM Document Out' and select Create > command (or indicator).

    3. right click on the new indicator of control / and choose Select XML Parser Class. Then you can choose what class you need.

  • 5083: XEngine error - error in the XML parser.

    Hi gurus B2B.

    While I send 850 out the partner I get below error. Could U please help me how to rectify the situation

    Here are the logs...


    2009.09.09 to 10:39:39:109: B2BStarter wire: repository - (DEBUG) Bind Variable: index = value 2 = standby
    2009.09.09 to 10:40:03:268: Thread-16: B2B - (DEBUGGING) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:reset entry
    2009.09.09 to 10:40:03:269: Thread-16: B2B - oracle.tip.adapter.b2b.document.edi.ISelectorImpl:reset (DEBUG) leave
    2009.09.09 to 10:40:03:273: Thread-16: B2B - oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument (DEBUGGING) XML = 1
    2009.09.09 to 10:40:03:275: Thread-16: B2B - (DEBUGGING) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument no XDataToNative results
    2009.09.09 to 10:40:03:623: Thread-16: B2B - (DEBUGGING) iAudit report:

    Error in brief:
    5083: XEngine error - error in the XML parser.

    iAudit report:
    <? XML version = "1.0" encoding = "UTF-16"? > < AnalyzerResults Guid = "{3869810F-2D9D-DE11-8D9B-00144F86C7D4}" > < ExecutionDate > Wednesday, September 9, 2009 < / ExecutionDate > < ExecutionTime > 10:40:03 (GMT) < / ExecutionTime > < AnalyzerReturn > Failed < / AnalyzerReturn > < NumberOfErrors > 1 < / NumberOfErrors > < ErrorByCategory > < Category Name = "Reject" > < name of gravity = 'Normal' > 1 < / gravity > < / category > < / ErrorByCategory > < status > completed < / status > < DataFile > < FilePath / > < FileName / > < LastModified. > < file size / > < file:// DataURL > < / DataURL > < / DataFile > < AnalyzerErrors > < error ErrorCode = '{C0046014-9F8C-4C50-8AD0-22176044D2D6}' gravity 'Normal' category = index to 'Reject' = '1' ID = '50830000' > < ErrorBrief > 5083: XEngine error - XML parser error. < / ErrorBrief > < ErrorMsg > XML parser error. < / ErrorMsg > < ErrorObjectInfo > < = 'ErrorLevel' > 0 parameter name < / parameter > < name of the parameter 'Name' = > XData2Native < / parameter > < parameter name = "_ec_dn_guid_" > {08D8B221-2D9D-DE11-8D9B-00144F86C7D4} < / parameter > < parameter Name = "_ec_index" > 0 < / parameter > < parameter Name = "ec_error_scope" > Document < / parameter > < / ErrorObjectInfo > < ErrorDataInfo > < Part1 / > < ErrData / > < Part3 / > < DataXPointer > < StartPos > 0 < / StartPos > < size > 0 < / size > < / DataXPointer > < / ErrorDataInfo > < / error > < / AnalyzerErrors > < / AnalyzerResults >
    2009.09.09 to 10:40:03:637: Thread-16: B2B - (DEBUGGING) = {C0046014-9F8C-4C50-8AD0-22176044D2D6} oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sErrorGuid
    2009.09.09 to 10:40:03:639: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sDescription = XML parsing error.
    2009.09.09 to 10:40:03:644: Thread-16: B2B - sBrDescription oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument (DEBUG) = 5083: XEngine error - error in the XML parser.
    2009.09.09 to 10:40:03:648: Thread-16: B2B - (DEBUGGING) ErrorLevel = 0 sParameterValue = oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName
    2009.09.09 to 10:40:03:650: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = sParameterValue Name = XData2Native
    2009.09.09 to 10:40:03:654: Thread-16: B2B - sParameterName oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument (DEBUG) = ecdn_guid_ sParameterValue = {08D8B221-2D9D-DE11-8D9B-00144F86C7D4}
    2009.09.09 to 10:40:03:657: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = sParameterValue index ec= 0
    2009.09.09 to 10:40:03:660: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ec_error_scope sParameterValue = Document
    2009.09.09 to 10:40:03:662: Thread-16: B2B - oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument (DEBUG) added pound key = {08D8B221-2D9D-DE11-8D9B-00144F86C7D4}
    2009.09.09 to 10:40:03:667: Thread-16: B2B - lot of oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument (DEBUG) Position = 0
    2009.09.09 to 10:40:03:672: Thread-16: B2B - Error (ERROR) -: AIP-51505: General Validation error
    at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2298)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1618)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
    at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
    at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)

    2009.09.09 to 10:40:03:677: Thread-16: B2B - Error (ERROR) -: AIP-51505: General Validation error
    at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2298)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1618)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
    at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
    at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)

    2009.09.09 to 10:40:03:682: Thread-16: B2B - Error (ERROR) -: AIP-51505: General Validation error
    at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2352)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1618)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
    at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
    at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)

    2009.09.09 to 10:40:03:685: Thread-16: B2B - Error (ERROR) -: AIP-51505: General Validation error: error -: AIP-51505: General Validation error
    at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2352)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1618)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
    at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
    at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
    Caused by: error -: AIP-51505: General Validation error
    at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2298)
    ... 6 more

    concerning
    Suni

    Hello

    Since this isn't a document EDI and xml, please turn off translation in B2B.

    Kind regards
    Dheeraj

  • global variables for the XML plugin problem

    Hello world

    recently I started working on a dialog box SOUTH, where the user can load the *.xml files in DIAdem.So much my code for the button looks like this:

    ....

    Call the FileNameGet ('ALL', 'FileRead","*.xml")
    Call DataFileLoad (FileDlgName, "XML_Plugin", "Load")

    ....

    And I must say that it works very well! I am able to load all listed in the devices file. BUT when I tried a number of loading devices, I used a global variable, that I defined in the vbscript file that I load the SOUTH since, I've noticed that global variables, I've defined with GlobalDim are not defined in the vbs.:mansurprised of XML_Pluging:

    Then I started to experiment and so far without success, no matter where I define global variables, in my plugin *.xml all not defined! The native commands even and DIAdem functrions does not work. If I run the script in tiara, it shows no errors, but when I use the plugin to open a file, then it gives an error. For example, MsgBox is not allowed.

    I used the plugin example for *.xml, which was published on the Web site of NOR, and I made a few changes. But overall I have it has not corrupted and I kept the same structure:

    Void ReadStore (File)

    Dim XmlFile: xmlFile = File.Info.FullPath
    '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    'open the file '.
    OpenXMLFile xmlFile

    End Sub

    Void OpenXMLFile (xmlFile)
    '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    ' Open MS - Xml Parser
    'Create the ActiveX object for the Microsoft XML parser.
    Dim XDoc: set xDoc = CreateObject ("MSXML2. DOMDocument.3.0")

    "Try to load the XML document
    If xDoc.Load (xmlFile) = False Then
    "Failed to load the document XML.
    RaiseError ' unable to load XML document!
    End If

    protected originalLocale: originalLocale = Getlocalte
    "SetLocale" en - us ".

    "The XML document loaded successfully!
    '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

    '----------------------------------------------
    "Read the header information.
    '----------------------------------------------

    Here, I have read some values of the header and then I loop on all devices present in the file!

    So basically I have two subroutines and that's all.

    SetLocale originalLocale

    End Sub

    So what I am doing wrong? Why global variables and other functions do not work. Is it because there is xml code in the script this way or it's a version problem?

    I use DIAdem 10.2. If I use global variables in other vbscripts, I use to draw curves for example I have no problem. Now I'm no *.xml code and no subroutines.

    I'd appreciate any solution that will make my *.xml plugin to work.

    Hi fscommand.

    It is expected all behavior.  Use XML, as all VBScript DataPlugins, runs in a separate VBScript host of the DIAdem VBScript host.  DIAdem VBScript host adds all global variables green and Red controls global to host Microsoft VBScript standard.  Use VBScript host has its own special abilities (file object, root object), but there is NO access to Globals green or red blanket orders in the reception of DIAdem VBScript.  Your SUDialog runs in a third host VBScript, which is separated from the other two and the other two are not capabilities (command SUDialog callback functions), but the SUDialog VBScript host and VBScript tiara share all global variables green and Red orders overall.

    Normally all blue VBScript commands are allowed in all 3 VBScripts hosts, but in the case of the DataPlugins MsgBox and InputBox functions were especially restrained because the dialogues could cause a lot of trouble with the DataFinder.  In fact, they have been allowed to 9.1 tiara which was the latest version of tiara for the DataFinder appear.

    So, why do you want to pass information between the XML use and tiara?  If you want to use to share information with DIAdem, then you should just expose every piece of information as a new property in the data portal, which can read and use the code VBScript DIAdem.  The path of the XML file is already available inside the use of XML.  What other information in the call VBScript DIAdem do you need to share with the use?

    Brad Turpin

    Tiara Product Support Engineer
    National Instruments

  • I get random failures to load a page with the XML parsing error: entity not defined using firefox 4

    This didn't happen with the version 3 x, nor with the previous v4. Using the arrow to the left and clicking on the previous page request usually works ok. It happens several times a day. Full error is

    XML parsing error: undefined entity
    Location: jar:jar:file:///C:/Documents%20and%20Settings/shirley/Application%20Data/Mozilla/Firefox/Profiles/4txi20jj.default/extensions/ [email protected]! /chrome/bandwidthmeter.jar!/content/netError.XHTML

    392, column 33 line number:

    & netOffline.longDesc;

    I am also getting this error and have been able to understand that its caused by the Bandwidth_Meter_and_Diagnostics - 1.2.5.xpi. This deactivation seems to have stopped the error, but is a major nuisance.

  • The XML parsing

    I get an XML from a URL and try to analyze, but his does not work. The xml code is like this:

    HTML here

    My code is as follows:

    DocumentBuilderFactory dbf1 = DocumentBuilderFactory.newInstance();
                    dbf1.setValidating(false);
                    dbf1.setExpandEntityReferences(true);
                    dbf1.setIgnoringComments(true);
                    dbf1.setNamespaceAware(false);
                    db = dbf1.newDocumentBuilder();
                    try {
                        doc = db.parse(input);
                    } catch (SAXException e) {}
                    NodeList list = (NodeList) doc.getElementsByTagName("node1");
                    System.out.println("VALUE:" + list.item(0).getFirstChild().getTextContent());
    

    The System.out.println prints VALUE: null, while the name of the node of printing prints the correct value, and list.length is 1.

    What's wrong? Could the HTML tags be spoil it?

    Ugh... I removed the dbf1.setIgnoringComments (false); true and it works... Thank you

  • [request] The XML parsing

    
    7Eagle kids Volunteer6Volunteer IT5Usher Umum4Pendoa3Multimedia2Creative Ministry1Praise and Worship
    

    This is my XML

    My question is:

    How to read on my blackberry and view it?

    can I get the data as a String type?

    Thank you very much

    hope you can help me

    Sorry for my bad English

    package mypackage;
    import javax.microedition.io.*;
    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.container.*;
    import net.rim.device.api.system.*;
    import net.rim.device.api.xml.parsers.*;
    import org.w3c.dom.*;
    import org.xml.sax.*;
    
    class XML_Parsing_Sample extends UiApplication{
        //creating a member variable for the MainScreen
        MainScreen _screen= new MainScreen();
        //string variables to store the values of the XML document
        String _node,_element;
        Connection _connectionthread;
    
        public static void main(String arg[]){
            XML_Parsing_Sample application = new XML_Parsing_Sample();
            //create a new instance of the application
            //and start the application on the event thread
            System.out.println("lalalala");
            application.enterEventDispatcher();
        }
    
        public XML_Parsing_Sample() {
            _screen.setTitle("XML Parsing");//setting title
            _screen.add(new RichTextField("Requesting....."));
            _screen.add(new SeparatorField());
    
            pushScreen(_screen); // creating a screen
            //creating a connection thread to run in the background
            _connectionthread = new Connection();
            _connectionthread.start();//starting the thread operation
        }
    
        public void updateField(String node, String element){
            //receiving the parsed node and its value from the thread
            //and updating it here
            //so it can be displayed on the screen
            String title="Title";
            _screen.add(new RichTextField(node+" : "+element));
    
            if(node.equals(title)){
                _screen.add(new SeparatorField());
            }
        }
    
        private class Connection extends Thread{
            public Connection(){
                super();
    
            }
    
            public void run(){
                // define variables later used for parsing
                Document doc;
                StreamConnection conn;
    
                try{
                    //providing the location of the XML file,
                    //your address might be different
    
                    conn=(StreamConnection)Connector.open
                      ("http://localhost/ms/write.xml");
                    //next few lines creates variables to open a
                    //stream, parse it, collect XML data and
                    //extract the data which is required.
                    //In this case they are elements,
                    //node and the values of an element
                    DocumentBuilderFactory docBuilderFactory
                      = DocumentBuilderFactory. newInstance();
                    DocumentBuilder docBuilder
                      = docBuilderFactory.newDocumentBuilder();
                    docBuilder.isValidating();
                    doc = docBuilder.parse(conn.openInputStream());
                    doc.getDocumentElement ().normalize ();
                    NodeList list=doc.getElementsByTagName("*");
                    _node=new String();
                    _element = new String();
                    //this "for" loop is used to parse through the
                    //XML document and extract all elements and their
                    //value, so they can be displayed on the device
    
                    for (int i=0;i
    

    I used this source code, but nothing is displayed...

    and don't forget, I am a new blackberry device programming, so I then I thank you if you can explain it in the explanation of "simple".

    God bless you

    Hello peter, how are you?

    Thanks for the reply...

    package mypackage;
    import javax.microedition.io.*;
    import javax.wireless.messaging.Message;
    
    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.container.*;
    import net.rim.device.api.system.*;
    import net.rim.device.api.xml.parsers.*;
    import org.w3c.dom.*;
    import org.xml.sax.*;
    
    class XML_Parsing_Sample extends UiApplication{
        //creating a member variable for the MainScreen
        MainScreen _screen= new MainScreen();
        //string variables to store the values of the XML document
        String _node,_element;
        Connection _connectionthread;
    
        public static void main(String arg[]){
            XML_Parsing_Sample application = new XML_Parsing_Sample();
    
            //create a new instance of the application
            //and start the application on the event thread
            application.enterEventDispatcher();
        }
    
        public XML_Parsing_Sample() {
            _connectionthread = new Connection();
            _connectionthread.start();//starting the thread operation
            _screen.setTitle("XML Parsing");//setting title
            _screen.add(new RichTextField("Requesting....."));
            _screen.add(new SeparatorField());
    
            pushScreen(_screen); // creating a screen
            //creating a connection thread to run in the background
    //        _connectionthread = new Connection();
    //        _connectionthread.start();//starting the thread operation
        }
    
        public void updateField(String node, String element){
            //receiving the parsed node and its value from the thread
            //and updating it here
            //so it can be displayed on the screen
            String title="Title";
            _screen.add(new RichTextField(node+" : "+element));
    
            if(node.equals(title)){
                _screen.add(new SeparatorField());
            }
        }
    
        private class Connection extends Thread{
            public Connection(){
                super();
    
            }
    
            public void run(){
                // define variables later used for parsing
                Document doc;
                StreamConnection conn;
    
                try{
                    //providing the location of the XML file,
                    //your address might be different
    
                    conn=(StreamConnection)Connector.open
                      ("http://localhost/ms/write.xml");
                    //next few lines creates variables to open a
                    //stream, parse it, collect XML data and
                    //extract the data which is required.
                    //In this case they are elements,
                    //node and the values of an element
                    DocumentBuilderFactory docBuilderFactory
                      = DocumentBuilderFactory. newInstance();
                    DocumentBuilder docBuilder
                      = docBuilderFactory.newDocumentBuilder();
                    docBuilder.isValidating();
                    doc = docBuilder.parse(conn.openInputStream());
                    doc.getDocumentElement ().normalize ();
    
                    NodeList list=doc.getElementsByTagName("root");
    
                    _node=new String();
                    _element = new String();
                    int n = list.getLength();
                    String[] choices= new String[n];
                    //this "for" loop is used to parse through the
                    //XML document and extract all elements and their
                    //value, so they can be displayed on the device
    
                    for (int i=0;i
    

    I already have the code, but nothing appeared.

    I think that there is something wrong with my code (the one in bold)

    and I get all confused, there are 2 methods for parsing xml, DOM and SAX.

    I don't know what they are... and how to use...

    can you help me pleaseee peter ?

    appriciate your help

  • The XML parser error when you set the NTP in UCS Server

    When you try to configure NTP servers (using IP addresses) when http would be in UCS C220 servers, received an XML parser error and NTP server configuration did not.  Ideas?

    Hey John,

    You can set the NTP CLI/SSH servers to host?

    -Wes

  • the xml parsing, whose siblings are same names

    I need to parse xml looks like in below.

    <? XML version = "1.0"? >
    < ranks pos = totalRowCount "309" = "3101" >
    < row id = "1" >
    < col > 10 < / pass >
    11:08:25.0 < col > 2010 - 06 - 06 < / pass >
    < / row >
    < row id = "2" >
    < col > 2 < / pass >
    11:08:25.0 < col > 2010 - 06 - 06 < / pass >
    < / row >
    < row id = "3" >
    < col > 3 < / pass >
    11:08:25.0 < col > 2010 - 06 - 06 < / pass >
    < / row >
    < row id = "4" >
    < col > 4 < / pass >
    11:08:25.0 < col > 2010 - 06 - 06 < / pass >
    < / row >
    < / rows >

    in my datagrid

    < mx:columns >
    < mx:DataGridColumn headerText = "Column 1" dataField = "none [0]" / >
    < mx:DataGridColumn headerText = "Column 2" dataField = "no [1]" / >
    < / mx:columns >

    How to bind xml elements (col) to the data area?

    Hi Itambs,

    Here is the code of your application with the same xml structure that you wanted...

    MS in "Data.xml" file put the xml structure, you need...

    If this post answers your question or assistance, please mark it as such.


    http://www.Adobe.com/2006/mxml"creationComplete ="loadData (); "layout ="absolute">

      Import mx.collections.ArrayCollection;
    Import mx.rpc.xml.SimpleXMLDecoder;
      
    private var loader: URLLoader = new URLLoader();
    [Bindable] public var dpac:ArrayCollection = new ArrayCollection();
      
    private void loadData (): void
    {
    var request: URLRequest = new URLRequest();
    Request.URL = "data.xml".
    Loader.Load (request);
    loader.addEventListener (Event.COMPLETE, dataLoadComp);
    }
      
    private void dataLoadComp(event:Event):void
    {
    var xml = new XML (loader.data);
    var xmlDoc:XMLDocument = new XMLDocument (xml);
    var decoder: SimpleXMLDecoder = new SimpleXMLDecoder (true);
    var obj:Object = decoder.decodeXML (xmlDoc);
    DPAC = obj.rows.row as ArrayCollection collection;
    }
    ]]>


     
       
         
          
           
            
            Import mx.collections.ArrayCollection;
    ]]>
          

           

          

         

       

       
        
         
          
           
           Import mx.collections.ArrayCollection;
    ]]>
         

          

         

        

       

     


    If this post answers your question or assistance, please mark it as such.

    Thank you

    Jean Claude Chari

  • Dynamic Image in the XML editor problem

    Hi all

    I was working with a dynamic image in the Xml editor with the reference of this link, step-3

    http://www.erpschools.com/articles/display-and-change-images-dynamically-in-XML-Publisher

    I have three Logo saved in OA_MEDIA with the name as 80.gif, 81.gif, 82.gif.

    I created a formula column outside the Group of data and given the link in the RTF, inside the url of the Image Alt text: {//CF_LOGO1} and his works fine.

    But when I created the formula column in the dataset, how do I give the path inside the image.

    I tried with this url: {...} CF_LOGO1} but his does not work. Could all help with that.

    Thanks and greetings

    Srikkanth M

    Please check if you placed the logo with the Group and the image is called correctly.

  • Try using Nero Startsm It Show unable to create the Instance of the Xml parser, please reinstall Microsoft XML Core Services (MSXML) 4.0 Sp2 or later

    Restall Microsoft XML Core Service MSXML 4.0 Sp2 or higher what it means

    This means, * reinstall * not * Tassel * MS XML Core Services MSXML 4.0 SP2 or later.

    There is a newer version-

    MSXML 4.0 SP3 is a complete replacement of MSXML 4.0, MSXML 4.0 SP1 and MSXML 4.0 SP2. This service pack provides a number of security enhancements and improved reliability.
    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=7f6c0cb4-7a5e-4790-a7cf-9e139e6819c0&displaylang=en

    BTW - for future reference-

    How to ask a question:
    http://support.Microsoft.com/kb/555375

    and

    http://social.answers.Microsoft.com/forums/en-us/vistawu/thread/1467f44b-ee27-4F7D-98d7-f1c4b35b3395
    What information to post in the Windows Update forum

    Windows Update forum is one of the three forums that doesn't have different forums for different versions of Windows (Internet Explorer and the game are the others).  With this in mind, we ask that you postat LEAST the following information.  If you don't know how to find some of the information and then post what you can and let us know that you need help to find information.

    Minimum information to validate:
    Version of Windows and Service pack level. (Windows XP Home Edition, SP3; Vista Home Premium, SP1; Windows 7 Ultimate, etc...)
    Post also if you use 32-bit or the 64 bit version of Windows.

    Update the number of the last update installed before any problem.  If you do not know the number of update, then give the date that the update has been installed.  The number of updates update failed.

    Error code updates failed or if you think an update caused a blue screen, give the blue screen error codes.

    Other information to validate:
    Measures already taken to correct the problem and the results of the measures.

    If the question is never happened before with other updates.

    A few other useful parts are:
    What program antivirus you use, if it is up-to-date, and there has never been any other installed antivirus program.
    If your version of Windows has been upgraded from a previous version or if it came with (or clean installed with) the version you are currently using.

    TaurArian [MVP] 2005-2011. The information has been provided * being * with no guarantee or warranty.

  • The XML parsing returns a Cartesian join

    I have the following table:
    CREATE A TEMP_XML OF THE SYS. XMLTYPE
    TABLESPACE HPS_LND_DATA
    VARRAY XMLDATA AS LOB STORE
    (
    ALLOW ONLINE STORAGE
    8192 CHUNK
    RETENTION
    AVERAGE COMPRESSION
    CACHE
    INDEX)
    TABLESPACE HPS_LND_DATA)
    )
    NOPARALLEL
    /

    Each record in the table has the following XML structure:
    < c id = "MMLab" t = "2009-10-25 12:02:00 AM" >
    < d >
    < nv n = v 'BootRomVersion' = "1.1505" / >
    < n nv v="1.6.25075.203"/ "ClientVersion" = >
    < nv n = v "CurrentTime" = "2009-10-25 12:02:00 AM" / >
    < nv n = v "LastRebootTime" = "09/10/2009 15:32:53" / >
    < nv n = v 'CPUSpeed' = "297" / >
    < nv n = v "ServiceID" = "" / >
    < nv n = v 'AvailablePhysicalMemory"="17502208"/ >
    < nv n = v 'AvailableVirtualMemory"="8519680"/ >
    < nv n = v "AllocatedPhysicalMemory" = "22003712" / >
    < nv n = v "AllocatedManagedMemory" = "2898136" / >
    < nv n = v "CommittedHeapMemory" = "1511424" / >
    < nv n = v "AllocatedHeapMemory" = "1387584" / >
    < nv n = v 'HeapEfficiency' = '91' / >
    < nv n = v "AvailableVideoMemory" = "5052864" / >
    < nv n = v "DrivePresent" = "True" / >
    < nv n = v "DiskSizeInMB" = "305082" / >
    < nv n = v 'DiskFreeInMB' = "21369" / >
    < nv n = v 'DvrSizeInMB' = "283648" / >
    < nv n = v "PercentDvrFree" = "100" / >
    / < d: >
    / < c >

    I am using the following query:
    SELECT EXTRACT (object_value, ' /c/@id').getstringval () AS ID,)
    To_date (EXTRACT (object_value, ' /c/@t').getstringval (),))
    "(mm/dd/yyyy hh: mi: ss AM') AS TIMESTAMP,
    EXTRACT (VALUE (li), ' /nv/@n').getstringval () AS xml_parm,)
    VALUE (li). EXTRACT (' (/nv/@v').getstringval) AS xml_value, li.*)
    OF temp_xml, TABLE (XMLSEQUENCE (EXTRACT (object_value, "/ c/d/nv"))) li

    The application of works very well if I limit the output to a single record in the temp_xml table, but if I ask more than one record I get a Cartesian result, how can I fix?

    You shouldn't have to join here.

    You can see from the output that is a mistake and you get a Cartesian product?

    Or are you unnecessarily worry a MERGE JOIN CARTESIAN and a SORT of BUFFER in the execution plan?

  • link to the XML file problem

    I can't understand why I am getting an error when I try to publish a swf with a linked XML file?
    I had to have the original decompiled fla of swf file. all functions work well, no script error, but the file
    Homepage fla published in homepage.swf gives me "error opening URL"file:///Macintosh%20HD/Users/tuneraider/Desktop/valleefiles/xml/homepage.xml"

    the files are in the same folder. Any help?

    double checked that the files were in the same folder

Maybe you are looking for