Kohsuke Kawaguchi wrote:
>>is it possible to use a schema file from the web, i.e. use, for instance,
>>http://czt.sourceforge.net/zml/Z_1_1.xsd
>>as the schema file given to JAXB on the Web?
>>
>>
>
>I just tried it, and got some meaningful error messages --- not
>IndexOutOfBoundsException.
>
>Could you try it again?
>
>
Hmmm, I still get the same
Unexpected failure:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:508)
at java.util.ArrayList.get(ArrayList.java:320)
at com.sun.tools.xjc.Options.guessSchemaLanguage(Options.java:390)
at com.sun.tools.xjc.GrammarLoader.sanityCheck(GrammarLoader.java:175)
at com.sun.tools.xjc.GrammarLoader.load(GrammarLoader.java:89)
at com.sun.tools.xjc.GrammarLoader.load(GrammarLoader.java:77)
at com.sun.tools.xjc.servlet.boxed.CompilerImpl.run(CompilerImpl.java:101)
Strange, ...
http://soapinterop.java.sun.com/xjc/main.jsp
paste "
http://czt.sourceforge.net/zml/Z_1_1.xsd"
into the "schema file" field, press compile button,
and there it is ... quite reproducible for me.
Petra
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net