It seems that the element doesn’t have the namespace specified in the schema.

 

Cezar

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of R. Blaine Mincey
Sent: Friday, July 14, 2006 3:40 PM
To: user@xmlbeans.apache.org
Subject: error: cvc-complex-type.2.4a

 

Greetings all.

I have been using XMLBeans with no problem until recently having to use it with a pretty complex schema.  I am able to successfully generate the Java objects using the scomp tool, but when parsing a file, I receive the following error message on validation:

error: cvc-complex-type.2.4a: Expected element '[EMAIL PROTECTED]:hl7-org:v3' instead of 'MCCI_MT200100.Batch' here

I have tried a variety of different things but have been unsuccessful.  Is there someway I can specify something with XmlOptions that I am not aware of?

I would not be surprised if this is something rather trivial that I have totally overlooked.

Thanks in advance.

Blaine Mincey

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Reply via email to