Hi, ignore this (sorry)
 
Seems to be a bad classpath, some 2.0 and some 2.1
 
phew
 
 
Mike


From: Mike Skells [mailto:[EMAIL PROTECTED]
Sent: 22 November 2005 15:04
To: dev@xmlbeans.apache.org
Subject: changes to the schema type system, 2.0 -> 2.1 incompatability

Hi
is the static 'type' field suppost to be still available in 2.1
When I recompile at 2.1 I dont get any type field  being generated
 
I originally thought that this was some hack that a developer had put in (our code) to determine the class, but  in http://xmlbeans.apache.org/docs/2.0.0/guide/conIntroToTheSchemaTypeSystem.html the type filed is mentioned
"SchemaType sType = RootDocument.Root.MyList.Item.type;"
 
 
 
Is the "type" field supported in 2.1?
Is it being generated for other people?
What is the best (supported) way to determine the SchemType from the class?
 
Mike
 
--------------------------------------------------------------------------------------------------------------------------------------------
 
NB.
This was originally posted to the user group as "How to get a type from a class ( changes in 2.1)"
 
Hi,
What is the correct way to determine the SchemaType for a given class
 
I have inheritted some code that looked and the 'type' field of the class to determine the SchemaType, but that field has been removed as part of the 2.0 -> 2.1 changes.
 
I assume that this was not the correct way to determine the SchemaType, just something that someone had found that works.
 
What is the correct way?
The only information that I have at this point in the application, is the class.
 
Mike

Reply via email to