I have checked in a fix for this with revision 471299. So now you can get past this if you build XmlBeans from source (for instructions on how to do that, see http://xmlbeans.apache.org/sourceAndBinaries/index.html).
Alternatively, you can wait for the next release of XMLBeans, and use the workaround that you mentioned in the meantime. Thanks, Radu -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Sent: Thursday, November 02, 2006 8:18 AM To: user@xmlbeans.apache.org Subject: Re: Is there a possibility to compile this simplecontent restriction Radu Preotiuc-Pietro <radup <at> bea.com> wrotes: > > Looks like you have hit a bug. Because you are removing an attribute, > the Java impl class does not implement that method, which was present > in the base. Hm, I'll look into it. > > Radu > It seems to be difficult to map this schema restriction to valid java code. My work around at the moment is to compile with scomp without compiling with javac. After that I add the required methods and try to remember not to use the "prohibited" getters and setters later. But the required interaction between scomp and javac is a problem for automated builds (nightly builds) :/ Ralf --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _______________________________________________________________________ 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]