Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SDO-beta1
-
None
-
M3 release candidate 1. Modified version as described by Frank Budinsky: http://www.mail-archive.com/tuscany-user%40ws.apache.org/msg00754.html
Description
First reported here: http://www.mail-archive.com/tuscany-user%40ws.apache.org/msg00758.html
When a schema with an invalid reference to another schema is defined it causes an IllegalArgumentException. If the same helperContext is later used to define another schema and then attempting to create using DataFactory causes a ClassCastException - though nothing is wrong with the second schema (passes define - create fails).
The attached JUnit testcase illustrates the problem