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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.