Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org.prorefactor.refactor.RefactorException: unexpected token PARENT-ID-RELATION #3

Open
ccleaud opened this issue Dec 15, 2015 · 2 comments

Comments

@ccleaud
Copy link

ccleaud commented Dec 15, 2015

Hello,

I encounter an exception while ProParsing file with build 1128.
Can you fix this please?
Thanks a lot.

Kind regards,
Cyril CLEAUD


DEFINE TEMP-TABLE tt_one NO-UNDO XML-NODE-NAME "AAA"
    FIELD field1        AS CHARACTER    XML-NODE-TYPE "hidden".

DEFINE TEMP-TABLE tt_two NO-UNDO XML-NODE-NAME "BBB"
    FIELD id            AS RECID        XML-NODE-TYPE "hidden"
    FIELD field1        AS CHARACTER    XML-NODE-TYPE "element" XML-NODE-NAME "BB1"
    FIELD field2        AS CHARACTER    XML-NODE-TYPE "element" XML-NODE-NAME "BB2".

DEFINE DATASET ds_trafic XML-NODE-NAME "JJJ"
    FOR tt_one, tt_two
    PARENT-ID-RELATION FOR tt_one, tt_two     PARENT-ID-FIELD id        /* <-- this line causes exception in proparse */
.
ccleaud added a commit to ccleaud/proparse that referenced this issue Jan 10, 2016
- corrected oehive#3
Inspired from @jakejustus's work, thanks to him.
@ccleaud
Copy link
Author

ccleaud commented Jan 10, 2016

Corrected in commit 9552445.
Thanks to @jakejustus's work.

@ccleaud
Copy link
Author

ccleaud commented Jan 10, 2016

Please manually merge those commits (warning, I've changed pathes preventing me to create a pull request):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant