Hi Andy,
Michael convinced me that it makes sense to keep the second query.
There was a bug in the second query: The Java keyword 'import' was
specified in capitals. I fixed that also and adapted the expected result.
I checked in these changes (Revision 330795).
However, the second query fails. JPOX returns an empty result though pc
instances "emp3" and "emp4" are expected. Semantically the first query
and the second query are the same. Thus, this seems to be a JPOX issue.
Please have a look.
Regards,
Michael
Hi Andy,
you are right! The second query seems to be a leftover from a previous
test. I'll fix that.
BTW: The expected query result is also wrong - should be emp3, emp4.
Thanks,
Michael
The TCK test Instanceof has an error.
It defines 2 queries, yet only 1 set of expected results, ending up with
ArrayOutOfBoundsException when trying to get the expected result for
the second part.
--
Andy
--
-------------------------------------------------------------------
Michael Watzek [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED] Buelowstr. 66
Tel.: ++49/30/235 520 36 10783 Berlin - Germany
Fax.: ++49/30/217 520 12 http://www.spree.de/
-------------------------------------------------------------------