Eswar,
I think you will need to regenerate your classes. The source generation
creates restrictions in the generated code (all the Descriptor files) to
enforce your xsd restrictions. If you update the xsd, then those no longer
are valid.

Hope this helps...

Margaret

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 4:23 AM
To: [EMAIL PROTECTED]
Subject: [castor-dev] DESCRIPTOR MARSHAL EXCEPTION



hi,

we used the source code generator to create java objs from ouir xsd.
The problem now is we have an NMTOKEN x which can take either of the values
(1,2,3) .
And, we created a xml instance of the xsd with a value '4' for the NMTOKEN
'x' .

And at the point of unmarshalling this xml instance there is a Marchalling
Exception in place of a Validation exception resulting in the termination
of my program.

Can anyone please let me know how to fix this problem ?

Thanks in Advance,
Eswar Subramanyam.



This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to