Hi Mark,
Meant to add that you can obviate the need to make this change a second
time by saving the runtime to a safe place and using the -use-runtime
switch for subsequent compilations of your schema.
Regards,
--
Ed Mooney |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201 |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive |fruit flies like
781-442-0459 |Burlington, MA 01803 |a banana. Groucho
Ed Mooney wrote:
> Hi Mark,
>
> Unfortunately, the only workaround I can suggest involves editing the
> generated code. Please try making this change to
> org/cheiron/seven/plugins/config/xml/model/impl/runtime/InterleaveDispatcher.java:
>
>
> *** InterleaveDispatcher.java 2003/06/18 19:32:14 1.1
> --- InterleaveDispatcher.java 2003/06/18 19:32:52
> ***************
> *** 92,98 ****
>
>
> public Object owner() {
> ! throw new InternalError();
> }
>
> public void enterElement(String uri, String local, String
> qname, Attributes atts) throws SAXException {
> --- 92,101 ----
>
>
> public Object owner() {
> ! if( nestLevel>0 )
> ! return currentSite.getCurrentHandler().owner();
> ! else
> ! throw new InternalError();
> }
>
> public void enterElement(String uri, String local, String
> qname, Attributes atts) throws SAXException {
>
> We agree that we shouldn't be throwing InternalError. The next release
> will throw a JAXBAssertionError. Also, the bug parade folks are trying
> to track down why 4878471 has yet to be publically visible.
>
> Please accept our apologies for letting this bug escape, and our thanks
> for catching it. I hope this workaround is acceptable for now.
>
> Regards,