PL/SQL parser version

It seems to me that the Parser for PL/SQL offers API that calls
the Parser for Java. Is that true?
If true, Is it the Parser for Java v1 or v2?
null

SK (guest) wrote:
: Oracle XML Team wrote:
: : M Leclair (guest) wrote:
: : : It seems to me that the Parser for PL/SQL offers API that
: : calls
: : : the Parser for Java. Is that true?
: : : If true, Is it the Parser for Java v1 or v2?
: : You are correct. It currently calls the v1 Java Parser.
: : Oracle XML Team
: : http://technet.oracle.com
: : Oracle Technology Network
: XML Team,
: In other words, there is NO equivalent of SAXParser available
: for PLSQL. If it is merged in xmlParser.class/xmlparser.sql,
can
: you provide me an example of such code?
: Thanks
: SK.
We have filed an enhancement request fo SAX support.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null

Similar Messages

  • Performance degradation in pl/sql parsing

    We are trying to use xml pl/sql parser and noticed performance degradation as we run multiple times. We zeroed into the following clause:
    doc := xmlparser.getDocument(p);
    The first time the procedure is run the elapsed time at sqlplus is something like .45sec, but as we run repeatedly in the same session the elapsed time keeps on increasing by .02 seconds. If we log out and start fresh, we start again from .45sec.
    We noticed similar degradation with
    p := xmlparser.newParser;
    but we got around by making the 'p' variable as package variable, initializing it once and using the same for all invocations.
    Any suggestions?
    Thank you.

    Can I enhance the PL/SQL code for better performance ? Probably you can enhance it.
    or, is this OK to take so long to process these many rows? It should take a few minutes, not several hours.
    But please provide some more details like your database version etc.
    I suggest to TRACE the session that executes the PL/SQL code, with WAIT events, so you'll see where and on what time is spent, you'll identify your 'problem statements very quickly' (after you or your DBA have TKPROF'ed the trace file).
    SQL> alter session set events '10046 trace name context forever, level 12';
    SQL> execute your PL/SQL code here
    SQL> exitWill give you a .trc file in your udump directory on the server.
    http://www.oracle-base.com/articles/10g/SQLTrace10046TrcsessAndTkprof10g.php
    Also this informative thread can give you more ideas:
    HOW TO: Post a SQL statement tuning request - template posting
    as well as doing a search on 10046 at AskTom, http://asktom.oracle.com will give you more examples.
    and reading Oracle's Performance Tuning Guide: http://www.oracle.com/pls/db102/to_toc?pathname=server.102%2Fb14211%2Ftoc.htm&remark=portal+%28Getting+Started%29

  • Code completion(insight) not working in SQL Developer Version 2.1.1.64

    I recently downloaded SQL developer Version 2.1.1.64. However the code completion feature is not working automatically. I have checked the Automatically complete code in SQL worsheet checkbox under Tools->Preferences-> Code Editor-> Completion Insight.
    Strangely, I get the code completion pop up window when I explicitly press the completion insight shortcut(Ctrl + Space).
    Please help.
    Thanks and Regards.

    Hi, I am getting the following logs :
    Code completion time = 1015
    *...?aux tok2?, parse time = 63
    InsightableOracleDatabase.fetch() time = 360
    Code completion time = 844
    Finished parsing = 0
    *...?aux tok2?, parse time = 62
    InsightableOracleDatabase.fetch() time = 344
    Code completion time = 812
    Finished parsing = 0
    *...?aux tok2?, parse time = 63
    InsightableOracleDatabase.fetch() time = 359
    Code completion time = 891
    Finished parsing = 0
    Thanks

  • Does PL/SQL Parser Validate?

    Just wondering if the PL/SQL parser can parse in validation mode?
    I think I remember reading that the PL/SQL parser is a non-validating parser only but I didn't know if this changed.
    Thanks for you help

    I am also experiencing problems with the setDocumentType
    This is my code
    p := xmlparser.newParser;
    xmlparser.parseBuffer(p,'<My_Data/>');
    doc := xmlparser.getDocument(p);
    docNode := xmldom.makeNode(doc);
    xmldom.setVersion(doc, '1.0');
    OuterNode := xmldom.getLastChild(docNode);
    --Get DTD to parse against
    xmlparser.setValidationMode(p,TRUE);
    xmlparser.parseDTD(p,'c:\temp\v109.dtd','My_Data');
    --Set DTD to validate against
    docType := xmlparser.getDoctype(p);
    xmlparser.setDoctype(p,docType);
    xmlparser.freeParser(p);
    The problem I am having is that the output now looks like this
    <?xml version="1.0" encoding="UTF-8"?>
    <My_Data>
    </My_Data>
    <!DOCTYPE My_Data SYSTEM "file:/c:/temp/v109.dtd">
    The xmlparser.parseDTD requires as the third parameter the root element so the !DOCTYPE field comes after the root element and not before as required.
    Hope this code helps a bit and if you solve the problem please let me know
    Owen
    null

  • PL/SQL Parser Bug?

    Hi,
    just came across a strange PL/SQL parser behavior. Why is the following PL/SQL code valid?
    DECLARE
        vEmpNo NUMBER;
    BEGIN
        FOR rEMP IN
          ( SELECT EMPNO
              INTO vEmpNo
              FROM EMP
        LOOP
            dbms_output.put_line('Value: '||vEmpNo);
        END LOOP;
    END;The "INTO vEmpno" doesn't make much sense, but it's successfully compiled and executed.
    Database version is 10.2.0.3.0
    Any idea?
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com/
    The APEX Builder Plugin: http://builderplugin.oracleapex.info/
    The ApexLib Framework: http://apexlib.sourceforge.net/

    the pl/sql manual gives the syntax of a cursor for loop as
    cursor_for_loop_statement ::=
    [<< label_name >>] FOR record_name IN
    {cursor_name [(cursor_parameter_name
                  [, cursor_parameter_name]...,)]
    | (select_statement)}
    LOOP statement [statement]...
    END LOOP [label_name];and the pl/sql manual defines a "select into" as
    "The SELECT INTO statement retrieves data from one or more database tables, and assigns the selected values to variables or collections. For a full description of the SELECT SQL statement, see Oracle Database SQL Reference."
    and it also says
    "Selecting At Most One Row: SELECT INTO Statement
    If you expect a query to only return one row, you can write a regular SQL SELECT statement with an additional INTO clause specifying the PL/SQL variable to hold the result."
    so, if pl/sql feels that the INTO is just another clause to a regular select statement, and cursor-for-loops work on select statements, then there is no problem. huh?????
    guess in a similar way to v8 pl/sql allowing select of booleans, it just ignores that clause. but since it isn't explicitly stated as being allowed, we can hope that oracle will eventually notice and get rid of it.

  • SQL Parser supporting nested queries

    Hi,
    I require a SQL parser that supprt nested queries. JavaCC doesnt support nested queries so that one is out. If anyone knows of any open sourse parser, please enlighten me. I have already looked enough on Google but not of much use.
    thanks,
    abulkd

    | 1. as suggested , i was able to get the oraclexmlsql.jar
    | from the servlet zip and loading it solved the problem of
    | the jdbc string being printed int he cursor syntax . it
    | works from the xmlgen utility withing pl/sql. but when
    | using OracleXML in a java prog the results still printout
    | the jdbc string.. any ideas...
    Could only be a CLASSPATH problem difference in your two
    tests.
    | 2. Is there anyway to supress the rownum attribute tag in
    | the subquery (cursor) results...that is the
    | setRowIdAttrName .... w/o using xslt
    Not at this time. Rownum supression on the subquery should
    probably follow your settings on the main query. I'll
    suggest to the devs.
    | 3. We are implementing a solution using these tools.... we
    | wanted to know which were the production versions.
    XDK Components for XML and XSLT are production.
    XML SQL Utility and XSQL Servlet are still Technical
    Previews and as such are not yet production.
    null

  • Pl/sql parsing

    Hello!
    I'm developing a package that gets all the dependencies between the objects from a schema and since the table all_dependencies doesn't provide all the information needed (not enough detail), I thougth on making a pl/sql parser. Then I found Oracle Text, and I would like to now if will this feature have the capabily to help me in this task. If not, can someone indicate me some other oracle solution?
    Thanks

    I'm working in windows 2000 professional 5.00.2195 and using Pl/SQL Developer version 7.1.1 and oracle 9i Enterprise Edition Release 9.2.0.7.
    What I really want is, for exemple, instead of the objects related to a package, I wanna now to witch procedure or function in that package that object is related to. Also, when I have a dependency with a table, I wanna now if that procedure/function only writes or only reads (or both) on the table.
    I hope I have made myself clear :)
    Thank you

  • What are the SQL server versions those are compatible with XI 3.0.

    Hi All,
    Please suggest,
    what are the SQL server versions those are compatible with XI 3.0.
    or with which SQL server versions XI 3.0 will interact using JDBC Adapter.

    Check in the [Product Availability Matrix |https://websmp201.sap-ag.de/~form/handler?_APP=00200682500000001303&_EVENT=DISP_NEW&00200682500000002804=01200314690900000192]in market place for more information on this
    Thanks
    SaNv...

  • MS Access 2010 and Oracle SQL Developer Version 4.0.3.16 Error

    OS: Windows 7 Enterprise
    System Type: 64-bit Operating System
    I can not get MS Access 2010 to work/open with SQL Developer version 4.0.3.16.
    ERROR when testing connection to MS Access 2010
    "Status : Failure -Test failed: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"
    I added the 32-bit ODBC data source for the MS Access I am trying to use with SQL Developer version 4.0.3.16 with the "C:\Windows\SysWOW64\odbcad32.exe" application, but I still get the same error.
    I appears that SQL Developer version 4.0.3.16.is looking at the 64-bit driver (ODBC Data Source) and I have no idea to direct SQL Developer version 4.0.3.16 to use the 32-bit driver (ODBC Data Source) when opening MS Access 2010.
    Thank you in advance for your advice.

    I downloaded the SQL Developer version 4.0.3.16 "sqldeveloper-4.0.3.16.84-x64.zip" that included the jre.
    How do I check which Java JDK I am running (32-bit versuns 64-bit)?
    In the command prompt I use "java -version" and I get this message "java is not recognized as an internal or external command"

  • SharePoint Foundation 2010 supported sql server version?

    Hi,
    I am using SharePoint 2010 Foundation. I want to know what are all the SQL Server versions would support in SharePoint 2010 Foundation.
    Could anyone tell me as soon as possible.
    Thanks & Regards
    Poomani Sankaran

     It requires Windows Server 2008 SP2 or Windows Server 2008 R2. It will not run on a Server Core installation.
    It requires one of these versions of x64 SQL Server:
                    SQL Server 2005 SP3 CU3 (Build 4220) or greater (Note: SQL Server 2005 goes out of mainstream support in April 2011)
                    SQL Server 2008 SP1 CU2 (Build 2714) or greater
                    SQL Server 2008 R2
    Check this blog 
    http://www.sqlservercentral.com/blogs/glennberry/2010/03/11/sharepoint-2010-and-various-versions-of-sql-server/
    further from msdn 
    In order to maintain SharePoint and SQL Server compatibility we use the “SharePoint N-1
    on SQL Server N+1”  equation to determine version support. Using SharePoint Foundation 2010 as an example, the N release of SQL Server is 2008/2008 R2 and N+1 is SQL Server 2012. For Microsoft SharePoint Server 2013 the N release of SQL Server
    is 2012 and the N+1 is SQL Server 2014.
    https://technet.microsoft.com/en-us/library/cc288751(v=office.14).aspx

  • XMl parser version problem for running struts project in jdeveloper 10.1.3

    Dear All.
    I am trying to run a struts (v 1.2.9) based project in Jdeveloper 10.1.3.1.0.The struts version in Jdeveloper is 1.1.
    when i am trying to run the index.jsp i get an error:
    org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/dynamic
    I think the XML parser version is a problem.Jdeveloper has OracleXMLParser v2 and i think the XML Parser apis used in building the project is different.I have placedcustiom xml parser apis and the xerces.jar in the jdevbin/jdev/lib folder and included these jar in the bootclasspath as follows:
    AddVMOption -Xbootclasspath/p:../lib/xml-apis.jar
    AddVMOption -Xbootclasspath/p:../lib/xerces-2.6.2.jar
    But even then the Exception persists.Is the syntax for Xbootclasspath wrong or i need to place these custom api's in some other location of jdev.
    I am not being able to figure out the XMl parser problem.
    Any help wud be great.
    Is it that i cant run the project in jdeveloper.Just to mention the application is deployed in OC4J on the server and runs fine..But its only that i kant run it locally through jdeveloper

    I am also facing the same issue on my laptop. I searched for forum but no luck.
    appreciate if anybody can throw some light on this.

  • Sql server replication from SQL SERVER VERSION(7.0) to SQL SERVER 2005

    Hi All,
    We are trying to create a replication between Sql server 7.0 data to SQL server 2005 data . We tried to create a local subscription in Sql server ,when tried to connect to publisher  running in Sql server 7.0 it is showing an error message
    like "This Sql server vresion(7.0) is not supported" .
    Could any one please help us with this issue ?
    Thanks
    Sandy

    Hi CRM_Learner,
    SQL Server version 7.0 Service Pack 4 (SP4) is the earliest version that can participate in a replication topology with SQL Server 2005. We need to verify the version of SQL Server. If you configure transactional replication with updating subscribers,
    for a SQL Server 7.0 Publisher, only SQL Server 7.0 Subscribers are supported. SQL Server 7.0, 2000 was out of support in the SQL Server Forums. I suggest you install SQL Server 2005 or later version to configure the SQL Server replication.
    For more information, there is a detail about using multiple Versions of SQL Server in a replication topology.
    http://technet.microsoft.com/en-us/library/ms143241(v=sql.90).aspx
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • Error trying to install ICM 8.0 - "FAILED TO GET SQL SERVER VERSION."

    Hello guys, i tried to install ICM 8.0 but when i click on Setup.exe appears this error:
    "FAILED TO GET SQL SERVER VERSION. MAKE SURE SQL SERVER INSTALLED PROPERLLY
    NO INSTANCE NAME FOUND.NO SCHEMA UPGRADES ATTEMPTED"
    I try to check the SQL COnfiguration, about Named Pipes, but everything is allright. Someone knows what is it?
    Thank you very much.

    You should be able to see the ICMSetup.log file somewhere - check TEMP. It seems to me that this is the first thing it does - tries to connect to the SQL database and ask for the version. Clearly it cannot. I assume you installed SQL OK, probably have the service running under a domain user created especially for the task, or the domain admin, and you are also logged in as the domain admin, and that SQL is running.
    Check that log file for clues.
    Regards,
    Geoff

  • Desc not working in SQL Developer Version 1.1.3 Build 27.69

    Hi All,
    I am using Oracle SQL Developer Version 1.1.3 Build 27.69
    select count(*) from abccount(*)
    100
    using desc / describe table name gives error
    desc abcERROR:
    ERROR: object abc does not exist
    1 rows selected
    I am able to perform select on the table but not desc/describe. I tried suffixing with schema name , still the same error persists.
    Kindly provide a workaround
    Tnx

    Well 1.1.3 is quite old.
    The best thing to do IMHO is to update to the latest version, it will also enable a load of new features and fixes.
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html

  • Validating XML with PL/SQL parser

    How can i validate a xml that is on a buffer with the grammar
    stored in a BLOB column of o table? I'm using PL/SQL parser and
    i can parse it correctly but i don't know how can i validate it
    because my grammar is stored in DB.
    null

    Ana Lucia (guest) wrote:
    : How can i validate a xml that is on a buffer with the grammar
    : stored in a BLOB column of o table? I'm using PL/SQL parser
    and
    : i can parse it correctly but i don't know how can i validate
    it
    : because my grammar is stored in DB.
    You can't currently but this will be available in our next
    release.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

Maybe you are looking for

  • I can't figure out data binding from a web service.

    Hi, I've been trying to figure out how to connect a TreeTable control with data from a non-SAP web server. Here's what I have so far;     I have a sample program that uses json in a variable called oData.     I have a TreeTable control named oTable.

  • Using rules file

    using rules file how to create consolidation signs like +,-,%,*etc..in the outline.

  • Compile sqlite in solaris 10

    Hi All I am newbies in solaris10. I having problem to install sqlite 3.6.7. The error occur at make command as below /usr/local/bin/gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPAC=\"http://www.sqlite.org\" -DPACKAGE=\"sqlite\" -DVERS

  • GridBag Layout - Auto Adjustment

    I am using grid bag layout , I have the weightx to 1 and fill to horizontal. All I want is that my component occupy space horizontally. I have set Preffered , Min and Max sizes. There are empty space with a width of a 1 or 2 pixels occasionaly show u

  • Reinstall mac mail

    How to reinstall/reset mac mail...can't open attachments or attach files to email...rainbow wheel spins til forced power reboot