RE: Exception in thread "main" java.lang.ClassCastException: org.apache.

2006-04-03 Thread Lawrence Jones
Hi I've both tried the scomp you mentioned to compile the schema you passed in and have run your test code using the file you sent below. Unfortunately everything works fine for me - I have no problem either running scomp or running your code. So I assume this must be some sort of environment prob

Factory.Parse issue

2006-04-03 Thread Green, Jason M.
Title: Factory.Parse issue Hey everyone. I'm having an odd issue with xmlbeans.  When using it while developing in my IDE, it seems to work fine.  When actually running the jar (at least along those lines), the program craps out on the Factory.parse method.  We pass in a ByteArrayInputStream

RE: Factory.Parse issue

2006-04-03 Thread Lawrence Jones
Title: Factory.Parse issue Hi Jason   When you say the program “craps out”, what exactly do you see? And what do you means by “running the jar”? Do you mean running a java process from the command line with the jar on the classpath?   Cheers,   Lawrence   From: Green, Jaso

RE: Factory.Parse issue

2006-04-03 Thread Green, Jason M.
Title: Factory.Parse issue Lawrence,    We run our program via another program.  We give the main program the location of one of our classes and it creates an instance of it. This instance is actually a JPanel that gets added to a tabbedPane contained in the main program.  That is basically h

RE: Factory.Parse issue

2006-04-03 Thread Lawrence Jones
Title: Factory.Parse issue Hi Jason   I would guess that it probably is a classpath issue – you need xbean.jar and jsr173_1.0_api.jar on your classpath as well as any jar you generate using scomp. How are you calling XmlBeans within your program? What classpath are you passing it?   Als

[jira] Created: (XMLBEANS-261) Classes generated for schema types which have inheritance by restriction could better implement the restricted methods

2006-04-03 Thread Lawrence Jones (JIRA)
Classes generated for schema types which have inheritance by restriction could better implement the restricted methods -- Key: XMLBEANS-261 URL: http://issues.apac

Out of Office AutoReply: [jira] Created: (XMLBEANS-261) Classes generated for schema types which have inheritance by restriction could better implement the restricted methods

2006-04-03 Thread Steven Traut
I'm out until 4/21. Please see Larissa Carroll for anything urgent. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that

[jira] Resolved: (XMLBEANS-251) Schema compilation error when restricting complex type with simple content

2006-04-03 Thread Radu Preotiuc-Pietro (JIRA)
[ http://issues.apache.org/jira/browse/XMLBEANS-251?page=all ] Radu Preotiuc-Pietro resolved XMLBEANS-251: --- Resolution: Fixed SVN revision 390274 > Schema compilation error when restricting complex type with simple content > -