Hi Paolo,

Appears that there is an issue with one of the schemas (voc.xsd) which
we do not handle in the best possible way:

The definition of certain union types (e.g. Inhalation, OralRoute) have
an attribute memberTypes which often looks like this:
memberTypes="OralInhalation OralInhalation OralInhalation"

There are no errors generating the code as this is not illegal. It
appears that the right thing for XmlBeans to do in such cases is to make
sure that we treat this as a list of 1 QName instead of 3 but at the
moment we don't do so, so in this case we will generate a bad java file
(if you can edit the schema to get rid of the repetition all works
well).

Please open a JIRA bug on this.

Yana


-----Original Message-----
From: Ing. Paolo Marcheschi [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 07, 2005 8:16 AM
To: dev@xmlbeans.apache.org
Subject: Error compiling But no errors When generating code

Hi
I'm trying to use the XMLbeans framework to generate code to parse HL7
CDA (clinical document Architecture) documents. I can generate the code
but I'm unable to compile it, I have several errors (repeated
interface).
You can download the schema from :

http://www.ifc.cnr.it/hl7/Final.zip

the schema is Final\Schemas\CDA.xsd

I use   -ms 100m -mx 400m

Please can you help or at least can you show me the right way to do.

Thanks in advance

Best Regards

Paolo Marcheschi

-- 
--
Ing. Paolo Marcheschi

Reparto Bioingegneria e Ingegneria Clinica

Istituto di Fisiologia Clinica, C.N.R.

Institute of Clinical Physiology

Area della Ricerca di Pisa "San Cataldo"

Via G.Moruzzi, 1 - 56124 Pisa, Italy

Tel: +39-050-3152822

Fax: +39-0586-3431168

Web: http://www.ifc.cnr.it/

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

This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to which they
are addressed.If you have received this e-mail in error please notify
the sender immediately, then delete it. Confidentiality and legal
privilege are not waived or lost by reason of mistaken delivery to
you.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to