2 Replies Latest reply: Aug 4, 2013 10:07 AM by user11655073 RSS

    Whitespace is not allowed at this location. Error while running CP using RDF with XML

    user11655073

      Hi All,

       

      I am using RDF report with output type as XML. It have following parameters:

      1. Organization Name,

      2. Invoice No From

      3. Invoice No To

      4. Date From

      5. Date To

      I had developed an RTF and registered that in Oracle Applications. The output comes in Excel file.

      When I used to run report using Invoice Number From and Invoice Number To the report is giving normal excel output.

       

      But when I am running using parameters Date From and Date To then XML output is coming after viewing output in CP Output button.

      I downloaded that xml file. It is invalid as in the last of xml file it is showing following error message

      "Whitespace is not allowed at this location".

       

      Please let me know how can I resolve this problem.

       

      Thanks in advance..

       

      Regards

      Sandip

        • 1. Re: Whitespace is not allowed at this location. Error while running CP using RDF with XML
          user11655073

          my xml file looks like this....

           

          <!-- Generated by Oracle Reports version 10.1.2.3.0 -->

          <XX_ITEM_LOADING>

            <LIST_G_BLANKET_NUMBER>

              <G_BLANKET_NUMBER>

                <CUSTOMER>SPS PVT LTD</CUSTOMER>

                <INVOICE_NO>17356</INVOICE_NO>

                <INVOICE_DATE>20-JUL-13</INVOICE_DATE>

                <BUYER_REF>56780YP</BUYER_REF>

                <ITEM_DESCRIPTION>XXCSD</ITEM_DESCRIPTION>

                <NUM_OF_BEANS></NUM_OF_BEANS>

                <CARIRER></CARIRER>

                <SHIP_METHOD_CODE>UK568</SHIP_METHOD_CODE>

                <MODE_OF_TRANSPORT>ROAD</MODE_OF_TRANSPORT>

                <ASSEABLE_VALUE>1134534</ASSEABLE_VALUE>

                <QUANTITY>149</QUANTITY>

                <SOLD_TO>SPS PVT LTD</SOLD_TO>

                <TAN_NO></TAN_NO>

                <ST_REG_NO>943481</ST_REG_NO>

                <EC_CODE></EC_CODE>

                <TERMS>30 NET</TERMS>

                <CUST_PO_NUMBER></CUST_PO_NUMBER>

                <DESTINATION>LONDON</DESTINATION>

                <CP_DAYS>3</CP_DAYS>

              </G_BLANKET_NUMBER>

               .

               .

               .

               .

               .

          XML page cannot be displayed

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

           

           

           

           

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

           

           

          Whitespace is not allowed at this location. Error processing resource 'file:///C:/Users/sys/Downloads/cp_output_date_range....

           

                <SOLD_TO>DKSP TECHNOLOGIES & ENGG(A DIV. OF PARROT SYSTEM LTD.)</SOLD_TO>

          ---------------...

          _METHOD_CODE>

          • 2. Re: Whitespace is not allowed at this location. Error while running CP using RDF with XML
            Srini Chavali-Oracle

            The ampersand "&" in the data is causing this issue. Pl use google to find possible solutions

             

            HTH
            Srini