Hey Stephen,
The reason you did not get these files is because you ran scomp in src
only mode. I'm pretty sure what you got was the expected result. The
class you are missing is generate when you run with the -d option, so
try adding the following to your command line.
-d c:\xml\src
As far as what this class does and why it doesn't appear when only the
src is generated, I can't speak definitively. The packages that get
generated to schema.*.s#### hold the xsb files. The xsb files are binary
files that allow xmlbeans to maintain information about schemas that
were compiled. The TypeSystemHolder class is only generated when the
xsbs are generated because they only serve to allow programmatic access
to the information in the xsbs and further to the schema type system.
For reasoning and design behind this you may want to ask the dev mailing
list.
Hope this helps, 
-Jacobd


-----Original Message-----
From: Stephen Couchman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 23, 2005 11:49 PM
To: [email protected]
Subject: schema.system.s50EF5828F65326C36FC083B1697A336A ???

Apologies if I missed this in the documentation, but I'm at a complete 
loss to explain whats going on.  I've only just recently started looking

into the XMLBeans libraries and tools, and I ran scomp in source only 
mode targeting 1.4 on the sample Schema definition in the sample 
"OrderMatters."

The resulting source output uses packages/classes that were not 
generated and I can't locate in any of the jar files that came with the 
distribution (2.0.0-beta1).

One example is on line 19 of StatementDocument.java

public static final org.apache.xmlbeans.SchemaType type = 
(org.apache.xmlbeans.SchemaType)schema.system.s50EF5828F65326C36FC083B16
97A336A.TypeSystemHolder.typeSystem.resolveHandle("statement2987doctype"
);

Now I have no idea what all those characters represent after the 
schema.system package, but I do know that there is no such package 
either in the generated source, or the jars I have.  Did I set it up
wrong?

Thanks,

~Stephen

Running
Windows XP SP2
JRE 1.5.0_03
XMLBeans 2.0.0-beta1

ps: from memory, I believe the command line I was using was:
scomp -dl -srconly -src c:\xml\src -javasource 1.4 -verbose stmt.xsd


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to