detail.php
OW2 Forge: Detail: 100535 PSQL Compiler error on typedef sequence<ref<T>>;

Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
OpenCCM
          
 
 
Summary
Forums
Tracker
Lists
Tasks
Docs
Surveys
News
Files
SVN
                    
 

Tracker: Bugs

Submit New | Browse | Admin | ExportToXml

[ #100535 ] PSQL Compiler error on typedef sequence>;

Date:
2003-10-10 15:08
Priority:
5
Submitted By:
Nobody (None)
Assigned To:
Nobody (None)
Category:
Compilation chain
State:
Open
Summary:
PSQL Compiler error on typedef sequence<ref<T>>;

Detailed description:
Hello, I've submitted bug #532 yesterday because I could not use a sequence in PSDL. I was trying to use an anonymous sequence, which can't be done. Anyway, I can't neither typedef such a sequence. The sample given in the bug follow-up doesn't even compile, or Im' completely wrong ? I'm using OpenORB-1.4.0-cvs (compiled w/ sources of 09-30), and OpenCCM-cvs compiled today. ==== me@mymachine:~$ uname -a Linux mymachine 2.4.22-1-686 #6 Sat Oct 4 14:09:08 EST 2003 i686 GNU/Linux me@mymachine:~$ java -version java version &quot;1.4.2_01&quot; Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06) Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode) me@mymachine:~$ source ~/tools/OpenCCM-cvs/openccm/build/bin/envi.OpenCCM.sh me@mymachine:~$ ir3_start [...] all goes fine... me@mymachine:~$ cat AccountSeqRef.psdl module sample { storagetype Account {/**/} ; typedef sequence&lt;ref&lt;Account&gt;&gt; AccountList; }; me@mymachine:~$ psdl_java AccountSeqRef.psdl psdl_java 0.8: Reading from file AccountSeqRef.psdl... psdl_java 0.8: Preprocessing file AccountSeqRef.psdl... psdl_java 0.8: File AccountSeqRef.psdl preprocessed. psdl_java 0.8: Compiling AccountSeqRef.psdl file... AccountSeqRef.psdl:4: error: unexpected token &quot;ref&quot; psdl_java 0.8: Compilation failed: 1 error, 0 warning.

Add A Comment:

Please login

Followup

Message
Date: 2003-10-10 15:27
Sender: demarey
Hi,

You're right for this example.
But there is a problem in the PSS specification around arrays
and sequences. There is a collision between PSDL grammar and
IDL grammar.
No rule exists for PSDL sequences.
So, OpenCCM doesn't allow PSDL sequence definition.
It will be resolved as soon as this point will be clarified.

Regards. 

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
resolution_idNone2003-10-10 15:27demarey

Copyright © 1999-2008, OW2 Consortium | contact | PS: You have a difficulty, a problem ? Please report an issue using your main OW2 account credentials