Menu

Use of the word GLOBAL

2006-04-04
2013-03-31
  • Charles Berger

    Charles Berger - 2006-04-04

    I am using PLDoc to document a set of PL/SQL packages I have developed and so far I am pleased with it save for one issue.

    I have created a package named GLOBAL but attempting to process the package spec with PLDoc causes PLDoc to fail with a ParseException caused by the text "package global".

    After digging around in the source code I believe this is caused by the fact that the word GLOBAL is included in the tokenImage array declared in the file PLSQLParserConstants.java.

    I haven't yet had time to comment it out and rebuild PLDoc to verify this theory but I would be interested to understand why this word is included when it isn't a PL/SQL reserved word.  Also, do you think my proposed solution is valid?

    My GLOBAL package is used widely throughout my suite so renaming it would not be something I would like to have to do.

    Thanks for your help.

    Charles.

     
    • Albert Tumanov

      Albert Tumanov - 2006-04-05

      There is a GLOBAL TEMPORARY clause that can be in CREATE TABLE. These are "half-reserved" words in Oracle, and there are always much trouble with such.

      If you open a bug, I can post some solution that you  could test.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.