Print Thread
Error in PL/SQL Beautifier
#62972 01/31/22 04:54 PM
Joined: Sep 2019
Posts: 34
Spain
E
El Offline OP
Member
OP Offline
Member
E
Joined: Sep 2019
Posts: 34
Spain
Hello:

With this code PL/SQL Beautifier fails

SQL Query
CREATE OR REPLACE PROCEDURE test_format IS
  PROCEDURE p_example IS
    CURSOR cursor_dummy(c_p_version VARCHAR2) IS
      SELECT XMLELEMENT("siiLR:RegistroLRBajaCobrosMetalico", XMLELEMENT("sii:PeriodoLiquidacion"), XMLELEMENT("siiLR:Contraparte")) the_xml
        FROM dual a;
 
    v_stmt_str   VARCHAR2(32767);
    v_the_result xmltype;
  BEGIN
    v_stmt_str := 'AS "siiLR", AS "sii",
    AS "soapenv")';
  END;
BEGIN
  NULL;
END;

If the v_stmt_str line is deleted or the carriage return is removed it works.

I reported it in August 2020 via email. In the beta of version 15 it continues badly. I would appreciate it if you would fix this bug.

Best Regards,


-------------------------------
Elias F.M.
Re: Error in PL/SQL Beautifier
El #62997 02/01/22 10:38 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
We'll check it out for version 15.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.047s Queries: 15 (0.017s) Memory: 2.4978 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-04-27 16:35:29 UTC
Valid HTML 5 and Valid CSS