Jonathan:
 
this looks like a problem i ran into (see bug http://bugzilla.exolab.org/show_bug.cgi?id=1146 )
 
the reason seems to be that not all xml schema types are supported in castor, which in and of itself
is OK...  my suggestion to the castor fellas is that they give a more descriptive error message in this case
(e.g., xml schema type-foo not supported -- they shouldn't even generate source code in this case.)
 
good luck
    chris
 
 
 
 
----- Original Message -----
Sent: Saturday, December 14, 2002 11:09 PM
Subject: [castor-dev] (newbie) *** Source code generating incorrectly ***

In the descriptor vlasses that are generated from the schema, the handle "typeValidator" is being generated without having been assigned a Classtype. (see actual code below)....
 
{
            typeValidator = new NameValidator(NameValidator.CDATA);
            fieldValidator.setValidator(typeValidator);
}
 
....Here the handle "typeValidator" has not been assigned to a Classtype.  I fixed it locally, but I am not sure how to fix it in cvs.

Reply via email to