[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: RE: changes to the schema type system, 2.0 -> 2.1 incompatability
From: "Mike Skells" <mike.skells () ebizz-consulting ! com>
Date: 2005-11-22 15:52:13
Message-ID: 000301c5ef7c$b52cea50$0b01a8c0 () MikeLaptop
[Download RAW message or body]
Hi, ignore this (sorry)
Seems to be a bad classpath, some 2.0 and some 2.1
phew
Mike
_____
From: Mike Skells [mailto:mike.skells@ebizz-consulting.com]
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.ht
ml 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
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=491105115-22112005><FONT face=Arial
color=#0000ff size=2>Hi, ignore this (sorry)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=491105115-22112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=491105115-22112005><FONT face=Arial
color=#0000ff size=2>Seems to be a bad classpath, some 2.0 and some
2.1</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=491105115-22112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=491105115-22112005><FONT face=Arial
color=#0000ff size=2>phew</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=491105115-22112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=491105115-22112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=491105115-22112005><FONT face=Arial
color=#0000ff size=2>Mike</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; \
MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Mike Skells
[mailto:mike.skells@ebizz-consulting.com] <BR><B>Sent:</B> 22 November 2005
15:04<BR><B>To:</B> dev@xmlbeans.apache.org<BR><B>Subject:</B> changes to the
schema type system, 2.0 -> 2.1 incompatability<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=931163314-22112005>Hi</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=931163314-22112005>is the static
'type' field suppost to be still available in 2.1</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=931163314-22112005>When I recompile
at 2.1 I dont get any type field being generated</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=931163314-22112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=931163314-22112005>I originally
thought that this was some hack that a developer had put in (our code) to
determine the class, but in <A
href="http://xmlbeans.apache.org/docs/2.0.0/guide/conIntroToTheSchemaTypeSystem.html \
">http://xmlbeans.apache.org/docs/2.0.0/guide/conIntroToTheSchemaTypeSystem.html</A> the \
type filed is mentioned</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=931163314-22112005>"SchemaType sType
= RootDocument.Root.MyList.Item.type;"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=931163314-22112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=931163314-22112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=931163314-22112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=931163314-22112005>Is the "type"
field supported in 2.1?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=931163314-22112005>Is it being
generated for other people?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=931163314-22112005>What is the best
(supported) way to determine the SchemType from the class?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=931163314-22112005></SPAN></FONT><FONT face=Arial size=2><SPAN
class=931163314-22112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=931163314-22112005>Mike</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=931163314-22112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=931163314-22112005><SPAN
class=931163314-22112005>--------------------<SPAN
class=931163314-22112005>--------------------<SPAN
class=931163314-22112005>--------------------<SPAN
class=931163314-22112005>--------------------<SPAN
class=931163314-22112005>--------------------<SPAN
class=931163314-22112005>--------------------<SPAN
class=931163314-22112005>--------------------</SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=931163314-22112005><SPAN
class=931163314-22112005><SPAN class=931163314-22112005><SPAN
class=931163314-22112005><SPAN class=931163314-22112005><SPAN
class=931163314-22112005><SPAN class=931163314-22112005><SPAN
class=931163314-22112005></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=931163314-22112005>
<DIV><FONT face=Arial size=2><SPAN
class=931163314-22112005>NB.</SPAN></FONT></DIV>This was originally posted to
the user group as "How to get a type from a class ( changes in
2.1)"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=931163314-22112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=931163314-22112005>
<DIV><SPAN class=897033409-22112005><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=897033409-22112005><FONT face=Arial size=2>What is the
correct way to determine the SchemaType for a given class</FONT></SPAN></DIV>
<DIV><SPAN class=897033409-22112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=897033409-22112005><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=897033409-22112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=897033409-22112005><FONT face=Arial size=2>I assume that this
was not the correct way to determine the SchemaType, just something that
someone had found that works.</FONT></SPAN></DIV>
<DIV><SPAN class=897033409-22112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=897033409-22112005><FONT face=Arial size=2>What is the
correct way?</FONT></SPAN></DIV>
<DIV><SPAN class=897033409-22112005><FONT face=Arial size=2>The only
information that I have at this point in the
application, is the class.</FONT></SPAN></DIV>
<DIV><SPAN class=897033409-22112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=897033409-22112005><FONT face=Arial
size=2>Mike</FONT></SPAN></DIV></SPAN></FONT></DIV></BLOCKQUOTE></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic