You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by Nina Juliadotter <nv...@it.uts.edu.au> on 2004/03/01 10:46:57 UTC
Re: NullpointerException in
XSSimpleTypeRestrictionImpl.getPattern()
I changed it like you said and now it works fine :-)
Thanks a lot!
Nina
>
> Try changing lines 104-107 in XSSimpleTypeReststrictionImpl from
>
> > String[][] result = new String[base.length+1][]; <-------- This one!
> > for (int i = 0; i < base.length; i++) {
> > result[i+1] = base[i];
> > }
>
> to
>
> String[][] result;
> if (base == null) {
> result = new String[1][];
> } else {
> result = new String[base.length+1][];
> for (int i = 0; i < base.length; i++) {
> result[i+1] = base[i];
> }
> }
>
>
> Please let us know the result.
>
>
> Jochen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: jaxme-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org