LPX-00601: Invalid token in: err while trying to read data from xml

Hey ,
While trying to read data from xml i got err:
LPX-00601: Invalid token in: 'path'
the proc. i'm using to read data from the xml is:
procedure read_xml_file_test (in_filename in varchar2)
is
my_dir  varchar2(20) := 'XML_DIR;
  cur_emp2 number:=0;
  l_bfile   BFILE;
  l_clob    CLOB;
  l_parser  dbms_xmlparser.Parser;
  l_doc     dbms_xmldom.DOMDocument;
  l_nl      dbms_xmldom.DOMNodeList;
  l_nl2    dbms_xmldom.DOMNodeList;
  l_n       dbms_xmldom.DOMNode; 
  l_n2     dbms_xmldom.DOMNode;
  l_temp    VARCHAR2(1000);
v_errors        internet_clients.errors%type; 
src_csid       NUMBER := NLS_CHARSET_ID('UTF8'); 
dest_offset    INTEGER := 1;
src_offset     INTEGER := 1;
lang_context   INTEGER := dbms_lob.default_lang_ctx;
warning        INTEGER;
v_count       number := 0;   --total records
v_count_s      number := 0;   -- sucsess record
v_count_f      number := 0;   -- failed record
v_flag varchar2(1);
v_char2 varchar2(1);
v_l1 VARCHAR2(255);
v_l2 VARCHAR2(255);
v_l3 VARCHAR2(255);
v_l4 VARCHAR2(255);
v_l6 VARCHAR2(255);
BEGIN
  l_bfile := BFileName(my_dir, in_filename);
  dbms_lob.createtemporary(l_clob, cache=>FALSE);
  dbms_lob.open(l_bfile, dbms_lob.lob_readonly);
  dbms_lob.loadclobfromfile(l_clob, l_bfile, dbms_lob.getlength(l_bfile), dest_offset,src_offset, src_csid, lang_context, warning);                        
  dbms_lob.close(l_bfile);
  -- make sure implicit date conversions are performed correctly
  dbms_session.set_nls('NLS_DATE_FORMAT','''DD/MM/RR HH24:MI:SS''');   
  -- Create a parser.
  l_parser := dbms_xmlparser.newParser;
  -- Parse the document and create a new DOM document.
    dbms_xmlparser.parseClob(l_parser, l_clob);
    l_doc := dbms_xmlparser.getDocument(l_parser);
  -- Free resources associated with the CLOB and Parser now they are no longer needed.
  dbms_lob.freetemporary(l_clob);
  dbms_xmlparser.freeParser(l_parser);  
  -- Get a list of all the  nodes in the document using the XPATH syntax.
  l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP');
  -- Loop through the list and create a new record in a tble collection
  -- for each  record.
  FOR cur_emp IN 0 .. dbms_xmldom.getLength(l_nl) - 1 LOOP
   l_n := dbms_xmldom.item(l_nl, cur_emp);
   cur_emp2:=0;
   loop
     v_count := v_count + 1;
     begin
    -- Use XPATH syntax to assign values to he elements of the collection.
    dbms_xslprocessor.valueOf(l_n,'L1/text()',v_l1);
    dbms_xslprocessor.valueOf(l_n,'L2/text()',v_l2);
    dbms_xslprocessor.valueOf(l_n,'L3/text()',v_l3);
    dbms_xslprocessor.valueOf(l_n,'L4/text()',v_l4);
    dbms_xslprocessor.valueOf(l_n,'L6/text()',v_l6);
        exception
  when others then 
  null;
  end;
exit when cur_emp2=dbms_xmldom.getLength(l_nl2);
  END LOOP;
  end loop;
  -- Free any resources associated with the document now it
  -- is no longer needed.
  dbms_xmldom.freeDocument(l_doc);
  --remove file to another directory   
      --COMMIT;  -- do not use the commit if you want to run this proc. from within the search_dir_list proc , because it execute a select from tmp table dir_list which contain a "on commit delete rows"  clause.    
  /*EXCEPTION
  /*WHEN OTHERS THEN
   dbms_lob.freetemporary(l_clob);
    dbms_xmlparser.freeParser(l_parser);
   dbms_xmldom.freeDocument(l_doc);
    null;
    ROLLBACK; */
END;While trying to execute this i got:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00601: Invalid token in: 'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP'
ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 939
ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 967
ORA-06512: at "MARKET.READ_XML_FILE_TEST", line 51
ORA-06512: at line 1
i guess i mised somthing at the line
l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP');i attached here part of my xml:
<?xml version="1.0" encoding="UTF-8" ?>
- <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <soap:Body>
- <GetFieldsNameResponse xmlns="http://tempuri.org/">
- <GetFieldsNameResult>
- <xs:schema id="DataSet_FRM_GANERIC_PROP" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xs:element name="DataSet_FRM_GANERIC_PROP" msdata:IsDataSet="true" msdata:Locale="he-IL">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="FRM_GANERIC_PROP">
- <xs:complexType>
- <xs:sequence>
  </xs:sequence>
  </xs:complexType>
  </xs:element>
  </xs:choice>
  </xs:complexType>
  </xs:element>
  </xs:schema>
- <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
- <DataSet_FRM_GANERIC_PROP xmlns="">
- <FRM_GANERIC_PROP diffgr:id="FRM_GANERIC_PROP1" msdata:rowOrder="0">
  <L1>val1</L1>
  <L2>val2</L2>
  <L3>val3</L3>
  <L4>val4</L4>
  <L6>val6</L6>
  </FRM_GANERIC_PROP>
  </DataSet_FRM_GANERIC_PROP>
  </diffgr:diffgram>
  </GetFieldsNameResult>
  </GetFieldsNameResponse>
  </soap:Body>
  </soap:Envelope>I Guess it somthing that have to do with node definition ,
but i have tried so many combinations and none ot those worked for me.
i'm deeply stuck here.
What do i miss here?
THANKS yair
Edited by: yair_k on 02:30 14/10/2010

Hey , after got a lot of success with the xml reading part , i wonder if you
can help me with a problem while trying to reading that xml from a web service.
i use a procedure as followes:
FUNCTION read_from_web_service(in_username in varchar2 , in_password in varchar2)
  RETURN CHAR
AS
  l_service          UTL_DBWS.service;
  l_call             UTL_DBWS.call;
  l_a_ns                     VARCHAR2(32767);
  l_wsdl_url         VARCHAR2(32767);
  l_namespace        VARCHAR2(32767);
  l_service_qname    UTL_DBWS.qname;
  l_port_qname       UTL_DBWS.qname;
  l_operation_qname  UTL_DBWS.qname;
  l_xmltype_in       SYS.XMLTYPE;
  l_xmltype_out      SYS.XMLTYPE;
  l_return           VARCHAR2(32767);
BEGIN
  l_wsdl_url        := 'http://www.company.com/publisherService/ServiceGetpublisherTable.asmx?wsdl';
  l_namespace       := 'http://tempuri.org/';
  l_service_qname   := UTL_DBWS.to_qname(l_namespace, 'ServiceGetpublisherTable');
  l_port_qname      := UTL_DBWS.to_qname(l_namespace, 'ServiceGetpublisherTableSoap');
  l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'GetFieldsName');
  l_service := UTL_DBWS.create_service (
    wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
    service_name           => l_service_qname);
  l_call := UTL_DBWS.create_call (
    service_handle => l_service,
    port_name      => l_port_qname,
    operation_name => l_operation_qname);
  l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
    <GetFieldsName xmlns="' || l_namespace || '">
    <user>' || in_username || '</user>
    <password>'|| in_password || '</password>
    </GetFieldsName>');
  l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
                                   request     => l_xmltype_in);
  UTL_DBWS.release_call (call_handle => l_call);
  UTL_DBWS.release_service (service_handle => l_service);
  l_return := l_xmltype_out.extract('//GetFieldsName/text()').getstringVal();
   dbms_output.put_line(l_return);     
  RETURN l_return;
END;but when i run it i got message:
ORA-29532: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException: Server did not recognize the value of HTTP Header SOAPAction: .
regarding the line:
l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
request => l_xmltype_in);
So , i deeply stuck here!
my web service description is:
  <?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
- <s:element name="GetFieldsName">
- <s:complexType>
- <s:sequence>
  <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
  <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
  </s:sequence>
  </s:complexType>
  </s:element>
- <s:element name="GetFieldsNameResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="GetFieldsNameResult">
- <s:complexType>
- <s:sequence>
  <s:element ref="s:schema" />
  <s:any />
  </s:sequence>
  </s:complexType>
  </s:element>
  </s:sequence>
  </s:complexType>
  </s:element>
- <s:element name="GetMSG_ByUser_Not_Readed">
- <s:complexType>
- <s:sequence>
  <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
  <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
  </s:sequence>
  </s:complexType>
  </s:element>
- <s:element name="GetMSG_ByUser_Not_ReadedResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="GetMSG_ByUser_Not_ReadedResult">
- <s:complexType>
- <s:sequence>
  <s:element ref="s:schema" />
  <s:any />
  </s:sequence>
  </s:complexType>
  </s:element>
  </s:sequence>
  </s:complexType>
  </s:element>
- <s:element name="SetMSG_ByUser_Not_Readed_As_Readed">
- <s:complexType>
- <s:sequence>
  <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
  <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
  <s:element minOccurs="0" maxOccurs="1" name="Rec_Id" type="s:string" />
  </s:sequence>
  </s:complexType>
  </s:element>
- <s:element name="SetMSG_ByUser_Not_Readed_As_ReadedResponse">
- <s:complexType>
- <s:sequence>
  <s:element minOccurs="1" maxOccurs="1" name="SetMSG_ByUser_Not_Readed_As_ReadedResult" type="s:boolean" />
  </s:sequence>
  </s:complexType>
  </s:element>
  </s:schema>
  </wsdl:types>
- <wsdl:message name="GetFieldsNameSoapIn">
  <wsdl:part name="parameters" element="tns:GetFieldsName" />
  </wsdl:message>
- <wsdl:message name="GetFieldsNameSoapOut">
  <wsdl:part name="parameters" element="tns:GetFieldsNameResponse" />
  </wsdl:message>
- <wsdl:message name="GetMSG_ByUser_Not_ReadedSoapIn">
  <wsdl:part name="parameters" element="tns:GetMSG_ByUser_Not_Readed" />
  </wsdl:message>
- <wsdl:message name="GetMSG_ByUser_Not_ReadedSoapOut">
  <wsdl:part name="parameters" element="tns:GetMSG_ByUser_Not_ReadedResponse" />
  </wsdl:message>
- <wsdl:message name="SetMSG_ByUser_Not_Readed_As_ReadedSoapIn">
  <wsdl:part name="parameters" element="tns:SetMSG_ByUser_Not_Readed_As_Readed" />
  </wsdl:message>
- <wsdl:message name="SetMSG_ByUser_Not_Readed_As_ReadedSoapOut">
  <wsdl:part name="parameters" element="tns:SetMSG_ByUser_Not_Readed_As_ReadedResponse" />
  </wsdl:message>
- <wsdl:portType name="ServiceGetpublisherTableSoap">
- <wsdl:operation name="GetFieldsName">
  <wsdl:input message="tns:GetFieldsNameSoapIn" />
  <wsdl:output message="tns:GetFieldsNameSoapOut" />
  </wsdl:operation>
- <wsdl:operation name="GetMSG_ByUser_Not_Readed">
  <wsdl:input message="tns:GetMSG_ByUser_Not_ReadedSoapIn" />
  <wsdl:output message="tns:GetMSG_ByUser_Not_ReadedSoapOut" />
  </wsdl:operation>
- <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
  <wsdl:input message="tns:SetMSG_ByUser_Not_Readed_As_ReadedSoapIn" />
  <wsdl:output message="tns:SetMSG_ByUser_Not_Readed_As_ReadedSoapOut" />
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="ServiceGetpublisherTableSoap" type="tns:ServiceGetpublisherTableSoap">
  <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="GetFieldsName">
  <soap:operation soapAction="http://tempuri.org/GetFieldsName" style="document" />
- <wsdl:input>
  <soap:body use="literal" />
  </wsdl:input>
- <wsdl:output>
  <soap:body use="literal" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="GetMSG_ByUser_Not_Readed">
  <soap:operation soapAction="http://tempuri.org/GetMSG_ByUser_Not_Readed" style="document" />
- <wsdl:input>
  <soap:body use="literal" />
  </wsdl:input>
- <wsdl:output>
  <soap:body use="literal" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
  <soap:operation soapAction="http://tempuri.org/SetMSG_ByUser_Not_Readed_As_Readed" style="document" />
- <wsdl:input>
  <soap:body use="literal" />
  </wsdl:input>
- <wsdl:output>
  <soap:body use="literal" />
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:binding name="ServiceGetpublisherTableSoap12" type="tns:ServiceGetpublisherTableSoap">
  <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="GetFieldsName">
  <soap12:operation soapAction="http://tempuri.org/GetFieldsName" style="document" />
- <wsdl:input>
  <soap12:body use="literal" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="GetMSG_ByUser_Not_Readed">
  <soap12:operation soapAction="http://tempuri.org/GetMSG_ByUser_Not_Readed" style="document" />
- <wsdl:input>
  <soap12:body use="literal" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
  <soap12:operation soapAction="http://tempuri.org/SetMSG_ByUser_Not_Readed_As_Readed" style="document" />
- <wsdl:input>
  <soap12:body use="literal" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" />
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="ServiceGetpublisherTable">
- <wsdl:port name="ServiceGetpublisherTableSoap" binding="tns:ServiceGetpublisherTableSoap">
  <soap:address location="http://www.company.com/publisherService/ServiceGetpublisherTable.asmx" />
  </wsdl:port>
- <wsdl:port name="ServiceGetpublisherTableSoap12" binding="tns:ServiceGetpublisherTableSoap12">
  <soap12:address location="http://www.company.com/publisherService/ServiceGetpublisherTable.asmx" />
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>also i have to mention that i have changed publisher references inside the code , and i also canot
supply username and password , so i guess you canot test it. still i not shure if my definitions (namespace est.) inside my code defined correctly.
hope you can help me with this.
regards
yair

Similar Messages

  • An error occurred while trying to read data from...

    Hello,
    I'm getting this error repeatedly in more than one project.  It happens when i click Save a topic.  It also happened when I tried to create a new folder in the Project Files, and then i could not create the new folder.  I'm using RoboHelp HTML 9.2.  I did try moving the project files off the network drive and into my local C:/ drive, but still get the error.
    Are there any known cures?
    Thank you,
    Sherry

    You will see the topics are still there in Windows Explorer. What has happened is that the root.fpj file that you showed in your first post was corrupt because it was on the network. Now it cannot rebuild the new CPD in the normal way.
    Personally I would be creating a new project and importing stuff from your old project.
    You can import all the topics in a single folder in one go, you don't have to import topic by topic.
    There is information on my site about rebuilding broken projects.
    Provided you new project is local, you should be OK.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • An error occured while trying to read data

    Hi RoboHelpers,
    While opening my main project today (large project w/ thousands of topics) my project froze twice and wasn't responding, so I forced it to close via Task Manager and deleted the CPD file, thinking it was the culprit.
    I then got this error when I tried to reopen the .XJP file:
    "An error occurred while trying to read data from
    <D:\Hg\PcdmisQA\Pcdlrn\CoreHelp\13_hardware_topics\13_hardware_topics.fpj><1>."
    I clicked OK to get past this error, and now my htms are not appearing inside the Topic List for 13_hardware_topics and the TOC links show that the topics don't exist. But the .htms do exist inside the actual directory in Windows.
    I think I can fix this by importing the .htms inside 13_hardware_topics, but I'm not sure why it happened in the first place. Is there a way to just fix the .fjp file instead--if this is indeed the problem?
    My 13_hardware_topics.fjp structure looks like this (sorry for the post length):
    <?xml version="1.0" encoding="utf-8"?>
    <rhpml majorversion="2" minorversion="0">
        <folders/>
        <topics>
            <topic>
                <name>Tool_ID.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Probe_Description.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Defining_Hardware.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Defining_Hardware_Introduction.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>List_of_Available_Tools.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Tool_Type.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Understanding_the_Probe_Utilities_dialog_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>use_trax_calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Defining_Probes.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Use_Partial_Calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Probe_File_Name.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>User_Defined_Calibration_Order_check_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Search_Override_I_J_K.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Optical.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Showing_an_Animated_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Using_the_Quick_Fixture_Dialog_Box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Inserting_Quick_Fixtures.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Additional_Information_for_Creating_Multiple_Arm_Machines.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>print_list.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>example_printout.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Defining_Machines.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Selecting_or_Creating_a_Machine_for_Display.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Deleting_the_LOADMACHINE_Command.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Ball.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Removing_the_Animated_Machine_from_the_Graphics_Display_Window.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>collision_tolerance.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Optical_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Additional_Information_on_the_Machine_s_Axes.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Migrating_Part_Programs_Between_Machines_Using_PH10_and_Tesa_Star_M_Probes.htm</nam e>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Probe_Setup.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>autocalibrate_probe.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Specifying_Collision_Tolerances.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Using_Existing_Quick_Fixtures.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_4_-_Begin_Calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_3_-_Define_Ports.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_8_-_Measuring_Port_2.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_6_-_Measuring_Port_1.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_7_-_Measuring_Port_3.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_9_-_Review_Calibration_Results.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Displaying_Existing_Machines_in_the_Graphics_Display_Window.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Calibrating_the_FCR25_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Inserting_and_Removing_Quick_Fixtures.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Selecting_the_No_Machine_Item.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Additional_Information_on_the_Machine_s_Home_Position_area.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Deleting_the_Machine.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Creating_a_Relationship_between_the_Machine_and_the_Part.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>defining_probe_changers.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Quick_Fixture_Mode_s_Mouse_and_Keyboard_Commands.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Adding_Custom_Fixtures.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>add_tool.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>With_Averaging.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Shank_Optical_Vector_I_J_K.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Fast_Probe_Mode.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>X_Y_and_Z_Center.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Delete_Tool.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ScanRdv.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>available_tip_types.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Thickness_of_the_ball_tip.htm</name>
                <name>PrbRdv.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Edit.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Shank_Vector_I_J_K.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Ball_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>edit_probe_components.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Edit_Tool.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Ball_Tip.htm</name>
                <name>To_delete_a_wrist_angle.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Probe_Setup.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Measure.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Disk_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>PrbRdv.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Previewing_your_Probe_Configuration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>use_unit_calibration_data.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>New_Angles_List_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>To_Display_the_Probe_Changer_in_the_Graphics_Display_window.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>calibration_date_and_time.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Global_Used.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Individual_Angle_Data.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Barrel_Shank_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>calibration_date_and_time.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Equally_Spaced_Angles_Data.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Reset_Tips.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Disk_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>use_unit_calibration_data.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>dmis_label.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>add_angles.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Notes_on_the_Add_Angle_option.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Working_with_the_Angle_Grid.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>available_tip_types.htm</name>
                <name>calibration_date_and_time.htm</name>
                <name>Results.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Ball_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Reset_Tips.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Diameter_Length.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Previewing_your_Probe_Configuration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>User_Defined_Calibration_Order_check_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Use_Wrist_Map_If_Available_check_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Diameter_Length.htm</name>
                <name>Use_Wrist_Map_If_Available_check_box.htm</name>
                <name>Probe_Description.htm</name>
                <name>List_of_Available_Tools.htm</name>
                <name>Probe_File_Name.htm</name>
                <name>use_trax_calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_2_-_Define_the_Mount_Point.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Use_Partial_Calibration.htm</name>
                <name>Probe_Description.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>autocalibrate_probe.htm</name>
                <name>Search_Override_I_J_K.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Disk.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Migrating_Part_Programs_Between_Machines_Using_PH10_and_Tesa_Star_M_Probes.htm</nam e>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Calibrating_the_ACR1_Probe_Changer.htm</name>
                <name>Step_1_-_Select_the_FCR25_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>example_printout.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Creating_a_Relationship_between_the_Machine_and_the_Part.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>defining_probe_changers.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Calibrating_the_CW43_Probe_Changer.htm</name>
                <name>Optical.htm</name>
                <name>example_printout.htm</name>
                <name>To_Display_the_Probe_Changer_in_the_Graphics_Display_window.htm</name>
                <name>defining_probe_changers.htm</name>
                <name>Inserting_Quick_Fixtures.htm</name>
                <name>Shank.htm</name>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_9_-_Review_Calibration_Results.htm</name>
                <name>Additional_Information_on_the_Machine_s_Axes.htm</name>
                <name>Step_5_-_Prepare_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Migrating_Part_Programs_Between_Machines_Using_PH10_and_Tesa_Star_M_Probes.htm</nam e>
                <name>Probe_Setup.htm</name>
                <name>Selecting_or_Creating_a_Machine_for_Display.htm</name>
                <name>Step_6_-_Measuring_Port_1.htm</name>
                <name>Step_9_-_Review_Calibration_Results.htm</name>
                <name>Quick_Fixture_Mode_s_Mouse_and_Keyboard_Commands.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
                <name>Step_6_-_Measuring_Port_1.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Inserting_and_Removing_Quick_Fixtures.htm</name>
                <name>SP600__Step_3_-_Prepare_for_Calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Selecting_the_No_Machine_Item.htm</name>
                <name>Deleting_the_Machine.htm</name>
                <name>Creating_a_Relationship_between_the_Machine_and_the_Part.htm</name>
                <name>SP600__Step_6_-_Take_the_Third_Manual_Hit.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>SCP600__Step_2_-_Define_the_Mount_Point.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Showing_an_Animated_Probe_Changer.htm</name>
                <name>ACR1__Step_1_-_Select_the_ACR1_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Additional_Information_for_Creating_Multiple_Arm_Machines.htm</name>
                <name>ACR1__Step_3_-_Define_the_Mount_Point.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_4_-_Define_Ports.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_5_-_Prepare_for_Calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_6_-_Measure_Port_1.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_7_-_Measure_Port_8.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_9_–_Measuring_Datum_Sphere_with_PEM_Extension(s)_(optional).htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>SP600__Step_4_-_Take_the_First_Manual_Hit.htm</name>
                <name>Step_1_-_Select_the_SP600_Probe_Changer.htm</name>
                <name>ACR1_Step_10_Review_Calibration_Results.htm</name>
        </topics>
    </rhpml>
    Thanks,
    Jared

    Hi Jared.
    I don't know if this is at the root cause of the error but I see that the closing </name> tag has a number of instances where there is a spurious space inside it:
    <topic>
        <name>Additional_Information_for_Creating_Multiple_Arm_Machines.htm</ name>
        <comments></comments>
        <frameset>0</frameset>
    </topic>
    <topic>
        <name>Additional_Information_on_the_Machine_s_Home_Position_area.htm< /name>
        <comments></comments>
        <frameset>0</frameset>
    </topic>
    <topic>
        <name>Creating_a_Relationship_between_the_Machine_and_the_Part.htm</n ame>
        <comments></comments>
        <frameset>0</frameset>
    </topic>
    There are others.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • "LPX-00601: Invalid token in:" when retrieving namespaced attribute

    I'm trying to retrieve an attribute value from an XML document as follows:
    declare
       l_url varchar2(500);
       l_xml xmltype;
    begin
       l_xml := xmltype('<WMT_MS_Capabilities version="1.1.1">
                          <Capability>
                             <Layer>
                               <Layer>
                                  <Style>
                                    <Name>default</Name>
                                    <Title>default</Title>
                                    <LegendURL width="233" height="141">
                                       <Format>image/png</Format>
                                       <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
                                                       xlink:type="simple"
                                                       xlink:href="http://very_long_url"/>
                                    </LegendURL>
                                  </Style>
                              </Layer>
                              </Layer>
                              </Capability>
                          </WMT_MS_Capabilities>');
       select extractvalue(l_xml
                          ,'//WMT_MS_Capabilities/Capability/Layer/Layer/Style/LegendURL/OnlineResource@xlink:href'
                          ,'xmlns:xlink="http://www.w3.org/1999/xlink"')
         into l_url
         from dual;
         dbms_output.put_line(l_url);
    end;This code executes fine in a 9.2.0.5 database but on Oracle 10.2.0.4 I get:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in: '//WMT_MS_Capabilities/Capability/Layer/Layer/Style/LegendURL/OnlineResource@xlink:href'
    ORA-06512: at line 26What am I doing wrong?

    Found the bug. there is a / missing before the @ in the xpath expression. 9R2 does not seem to care about this.
    Correct path=
    '//WMT_MS_Capabilities/Capability/Layer/Layer/Style/LegendURL/OnlineResource/@xlink:href'

  • LPX-00601: Invalid token

    Hallo,
    and the next problem arised when trying to
    SELECT XMLTransform(x.xmldoc,
    (select stylesheet from stylesheet_tab where id = 1)).getStringVal()
    AS result
    FROM testtab x;
    =>
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in
    <xsl:value-of select="auskunfteiAntwort[@xsi:type='faResponse']/auskunftAusCacheA1"/>
    Whats the problem with this line ?
    The xsl file already works when the tranformation is done with java instead of oracle.
    Thanks,
    Jochen

    SQL> select * from nls_session_parameters;
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    SQL> select * from nls_database_parameters;
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET AL32UTF8
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET UTF8
    NLS_RDBMS_VERSION 10.2.0.1.0
    I don't find something like a xsi namespace prefix.
    In fact thats the first time "xsi" appears in this stylesheet. Is Oracle more strict than the "standard" ?

  • LPX-00601: Invalid token Error in DBMS_XSLPROCESSOR

    Hi All,
    I am using DBMS_XMLDOM and DBMS_XSLPROCESSOR to parse the XML file.
    the following code was working fine in Release 10.1.0.4.0
    l_n :=DBMS_XSLPROCESSOR.selectsinglenode
    (xmldom.makenode (doc)
    ,'/tmf:MTOSI_InventoryData/tmf:mdList/tmf:md/tmf:tlList/tmf:tlInv/tmf:tlNm');
    v_mux_id :=DBMS_XMLDOM.getnodevalue(DBMS_XMLDOM.getfirstchild (l_n));
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bi
    PL/SQL Release 10.1.0.4.0 - Production
    CORE 10.1.0.4.0 Production
    TNS for Solaris: Version 10.1.0.4.0 - Production
    NLSRTL Version 10.1.0.4.0 - Production
    But we have copied the same code in Release 10.2.0.2.0 i am getting the following error Plese do the needful
    11:42:03 AM ORA-31011: XML parsing failed
    11:42:03 AM : Error occurred in XML processing
    11:42:03 AM LPX-00601: Invalid token in: '/tmf:MTOSI_InventoryData/tmf:mdList/tmf:md/tmf:tlList/tmf:tlInv/tmf:tlNm'
    11:42:03 AM ORA-06512: at line 9
    11:42:03 AM *** Script stopped due to error ***
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bi
    PL/SQL Release 10.2.0.2.0 - Production
    CORE 10.2.0.2.0 Production
    TNS for Solaris: Version 10.2.0.2.0 - Production
    NLSRTL Version 10.2.0.2.0 - Production
    Plese do the needful
    Thanks in Advance
    Elan

    FUNCTION SELECTSINGLENODE RETURNS RECORD
    Argument Name       Type                 In/Out Default?
       ID                          RAW(13)           OUT
       N                           RECORD           IN
       ID                          RAW(13)            IN
    PATTERN                VARCHAR2        IN
    NAMESPACE          VARCHAR2        IN     DEFAULTYou need to provide the namespace prefix mapping for the prefixes tmf via the NAMESPACE parameter (eg 'xmlns:tmf="xxxxxx"'

  • Error while trying to retrieve data from BW BEx query

    The following error is coming while trying to retrieve data from BW BEx query (on ODS) when the Characters are more than 50.
    In BEx report there is a limitation but is it also a limitation in Webi report.
    Is there any other solution for this scenario where it is possible to retrieve more than 50 Characters?
    A database error occured. The database error text is: The MDX query SELECT  { [Measures].[3OD1RJNV2ZXI7XOC4CY9VXLZI], [Measures].[3P71KBWTVNGY9JTZP9FTP6RZ4], [Measures].[3OEAEUW2WTYJRE2TOD6IOFJF4] }  ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [ZHOST_ID2].[LEVEL01].MEMBERS, [ZHOST_ID3].[LEVEL01].MEMBERS ), [ZHOST_ID1].[LEVEL01].MEMBERS ), [ZREVENDDT__0CALDAY].[LEVEL01].MEMBERS ) ........................................................ failed to execute with the error Invalid MDX command with UNSUPPORTED: > 50 CHARACT.. (WIS 10901)

    Hi,
    That warning / error message will be coming from the MDX interface on the BW server.  It does not originate from BOBJ.
    This question would be better asked to support component BW-BEX-OT-MDX
    Similar discussion can be found using search: Limitation of Number of Objects used in Webi with SAP BW Universe as Source
    Regards,
    Henry

  • Exception thrown while trying to acquire data from Profile Data Control

    I created a new WebCenter Portal Application (with JDeveloper 11.1.1.4).
    Then tried to acquire data from Profile Data Control through getProfile().WCUserProfile to create a read-only form with profile data.
    After deploying (to internal WLS) and running I got a popup saying:
    *Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.1.2.v20101104-r8475): org.eclipse.persistence.exceptions.ValidationException Exception*
    Description: Cannot acquire data source [java:comp/env/jdbc/WebCenterDS].
    Internal Exception: javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'jdbc.webcenter.CustomPortalDS' didn't find subcontext 'webcenter'. Resolved 'jdbc'; remaining name 'webcenter/CustomPortalDS']; Link Remaining Name: 'jdbc/webcenter/CustomPortalDS'
    The question is how can I create such a data source to acquire data needed?

    Hi, there's two ways, in both ways you need use the user <PRE>_WEBCENTER that RCU create.
    1 - You can go in your console and create de dataSource, as Yannick sad. You can use your production database if you want get some more real tests, or you can get some develope database and run RCU. You can copy the configuration from you WLS server that are installed webcenter to make this easy.
    2 - In develop mode you can just create a database connection name "WebCenter", just like sad here:
    http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10148/jpsdg_people.htm#BABICGCH

  • My ipad was stolen tonight and i accidently removed it from icloud while trying to erase data from it. it is a wi-fi only and was not online. can i remotely turn it back on to icloud?

    My ipad was stolen tonight and I accidently removed it from Icloud while trying to erase the data. Is there any way to remotley restore Icloud? Or am I just out of luck?

    If they turn off iCloud in settings, is it a lost cause? My bad for not having it secured with password. Thanks for the help. I'm exhausted and going to bed in a few. Five hundred miles from home on bussines trip. Flying home in the morning. sitting in hotel loby trying to figure this out.  thanks again

  • TNS-12518 error while trying to fetch data from SQL Server

    Hi everyone,
    I'm trying to establish connectivity from Oracle 10.2 server to a SQL Server 2005. These are the server details
    DOVER - This is where I installed Oracle Gateway for SQL Server. There's already an Oracle home in this server and I have used the existing listener for the incoming connections
    LUNDY - This is where my actual Oracle server resides
    HEBRIDES - This is where SQL Server 2005 instance resides, the database name is TRACKIT90
    I've set everything as explained in Oracle documentation http://download.oracle.com/docs/cd/B19306_01/gateways.102/b14270/ch2.htm#i1005694 but in the end I'm getting an TNS-12518: TNS:listener could not hand off client connection when I run a test query and this is what it says in the listener.log of DOVER
    01-MAR-2010 15:33:19 * (CONNECT_DATA=(SERVICE_NAME=tg4msql)(HS=OK)(CID=(PROGRAM=w:\oracle\product\10.2.0\db_1\bin\ORACLE.EXE)(HOST=LUNDY)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.58)(PORT=3887)) * establish * tg4msql * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    My initialization parameter under \\ORACLE_HOME\tg4msql\admin of gateway installation in DOVER is as below:
    HS_FDS_CONNECT_INFO=hebrides.TRACKIT90
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    The listener.ora of the active listener in DOVER has the following lines, by the way this listener does not reside on the same ORACLE_HOME as the gateway's ORACLE_HOME but it is the current active listener in the server. The listener has also been stopped and started:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dover)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LISTENER =
    (SID_DESC =
    (SID_NAME = tg4msql)
    (ORACLE_HOME = E:\oracle\product\10.2.0\tg_1)
    (PROGRAM = tg4msql)
    The following entry has been added to the tnsnames.ora in LUNDY server where my actual Oracle database resides.
    TRACKIT_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = DOVER)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = tg4msql)
    (HS = OK)
    And finally a database link is created by using the below DDL statement:
    CREATE DATABASE LINK "DLINK" CONNECT TO "username" IDENTIFIED BY "password" USING 'TRACKIT_DATA';
    When I do a select statement on one of the tables of TRACKIT database by using the following query I got the TNS-12518 error with above details
    select * from announcement@dlink;
    I would appreciate any help and also please let me know if I missed out any details.
    Thanks.

    This is the output comes with the "lsnrctl service listener" command on DOVER server
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 02-MAR-2010 11:48:55
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "STD81" has 1 instance(s).
    Instance "STD81", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:5 refused:0
    LOCAL SERVER
    Service "STD81" has 1 instance(s).
    Instance "std81", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:4234 refused:0 state:ready
    LOCAL SERVER
    Service "STD81_XPT" has 1 instance(s).
    Instance "std81", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:4234 refused:0 state:ready
    LOCAL SERVER
    Service "tg4msql" has 1 instance(s).
    Instance "tg4msql", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:22
    LOCAL SERVER
    The command completed successfully

  • Error while trying to access data from virtual provider - Technical Content

    Hi,
      I am trying to install the new BI 2004s technical content.  I am done with the installation I am trying to display data for the remote cubes delivered i.e. 0TCT_VC11/21 etc. but getting an error:
    Error reading the data of InfoProvider 0TCT_VC11
    There is still no data source assigned to VirtualProvider 0TCT_VC11
    The virtual providers are of type "virtual provider based on DTP"  since standard technical content didnt have any DTPs for the VC cubes I tried to create some direct access DTPs based on datasources 0TCT_DS11 but there also getting error:
    Source doesnt support direct access
    I saw the type for datasource 0TCT_DS11 and its using SAP SAPI and not direct access and couldnt change the type actually the same datasource is also used by cube 0TCT_C11 so changing the type probably wouldnt have been a good idea.
    I found the following notes 996735 and implemented its change...but no use...
    we are on SP10 and content 7.03 SP2.  Can anybody please help??

    Hi all,
    The above mentioned solution is a good idea but in this context not appropriate as it aims at resolving an issue in the delivered Content Version of 0TCT_VC11.
    In your case, you already have 0TCT_VC11 activated and you can not read any data from this VirtualProvider in queries. Right?
    In that case, you have to:
    1. Check that the entire data flow is active for the InfoProvider (activation should occur for the MYSELF source system): 0TCT_VC11 with InfoSource 0TCT_IS11 with DataSource 0TCT_DS11
    2. Activate the direct access for the VirtualProvider (Context menu of 0TCT_VC_11 > Activate Direct Access > Source Syst. for InfoSource3.x > Mark the column with the MYSELF source system and Save).
    This corresponds to Installation "Step 5.) Activate direct access for virtual providers" that is mentioned in SAP Note 934848 "Collective note: (FAQ) BI Administration Cockpit".
    Best regards,
    Rudolf Hennecke
    SAP NetWeaver RIG BI

  • Complex xml with multiple namespaces giving LPX-00601: Invalid token error

    Hi
    Apologies if this is a really simple question.
    I have not worked with xml before and I'm drowning in different ways to do the extract.
    I have a very complex xml, sample below, which I'm trying to do one siple extract to get myself going.
    I have the data in a table in an xmltype column,
    I am trying to extract containernumber first and get the error.
    select xml_column, extract(xml_column,'/env:Envelope/env:Body/ns0:QueryCntrNumberResponse/ns0:QueryResContainerDetail/ns1:ContainerNumber/ns2:ContainerNumber')
    from test_xml;
    Not sure if I should use the namespaces and have tried without but results are always NULL
    I would really appreciate any pointers around these ultiple namespaces.
    Thanks
    Nicki
    XML Sample
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xmlns:ns0="http://com.cargosmart.cargotracking.webservice.cntr.dto"
                  xmlns:ns1="http://com.cargosmart.cargotracking.webservice.common.dto"
                  xmlns:ns2="http://com.cargosmart.cargotracking.webservice.basic.dto"
                  xmlns:ns3="http://com.cargosmart.cargotracking.webservice.bl.dto"
                  xmlns:ns4="http://com.cargosmart.cargotracking.webservice.bkg.dto">
      <env:Body>
        <ns0:QueryByCntrNumberResponse>
          <ns0:QueryRes ult="">
            <ns0:QueryCriteria>
              <ns1:CarrierSCACCode>APLU</ns1:CarrierSCACCode>
              <ns1:ContainerNumber>APZU344693-1</ns1:ContainerNumber>
            </ns0:QueryCriteria>
            <ns0:ContainerDetail>
              <ns1:ContainerNumber>
                <ns2:ContainerNumber>APZU344693</ns2:ContainerNumber>
                <ns2:ContainerCheckDigit>1</ns2:ContainerCheckDigit>
                <ns2:GrossWeight>
                  <ns2:Weight>20260.8</ns2:Weight>
                  <ns2:WeightUnit>KGS</ns2:WeightUnit>
                </ns2:GrossWeight>
              </ns1:ContainerNumber>
    NOT THE FULL COLUMN

    Could I just ask you one more question.
    I had already expanded the query to include the repeating sections using xmlsequence.
    Has that been replaced too?
                select extractvalue(xml_column,'/env:Envelope/env:Body/ns0:QueryByCntrNumberResponse/ns0:QueryResult/ns0:ContainerDetail/ns1:ContainerNumber/ns2:ContainerNumber',
                  'xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ns0="http://com.cargosmart.cargotracking.webservice.cntr.dto"
                  xmlns:ns1="http://com.cargosmart.cargotracking.webservice.common.dto"
                  xmlns:ns2="http://com.cargosmart.cargotracking.webservice.basic.dto"
                  xmlns:ns3="http://com.cargosmart.cargotracking.webservice.bl.dto"
                  xmlns:ns4="http://com.cargosmart.cargotracking.webservice.bkg.dto"') col1,
                  extractvalue(value(t2),'/ns1:Event/ns1:EventDescription', 'xmlns:ns1="http://com.cargosmart.cargotracking.webservice.common.dto"') Event_Description,
                  extractvalue(value(t2),'/ns1:Event/ns1:EventDT/ns2:LocDT', 'xmlns:ns1="http://com.cargosmart.cargotracking.webservice.common.dto" xmlns:ns2="http://com.cargosmart.cargotracking.webservice.basic.dto"') Event_DT,
                  extractvalue(value(t2),'/ns1:Event/ns1:Location/ns2:LocationName', 'xmlns:ns1="http://com.cargosmart.cargotracking.webservice.common.dto" xmlns:ns2="http://com.cargosmart.cargotracking.webservice.basic.dto"') location
    from test_xml t1,
    table(xmlsequence(extract(t1.xml_column,'/env:Envelope/env:Body/ns0:QueryByCntrNumberResponse/ns0:QueryResult/ns0:ContainerDetail/ns1:Event','xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
                  xmlns:ns0="http://com.cargosmart.cargotracking.webservice.cntr.dto"
                  xmlns:ns1="http://com.cargosmart.cargotracking.webservice.common.dto"
                  xmlns:ns2="http://com.cargosmart.cargotracking.webservice.basic.dto"
                  xmlns:ns3="http://com.cargosmart.cargotracking.webservice.bl.dto"
                  xmlns:ns4="http://com.cargosmart.cargotracking.webservice.bkg.dto"'))) t2;

  • Error occurred in XML processing LPX-00601: Invalid token in

    Hello all, I'm new here and hope to find a resouce to learn from and give back to when possible.
    I am parsing an xml file in a stored proc. The file parses out fine when I make a small modification to the source xml file. Here is the mod:
    These are the first 2 lines of the source file:
    <?xml version="1.0" encoding="UTF-8"?>
    <wc:COLLECTION xmlns:wc="http://www.company.com/sub/1.0">
    If I remove the colon from the element in the second line (change wc:COLL... to wcCOLL....), and make the corresponding change in the closing element tag, the code can parse the file just fine.
    Here is the primary code that throws the error in my proc:
    PROCEDURE IMPORT_WC_XML
    AS
    v_parser xmlparser.Parser;
    v_doc xmldom.DOMDocument;
    v_nl xmldom.DOMNodeList;
    v_n xmldom.DOMNode;
    BEGIN
    v_parser := xmlparser.newParser;
    xmlparser.parse(v_parser, 'F:\SQLLOG\test.xml');
    v_doc := xmlparser.getDocument(v_parser);
    xmlparser.freeParser(v_parser);
    v_nl := xslprocessor.selectNodes(xmldom.makeNode(v_doc),'/wc:COLLECTION/AddedParts/Part');
    If I remove the colon in the root element and remove the colon in this last line of my code, it runs fine.
    Any help would be appreciated. I'm a little new to xml.
    Regards,
    Glen

    Ok, I have resolved the issue. Just in case someone has the same problem, I'm posting what I found to fix it:
    The function:
    v_nl := xslprocessor.selectNodes(n,pattern,namespace);
    has a third argument, apparently optional, named "namespace".
    I added the namespace as defined in the xml file and it works fine now.
    v_nl := xmldom.makeNode(v_doc),'/wc:COLLECTION/Transactions/Transaction','xmlns:wc=http://www.company.com/sub/1.0');
    Regards
    Glen Herman

  • LPX-00601: Invalid token in: using logical AND operator in XQuery

    Hi Pro's,
    I am working on DB version 10.2.0.3, I have loaded this document into XMLType column:
    <ROOT>
    <COUNTRY>
    <NAME>India</NAME>
    <PERSON>
    <NAME>Harinath</NAME>
    <CITY>Bangalore</CITY>
    <STATE>Karnataka</STATE>
    <IMMI_STATUS>Citizen</IMMI_STATUS>
    </PERSON>
    <PERSON>
    <NAME>Mohan</NAME>
    <CITY>Kakinada</CITY>
    <STATE>Andhra Pradesh</STATE>
    <IMMI_STATUS>Citizen</IMMI_STATUS>
    </PERSON>
    </COUNTRY>
    <COUNTRY>
    <NAME>USA</NAME>
    <PERSON>
    <NAME>Drew P</NAME>
    <CITY>Appleton</CITY>
    <STATE>WI</STATE>
    <IMMI_STATUS>Citizen</IMMI_STATUS>
    </PERSON>
    <PERSON>
    <NAME>Bush</NAME>
    <CITY>Washington</CITY>
    <STATE>DC</STATE>
    <IMMI_STATUS>Citizen</IMMI_STATUS>
    </PERSON>
    <PERSON>
    <NAME>Harinath</NAME>
    <CITY>Atlanta</CITY>
    <STATE>GA</STATE>
    <IMMI_STATUS>Alien</IMMI_STATUS>
    </PERSON>
    </COUNTRY>
    </ROOT>
    This query returns one row : (As Expected)
    ===============================
    SELECT extractValue(rec.xmldata, '/ROOT/COUNTRY[PERSON/NAME="Drew P"]/NAME') C_COUNTRY
    FROM (SELECT VALUE(xml) xmldata
    FROM XXSSI_XML_STG stg
    ,TABLE(XMLSequence(extract(stg.XMLDATA, '//ROOT'))) xml
    WHERE stg.REQUEST_ID = 4204203) rec
    This query fails: TRUE as "Harinath" appears twice in the document once in "India" and once in "USA";
    ======================================================
    SELECT extractValue(rec.xmldata, '/ROOT/COUNTRY[PERSON/NAME="Harinath"]/NAME') C_COUNTRY
    FROM (SELECT VALUE(xml) xmldata
    FROM XXSSI_XML_STG stg
    ,TABLE(XMLSequence(extract(stg.XMLDATA, '//ROOT'))) xml
    WHERE stg.REQUEST_ID = 4204203) rec ;
    To fix the error I introduced "LOGICAL AND" in the XPath: THIS FAILS
    ===================================================
    SELECT extractValue(rec.xmldata, '/ROOT/COUNTRY[PERSON/NAME="Harinath" AND IMMI_STATUS="Citizen"]/NAME') C_COUNTRY
    FROM (SELECT VALUE(xml) xmldata
    FROM XXSSI.XXSSI_XML_STG stg
    ,TABLE(XMLSequence(extract(stg.XMLDATA, '//ROOT'))) xml
    WHERE stg.REQUEST_ID = 4204203) rec ;
    Please help!!!!!!

    Hi !!!
    Im sooo thankful to you... it works!!!
    Learnt a lesson today "dont blindly go by those user guides" I was refering to Example 6–8 of "B14259" 10g Developer Guide (Page 282) which has this query
    SELECT extract(OBJECT_VALUE, '/PurchaseOrder/Item').getClobval()
    FROM mypurchaseorders p
    WHERE existsNode(OBJECT_VALUE,
    '/PurchaseOrder[PONum=1001 AND Company = "Oracle Corp"]') = 1;
    may be a printing error :(
    Thanks a lot.

  • SQLException while trying to retrieve data from text file DB

    This was originally posted in the Java Fundamentals forum,
    http://forum.java.sun.com/thread.jspa?threadID=733857&tstart=10
    thought I might have a better chance of getting help here.
    I'm just beginning to learn JDBC stuff. I have a text file acting as my DB. So far I've been able to add rows to the table, but when I try and retrieve something from the table I get the following exception.
    java.sql.SQLException: [Microsoft][ODBC Text Driver] The Microsoft Jet database engine cannot open the file '(unknown)'.  It is already opened exclusively by another user, or you need permission to view its data.That '(unknown)' bit seems suspicious, but I don't how I would correct it. My file is set up similar to the sun tutorial I'm going through, and it doesn't specifiy the file name anywhere but the SQL statement.
    All the permissions seem to be correct from what I can tell. The file isn't opened or in use anywhere else that I can see.
    I've tried googling parts of the error message, but most of the reponses are dealing with MS Access or aren't java related and so far I haven't found anything helpful.
    Below is my sample code.
    * Created on May 4, 2006
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class DBProcessor {
         static Connection con;
         public static void main(String[] args) {
              HandiAppDBProcessor app = new HandiAppDBProcessor();
    //          insertNamesIntoDB("John", "Doe", "Good");
              retrieveNamesFromDB();
         public HandiAppDBProcessor() {
              super();
         public static void establishDBConnection() {
              try {
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   String url ="jdbc:odbc:TextDB";
                   con = DriverManager.getConnection(url,"myLogin", "myPassword");
              } catch (ClassNotFoundException excptn) {
                   System.out.println("***** ClassNotFoundException thrown");
                   excptn.printStackTrace();
              } catch(SQLException excptn) {
                   System.out.println("***** SQLException - Connection Failed");
                   excptn.printStackTrace();
         public static void insertNamesIntoDB(String firstNameIn, String lastNameIn, String standingIn) {
              try {
                   establishDBConnection();
                   String firstName = firstNameIn;
                   String lastName = lastNameIn;
                   String standing = standingIn;
                   Statement stmt = con.createStatement();
                   String query = "insert into CONTACTS values ('" + firstName +
                                       "', '" + lastName +
                                       "', '" + standing + "');";
                   stmt.execute(query);
              } catch(SQLException excptn) {
                   System.out.println("***** SQLException - Connection Failed");
                   excptn.printStackTrace();
         public static void retrieveNamesFromDB() {
              try {
                   establishDBConnection();
                   Statement stmt = con.createStatement();
                   String courseQuery = "SELECT FIRST_NAME FROM CONTACTS";
                   ResultSet rs = stmt.executeQuery(courseQuery);
                   while (rs.next()) {
                        String courseName = rs.getString("FIRST_NAME");
                        System.out.println("firstName = " + firstName);
              } catch(SQLException excptn) {
                   System.out.println("***** SQLException - Connection Failed");
                   excptn.printStackTrace();
    }Of course you won't be able to run it unless you take the time to create a text file and set it up as a data source, which I don't expect anyone to do. I was just hoping someone more experienced than I had seen this before or could spot something in my code.
    Any help in any way would be appreciated.
    Thanks

    When you were setting up your ODBC data source for
    the Text driver, did you click on the "Options"
    button? There's a lot of options in there that I
    didn't understand at first glance.Yes I clicked on the options button, but the only thing there is dealing with file extensions. I left it set to the default.
    I have since tried closing my connection after I insert a record, I then try executeQuery, but still no luck. Seems strange that I can write to the file but not read from it. If any thing I'd expect the opposite problem.
    I have also tried using the class "JoltReport" from the sun tutorial instead of my own with the same result.
    Message was edited by:
    Hentay

Maybe you are looking for

  • Maybe someone can help me on one of these issues

    i just felt like sending a VERY long rant to apple through the itunes feed back. so if someone believes they could help me, please take a few minutes to read this. i have just copied and pasted it. *SIDENOTE* I i have erased all itunes program files

  • How can I print BOTH legal and letter on my duel tray printer????

    How can I print BOTH legal and letter on my duel tray printer from my mac? on a pc you can choose "print according to pdf size" and the mixed document will print in both legal and letter auto-selecting the printer tray.

  • API for Updating Attribute in CZ

    Hi All, Could you please suggest me any Standard API to update the Attribute Value in cz_config_ext_attributes. Thank you, Aush

  • DCR Server Error LMS 4.0

    Hi, Dear Expert. first of all i apologies that my English is not good. i am using Microsoft Windows Server 2003 Enterprise Edition SP1 and using CiscoWorks LAN Management Solution Version 4.0 when i click on discovery button in inventory menu. then i

  • CS11 'u8BE5 BOM u662Fu65E0u6548u7684 2009/06/15'

    各位XDJM, 今天,遇到一个问题(USER提出的): 用CS03可以展开展开一个物料TIRGABNTXNE1ANJ,但是用CS11就出现了'该 BOM 是无效的 2009/06/15'; 这个是什么问题? 我在一个程序里CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'一样无法展出该BOM,是否要设置哪些参数才可以? 请指教,TKS!