[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    RE: build problems
From:       "Patrick Calahan" <pcal () bea ! com>
Date:       2004-06-25 19:02:50
Message-ID: 82447314F99FB04EB45A98AF96FD7F1705D67243 () ussfex01 ! bea ! com
[Download RAW message or body]

JAM does not have to be compiled under 1.5, but the result of building
under 1.4 does not contain the full feature set, even if you later run
it under 1.5.  It is complaining (rather inarticulately) because we are
doing exactly this - it doesn't want us to be astonished when 1.5
features are unavailable.

 

My main concern was that the 'crippled' version of JAM would somehow
find it's way into xbean.jar, but from your explanation (thanks) I don't
think that is the case.

 

So, I can suppress (or at least compress) the message at least for now.
I think in the medium-term, though, it might be better to build JAM as a
separate jar and check it into external/lib.

 

Cheers,

-p

 

-----Original Message-----
From: Eric Vasilik 
Sent: Friday, June 25, 2004 10:24 AM
To: xmlbeans-dev@xml.apache.org
Subject: RE: build problems 

 

Bootstrapping:

 

XmlBeans uses itself for processing Schema for Schema.  When you build
XmlBeans, we compile Schema for Schema using the version of XmlBeans in
oldxbean.jar.  These generated classes and meta information go into the
new xbean.jar and is used by XmlBeans code which is compiled at this
build time.  

 

It is very important that the generated classes and meta information
that oldxbean.jar produces is compatible with the code which uses it
(the current sources in XmlBeans).

 

We want to keep oldxbean.jar as up to date as possible.  This means that
one should be able to compile the current version of xbean.jar and use
it instead of oldxbean.jar.  There are certain kinds of changes to the
meta information or generated classes which can break this.  If one
makes these kinds of changes, care should be taken to make sure that a
new oldxbean.jar is produced which is compatible.  This is the process
of bootstrapping.

 

There is a target in the build script called bootstrap which will
attempt to use the current xbean.jar as oldxbean.jar and compare the
results of the generation of SchemaForSchema.

 

With respect to this issue, it seems that Jam is squawking about the
absence of a 1.5 resource.  We want to keep Xmlbeans building and
running on 1.4.  It looks like for the purposes of bootstrapping, we do
not use the extension feature of XmlBeans, which is where Jam is
complaining.  Does Jam need to be compiled under 1.5?  Can we compile it
under 1.4 and just use a limited set of features from it?  Can we remove
or dependence on Jam?

 

- Eric

 

-----Original Message-----
From: Patrick Calahan 
Sent: Friday, June 25, 2004 12:22 AM
To: xmlbeans-dev@xml.apache.org
Subject: RE: build problems 

 

Right, sorry, I'm not being very clear.  Everything I'm talking about is
in the v2 line - when I said v1, I meant "v1 features in the v2 line."

 

To rephrase: the v1 source line has no dependencies on Jam, but files in
the v2 line which were branched from v1 (e.g. SchemaConfig) now do have
JAM dependencies.

 

I'm not actually sure this is part of the problem - it's just my best
guess.  I don't fully understand the bootstrapping process - maybe Eric
can say more?  

 

Cheers,

-p

 

 

-----Original Message-----
From: Cezar Andrei 
Sent: Thursday, June 24, 2004 8:40 PM
To: xmlbeans-dev@xml.apache.org
Subject: RE: build problems 

 

Indeed v2 has dependencies on jam, but v1 does not.

V1 doesn't use jam at all, and also, the latest release v1.0.3 was built
with jdk1.4.1. I think v1 should remain jam free and probably oriented
towards jdk1.4.

 

Cezar

	-----Original Message-----
	From: Patrick Calahan 
	Sent: Thursday, June 24, 2004 8:56 PM
	To: xmlbeans-dev@xml.apache.org; Eric Vasilik
	Subject: build problems 

	Hey Eric.  I just synced up and now I'm also seeing all of those
ClassNotFound exceptions on the JAM 15 delegate.  I'm looking at the new
bootstrap jar you checked in and I see now that it actually contains JAM
classes.  However, that version of JAM was built under 1.4 (as you said)
because it is missing the 15 delegate classes, and that is why we're
seeing these messages.

	 

	I *think* the errors are benign, at least for the now, but it
seems like we need to sort out what is the right thing to do here.  What
seems to have happened is that Cezar made some changes to SchemaConfig
back in May which caused it to depend on JAM, so I guess that's why its
going into oldxbean.jar.  So, where it used to be the case that

	 

	- xbeans v1 does not depend on JAM

	- xbeans v2 does depend on JAM

	- JAM does not depend on xbeans v1 or v2

	 

	Now xbeans v1 does have dependencies on JAM.  If that is going
to be the case, then I think oldxbean.jar will need to always be built
under 1.5.  

	 

	An alternative approach would be to just check JAM into xbeans
as a separate lib.  In some ways this makes more sense, since that is
how things will end up anyway if it moves to another project.  I think
that would solve the problem we are seeing now.

	 

	We could also see if we can restrict JAM usage to xbeans v2, but
that may not be reasonable.

	 

	-p

	 

	 

	 

	 

	-----Original Message-----
	From: Eric Vasilik 
	Sent: Wednesday, June 23, 2004 3:47 PM
	To: xmlbeans-dev@xml.apache.org
	Subject: RE: XMLBeans 1.02 zip release

	 

	I imagine that this namespace exists to support the xsi:type
which most likely got inserted because of the call to changeType.

	 

	-----Original Message-----
	From: Jim McLaughlin [mailto:me_at_dogleg@yahoo.com] 
	Sent: Wednesday, June 23, 2004 3:43 PM
	To: xmlbeans-dev@xml.apache.org
	Subject: RE: XMLBeans 1.02 zip release

	 

	Thanks - appreciate the help. 
	I did get it working with the ChangeType, but I do get the added
attribute of: 
	xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance 

	
	I'm sure this can be removed somehow(XmlOptions???). 

	BTW - Is HTML ok for this mail list?
	
	Eric Vasilik <ericvas@bea.com> wrote:

		I take this back . SimpleValue is only good when the
XmlObject already supports a given type.  changeType is probably your
best bet

		 

		-----Original Message-----
		From: Eric Vasilik 
		Sent: Wednesday, June 23, 2004 11:00 AM
		To: 'xmlbeans-dev@xml.apache.org'
		Subject: RE: XMLBeans 1.02 zip release

		 

		I was just investigating this ... I would suggest using
the SimpleType interface which all XmlObjects support.  I believe that
you can use this to coerce any simple value into one of the know simple
schema types.

		 

		-----Original Message-----
		From: Jim McLaughlin [mailto:me_at_dogleg@yahoo.com] 
		Sent: Wednesday, June 23, 2004 10:58 AM
		To: xmlbeans-dev@xml.apache.org
		Subject: Re: XMLBeans 1.02 zip release

		 

		Nevermind!!! - I got it via the ChangeType() 
		
		Jim McLaughlin <me_at_dogleg@yahoo.com> wrote: 

		Does the XMLBeans 1.02 release scomp utility/code
support anyType to provide for generating/reading the example below:

		
		<MyAnyValue
xsi:type="xsd:float">2.34567E+23</MyAnyValue>

		 

		where MyAnyValue is an element of a comlexType
"defaulted" to anyType in an XSD document?

		 

		Is there an example of setting the xsi:type= ... portion
of the string above (aka the xsi:type attribute)

		 

		It looks like it should be available from the Factory
class in the type=X class() via the XmlOptions or from the SchemaType
parameter?

		If not, is it in another release (1.03)/CVS?

		 

		 

		
  _____  


		Do you Yahoo!?
		Yahoo! Mail
<http://us.rd.yahoo.com/mail/taglines/*http:/promotions.yahoo.com/new_ma
il/static/protection.html>  - You care about security. So do we.

		
  _____  


		Do you Yahoo!?
		New and Improved Yahoo! Mail
<http://us.rd.yahoo.com/mail_us/taglines/100/*http:/promotions.yahoo.com
/new_mail/static/efficiency.html>  - 100MB free storage!

	
  _____  


	Do you Yahoo!?
	Yahoo! Mail
<http://us.rd.yahoo.com/mail_us/taglines/security/*http:/promotions.yaho
o.com/new_mail/static/protection.html>  - You care about security. So do
we.


[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 name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
v\:* {
	BEHAVIOR: url(#default#VML)
}
o\:* {
	BEHAVIOR: url(#default#VML)
}
w\:* {
	BEHAVIOR: url(#default#VML)
}
.SHAPE
	{BEHAVIOR: url(#default#VML)
;}
st1\:* {
	BEHAVIOR: url(#default#ieooui)
}

 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
p
	{margin-right:0in;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.emailstyle18
	{font-family:Arial;
	color:navy;}
span.emailstyle19
	{font-family:Arial;
	color:navy;}
span.emailstyle20
	{font-family:Arial;
	color:navy;}
span.emailstyle21
	{font-family:Arial;
	color:navy;}
span.emailstyle22
	{font-family:Arial;
	color:navy;}
span.EmailStyle23
	{font-family:Arial;
	color:navy;}
span.EmailStyle24
	{font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>JAM does not have to be compiled under
1.5, but the result of building under 1.4 does not contain the full feature set,
even if you later run it under 1.5. &nbsp;It is complaining (rather
inarticulately) because we are doing exactly this &#8211; it doesn&#8217;t want
us to be astonished when 1.5 features are unavailable.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>My main concern was that the \
&#8216;crippled&#8217; version of JAM would somehow find it&#8217;s way into \
xbean.jar, but from your explanation (thanks) I don&#8217;t think that is the \
case.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>So, I can suppress (or at least compress) the
message at least for now.&nbsp; I think in the medium-term, though, it might be
better to build JAM as a separate jar and check it into \
external/lib.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Cheers,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>-p</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Eric Vasilik <br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Friday, June  25, \
2004</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt; \
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span  \
style='font-size:10.0pt;font-family:Tahoma'>10:24 AM</span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br> <b><span \
style='font-weight:bold'>To:</span></b> xmlbeans-dev@xml.apache.org<br> <b><span \
style='font-weight:bold'>Subject:</span></b> RE: build problems </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Bootstrapping:</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>XmlBeans uses itself for processing Schema
for Schema.&nbsp; When you build XmlBeans, we compile Schema for Schema using
the version of XmlBeans in oldxbean.jar.&nbsp; These generated classes and meta
information go into the new xbean.jar and is used by XmlBeans code which is
compiled at this build time.&nbsp; </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>It is very important that the generated
classes and meta information that oldxbean.jar produces is compatible with the
code which uses it (the current sources in XmlBeans).</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>We want to keep oldxbean.jar as up to date
as possible.&nbsp; This means that one should be able to compile the current
version of xbean.jar and use it instead of oldxbean.jar.&nbsp; There are
certain kinds of changes to the meta information or generated classes which can
break this. &nbsp;If one makes these kinds of changes, care should be taken to
make sure that a new oldxbean.jar is produced which is compatible.&nbsp; This
is the process of bootstrapping.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>There is a target in the build script
called bootstrap which will attempt to use the current xbean.jar as
oldxbean.jar and compare the results of the generation of \
SchemaForSchema.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>With respect to this issue, it seems that
Jam is squawking about the absence of a 1.5 resource.&nbsp; We want to keep
Xmlbeans building and running on 1.4.&nbsp; It looks like for the purposes of
bootstrapping, we do not use the extension feature of XmlBeans, which is where
Jam is complaining.&nbsp; Does Jam need to be compiled under 1.5?&nbsp; Can we
compile it under 1.4 and just use a limited set of features from it?&nbsp; Can
we remove or dependence on Jam?</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>- Eric</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Patrick Calahan <br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Friday, June  25, \
2004</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt; \
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span  \
style='font-size:10.0pt;font-family:Tahoma'>12:22 AM</span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br> <b><span \
style='font-weight:bold'>To:</span></b> xmlbeans-dev@xml.apache.org<br> <b><span \
style='font-weight:bold'>Subject:</span></b> RE: build problems </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Right, sorry, I&#8217;m not being very
clear. &nbsp;Everything I&#8217;m talking about is in the v2 line &#8211; when
I said v1, I meant &#8220;v1 features in the v2 line.&#8221;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>To rephrase: the v1 source line has no
dependencies on Jam, but files in the v2 line which were branched from v1 (e.g.
SchemaConfig) now do have JAM dependencies.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I&#8217;m not actually sure this is part
of the problem &#8211; it&#8217;s just my best guess.&nbsp; I don&#8217;t fully
understand the bootstrapping process - maybe Eric can say more?&nbsp; \
</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Cheers,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>-p</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Cezar Andrei <br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Thursday, June  24, \
2004</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt; \
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span  \
style='font-size:10.0pt;font-family:Tahoma'>8:40 PM</span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br> <b><span \
style='font-weight:bold'>To:</span></b> xmlbeans-dev@xml.apache.org<br> <b><span \
style='font-weight:bold'>Subject:</span></b> RE: build problems </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Indeed v2 has dependencies on jam, but v1
does not.</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>V1 doesn't&nbsp;use jam at all,
and&nbsp;also, the latest release v1.0.3 was built with jdk1.4.1. I think v1
should remain jam free and probably oriented towards jdk1.4.</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Cezar</span></font></p>

</div>

<blockquote style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in \
4.0pt; margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Patrick Calahan <br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Thursday, June  24, \
2004</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt; \
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span  \
style='font-size:10.0pt;font-family:Tahoma'>8:56 PM</span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br> <b><span \
style='font-weight:bold'>To:</span></b> xmlbeans-dev@xml.apache.org; Eric Vasilik<br>
<b><span style='font-weight:bold'>Subject:</span></b> build problems \
</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hey Eric.&nbsp; I just synced up and now
I&#8217;m also seeing all of those ClassNotFound exceptions on the JAM 15
delegate.&nbsp; I&#8217;m looking at the new bootstrap jar you checked in and I
see now that it actually contains JAM classes.&nbsp; However, that version of
JAM was built under 1.4 (as you said) because it is missing the 15 delegate
classes, and that is why we&#8217;re seeing these messages.</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I *<b><span \
style='font-weight:bold'>think</span></b>* the errors are benign, at least for the \
now, but it seems like we need to sort out what is the right thing to do here.&nbsp; \
What seems to have happened is that Cezar made some changes to SchemaConfig back in \
May which caused it to depend on JAM, so I guess that&#8217;s why its going into \
oldxbean.jar.&nbsp; So, where it used to be the case that</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>- xbeans v1 does not depend on \
JAM</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>- xbeans v2 does depend on JAM</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>- JAM does not depend on xbeans v1 or \
v2</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Now xbeans v1 does have dependencies on \
</span></font><font  size=2 color=navy face=Arial><span \
style='font-size:10.0pt;font-family:Arial;  color:navy'>JAM.</span></font><font \
size=2 color=navy face=Arial><span \
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp; If that is going to be \
the case, then I think oldxbean.jar will need to always be built under 1.5.&nbsp; \
</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>An alternative approach would be to just
check JAM into xbeans as a separate lib.&nbsp; In some ways this makes more
sense, since that is how things will end up anyway if it moves to another
project.&nbsp; I think that would solve the problem we are seeing \
now.</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>We could also see if we can restrict JAM
usage to xbeans v2, but that may not be reasonable.</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>-p</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Eric Vasilik <br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Wednesday, June  23, \
2004</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt; \
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span  \
style='font-size:10.0pt;font-family:Tahoma'>3:47 PM</span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br> <b><span \
style='font-weight:bold'>To:</span></b> xmlbeans-dev@xml.apache.org<br> <b><span \
style='font-weight:bold'>Subject:</span></b> RE: XMLBeans 1.02 zip \
release</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I imagine that this namespace exists to support
the xsi:type which most likely got inserted because of the call to \
changeType.</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Jim McLaughlin
[mailto:me_at_dogleg@yahoo.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Wednesday, June  23, \
2004</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt; \
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span  \
style='font-size:10.0pt;font-family:Tahoma'>3:43 PM</span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br> <b><span \
style='font-weight:bold'>To:</span></b> xmlbeans-dev@xml.apache.org<br> <b><span \
style='font-weight:bold'>Subject:</span></b> RE: XMLBeans 1.02 zip \
release</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Thanks - appreciate the help. <br>
I did get it working with the ChangeType, but I do get the added attribute of: <br>
xmlns:xsi=<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>
 </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
I'm sure this can be removed somehow(XmlOptions???). </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>BTW - Is HTML ok for this mail list?<br>
<br>
<b><i><span style='font-weight:bold;font-style:italic'>Eric Vasilik
&lt;ericvas@bea.com&gt;</span></i></b> wrote:</span></font></p>

</div>

<blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in \
4.0pt; margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I take this back . SimpleValue is only
good when the XmlObject already supports a given type.&nbsp; changeType is
probably your best bet</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Eric Vasilik <br>
<b><span style='font-weight:bold'>Sent:</span></b> <ST1:DATE Month="6" Day="23" \
Year="2004"></span></font><font size=2 face=Tahoma><span \
style='font-size:10.0pt;font-family:Tahoma'>Wednesday, June  23, \
2004</ST1:DATE></span></font><font size=2 face=Tahoma><span \
style='font-size:10.0pt;font-family:Tahoma'> <ST1:TIME Hour="11" \
Minute="0"></span></font><font size=2 face=Tahoma><span \
style='font-size:10.0pt;font-family:Tahoma'>11:00 AM</span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br> <b><span \
style='font-weight:bold'></ST1:TIME>To:</span></b> 'xmlbeans-dev@xml.apache.org'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: XMLBeans 1.02 zip
release</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I was just investigating this &#8230; I
would suggest using the SimpleType interface which all XmlObjects
support.&nbsp; I believe that you can use this to coerce any simple value into
one of the know simple schema types.</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Jim McLaughlin
[mailto:me_at_dogleg@yahoo.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> <ST1:DATE Month="6" Day="23" \
Year="2004"></span></font><font size=2 face=Tahoma><span \
style='font-size:10.0pt;font-family:Tahoma'>Wednesday, June  23, \
2004</ST1:DATE></span></font><font size=2 face=Tahoma><span \
style='font-size:10.0pt;font-family:Tahoma'> <ST1:TIME Hour="10" \
Minute="58"></span></font><font size=2 face=Tahoma><span \
style='font-size:10.0pt;font-family:Tahoma'>10:58 AM</span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br> <b><span \
style='font-weight:bold'></ST1:TIME>To:</span></b> xmlbeans-dev@xml.apache.org<br> \
<b><span style='font-weight:bold'>Subject:</span></b> Re: XMLBeans 1.02 zip \
release</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Nevermind!!! - I got it via the ChangeType() <br>
<br>
<b><i><span style='font-weight:bold;font-style:italic'>Jim McLaughlin
&lt;me_at_dogleg@yahoo.com&gt;</span></i></b> wrote: </span></font></p>

<div>

<div>

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Does the XMLBeans 1.02 release scomp utility/code&nbsp;support anyType to
provide for generating/reading the example below:</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
&lt;MyAnyValue xsi:type=&quot;xsd:float&quot;&gt;2.34567E+23&lt;/MyAnyValue&gt;</span></font></p>


</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>where MyAnyValue is an element of a
comlexType&nbsp;&quot;defaulted&quot; to&nbsp;anyType in an XSD \
document?</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Is there an example of setting the xsi:type= ... portion of the string
above (aka the xsi:type attribute)</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>It looks like it should be available from the Factory class in the
type=X class() via the XmlOptions or from the SchemaType parameter?</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>If not, is it in another release (1.03)/CVS?</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</div>

</div>

</div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=1 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Do you Yahoo!?<br>
<a
href="http://us.rd.yahoo.com/mail/taglines/*http:/promotions.yahoo.com/new_mail/static/protection.html">Yahoo!
 Mail</a> - You care about security. So do we.</span></font></p>

</div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=1 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Do you Yahoo!?<br>
<a
href="http://us.rd.yahoo.com/mail_us/taglines/100/*http:/promotions.yahoo.com/new_mail/static/efficiency.html">New
 and Improved Yahoo! Mail</a> - 100MB free storage!</span></font></p>

</div>

</div>

</blockquote>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=1 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Do you Yahoo!?<br>
<a
href="http://us.rd.yahoo.com/mail_us/taglines/security/*http:/promotions.yahoo.com/new_mail/static/protection.html">Yahoo!
 Mail</a> - You care about security. So do we.</span></font></p>

</div>

</div>

</blockquote>

</div>

</div>

</div>

</div>

</body>

</html>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic