I have a really simple question, but first I'm just starting with XMLBeans. I got the 2.0.0 version. It appears that the tutorial was written or the 1.x branch since some things, like the location of the easypo.xsd sample schema, aren't quite where the tutorial says they are. Then, following the tutorial, and cutting and pasting the code so I'm sure it's correct, when I try to compile the POUpdate.java file, I get the following error:
 
file javax\xml\stream\XMLStreamReader.class not found
            poDoc = PurchaseOrderDocument.Factory.parse (purchaseOrder);
                                                                          ^
What does that mean?
 
In a normal Java code development environment, I would look up the javadoc for PurchaseOrderDocument.Factory.parse(). But where is that javadoc? The classes are in the generated easypo.jar file, but that's just compiled classes. Where is the source code that generated those classes?
 
I.e., HOW CAN I SEE JAVADOCS FOR THE GENERATED JAVA TYPES?
 
Looking through the XMLBeans documentation, it seems as though I'm just expected to just "know" what the Java types will be by examining the schema. Fine -- for the experienced user. But for the inexperienced, wouldn't it be so much easier to be able to look at the javadoc for the generated types?
 
This is such a simple concept, that I must be thinking about it all wrong. Will someone please help me understand why such a simple desire to see the javadocs is not so obvious that either I would find it easily or the FAQs or documentation or tutorial or *something* would address the issue?
 
Thanks!

Reply via email to