Home » Archived » XML Schema Definition (XSD) » Castor vs. XSD? 
| Castor vs. XSD? [message #66019] | 
Sat, 11 February 2006 10:51   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: vgv8.yahoo.com.br 
 
Hi, all, 
Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD  
framework? or any other Eclipse frameworks covering all Apache Castor  
functionalities 
 
Or reformulating, I have the task to reimplement existing application  
(workflow designer) in Swing using GEF with EMF. The problem is that I do  
not see how I can match already created with Castor files in XML (that is,  
workflow definitions in XML, associated with wf nodes data in XML, palettes  
definitions, templates, etc. uploaded/downloaded to/from server-side BPM  
engine) using EMF/GEF 
 
Guennadi Vanine
 |  
 |  
  |  
| errata [message #66041 is a reply to message #66019] | 
Sat, 11 February 2006 17:27    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: vgv8.yahoo.com.br 
 
Sorry, Castor is from 
http://www.castor.org 
not from Apache 
 
Guennadi Vanine 
"Guennadi Vanine" <vgv8@yahoo.com.br> wrote in message  
news:dsl15t$cm$1@utils.eclipse.org... 
> Hi, all, 
> Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD  
> framework? or any other Eclipse frameworks covering all Apache Castor  
> functionalities 
> 
> Or reformulating, I have the task to reimplement existing application  
> (workflow designer) in Swing using GEF with EMF. The problem is that I do  
> not see how I can match already created with Castor files in XML (that is,  
> workflow definitions in XML, associated with wf nodes data in XML,  
> palettes definitions, templates, etc. uploaded/downloaded to/from  
> server-side BPM engine) using EMF/GEF 
> 
> Guennadi Vanine 
>
 |  
 |  
  |  
| Re: Castor vs. XSD? [message #66062 is a reply to message #66019] | 
Mon, 13 February 2006 07:00    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: merks.ca.ibm.com 
 
This is a multi-part message in MIME format. 
--------------000809020300000600090006 
Content-Type: text/plain; charset=ISO-8859-1; format=flowed 
Content-Transfer-Encoding: 7bit 
 
Guennadi, 
 
I don't think they are really comparable.  XSD's purpose is to model XML  
Schema, i.e., to represent XML Schema instances, whereas Castor is yet  
another XML binding approach, which is more comparable to EMF's  XML  
Schema -> Ecore -> Java binding.  If you have a schema representing the  
XML syntax, you might want to following this tutorial and compare the  
results to Castor's result: 
 
     http://eclipse.org/emf/docs.php?doc=tutorials/xlibmod/xlibmo d.html 
 
 
Guennadi Vanine wrote: 
 
>Hi, all, 
>Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD  
>framework? or any other Eclipse frameworks covering all Apache Castor  
>functionalities 
> 
>Or reformulating, I have the task to reimplement existing application  
>(workflow designer) in Swing using GEF with EMF. The problem is that I do  
>not see how I can match already created with Castor files in XML (that is,  
>workflow definitions in XML, associated with wf nodes data in XML, palettes  
>definitions, templates, etc. uploaded/downloaded to/from server-side BPM  
>engine) using EMF/GEF 
> 
>Guennadi Vanine  
> 
> 
>   
> 
 
 
--------------000809020300000600090006 
Content-Type: text/html; charset=ISO-8859-1 
Content-Transfer-Encoding: 7bit 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html> 
<head> 
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> 
  <title></title> 
</head> 
<body bgcolor="#ffffff" text="#000000"> 
Guennadi,<br> 
<br> 
I don't think they are really comparable.  XSD's purpose is to model 
XML Schema, i.e., to represent XML Schema instances, whereas Castor is 
yet another XML binding approach, which is more comparable to EMF's  
XML Schema -> Ecore -> Java binding.  If you have a schema 
representing the XML syntax, you might want to following this tutorial 
and compare the results to Castor's result:<br> 
<blockquote><a class="moz-txt-link-freetext" href=" http://eclipse.org/emf/docs.php?doc=tutorials/xlibmod/xlibmo d.html"> http://eclipse.org/emf/docs.php?doc=tutorials/xlibmod/xlibmo d.html</a><br> 
</blockquote> 
<br> 
Guennadi Vanine wrote: 
<blockquote cite="middsl15t$cm$1@utils.eclipse.org" type="cite"> 
  <pre wrap="">Hi, all, 
Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD  
framework? or any other Eclipse frameworks covering all Apache Castor  
functionalities 
 
Or reformulating, I have the task to reimplement existing application  
(workflow designer) in Swing using GEF with EMF. The problem is that I do  
not see how I can match already created with Castor files in XML (that is,  
workflow definitions in XML, associated with wf nodes data in XML, palettes  
definitions, templates, etc. uploaded/downloaded to/from server-side BPM  
engine) using EMF/GEF 
 
Guennadi Vanine  
 
 
  </pre> 
</blockquote> 
<br> 
</body> 
</html> 
 
--------------000809020300000600090006--
 |  
 |  
  |  
| Re: Castor vs. XSD? [message #66082 is a reply to message #66062] | 
Mon, 13 February 2006 15:45    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: vgv8.yahoo.com.br 
 
This is a multi-part message in MIME format. 
 
------=_NextPart_000_000A_01C630DE.71A6FD40 
Content-Type: text/plain; 
	charset="iso-8859-1" 
Content-Transfer-Encoding: quoted-printable 
 
Thanks, Ed, 
really my question was what Eclipse frameworks would match/cover Castor. 
 
This all very great, for developing other frameworks, and it is  = 
extremely developer-friendly (and even more), 
but I need to provide the user of a final product (workflow designer) = 
the ability  to import/export custom XML formats (of created with = 
existing workflow designer, wf definitions, associated data,  palettes = 
and elements of palettes). That is what already exist in app made in = 
Swing with Castor that I should "extend" in GEG with EMF and I even do = 
not see how I would simply match it in EMF/GEF. 
 
Guennadi Vanine=20 
  "Ed Merks" <merks@ca.ibm.com> wrote in message = 
news:dspsbi$7mm$1@utils.eclipse.org... 
  Guennadi, 
 
  I don't think they are really comparable.  XSD's purpose is to model = 
XML Schema, i.e., to represent XML Schema instances, whereas Castor is = 
yet another XML binding approach, which is more comparable to EMF's  XML = 
Schema -> Ecore -> Java binding.  If you have a schema representing the = 
XML syntax, you might want to following this tutorial and compare the = 
results to Castor's result: 
 
     http://eclipse.org/emf/docs.php?doc=3Dtutorials/xlibmod/xlib mod.html 
 
 
  Guennadi Vanine wrote:=20 
Hi, all, 
Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD=20 
framework? or any other Eclipse frameworks covering all Apache Castor=20 
functionalities 
 
Or reformulating, I have the task to reimplement existing application=20 
(workflow designer) in Swing using GEF with EMF. The problem is that I = 
do=20 
not see how I can match already created with Castor files in XML (that = 
is,=20 
workflow definitions in XML, associated with wf nodes data in XML, = 
palettes=20 
definitions, templates, etc. uploaded/downloaded to/from server-side BPM = 
 
engine) using EMF/GEF 
 
Guennadi Vanine=20 
 
 
 =20 
 
------=_NextPart_000_000A_01C630DE.71A6FD40 
Content-Type: text/html; 
	charset="iso-8859-1" 
Content-Transfer-Encoding: quoted-printable 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
<HTML><HEAD><TITLE></TITLE> 
<META http-equiv=3DContent-Type = 
content=3Dtext/html;charset=3DISO-8859-1> 
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR> 
<STYLE></STYLE> 
</HEAD> 
<BODY text=3D#000000 bgColor=3D#ffffff> 
<DIV><FONT face=3DArial size=3D2>Thanks, Ed,</FONT></DIV> 
<DIV><FONT face=3DArial size=3D2>really my question was what Eclipse = 
frameworks=20 
would match/cover Castor.</FONT></DIV> 
<DIV><FONT face=3DArial size=3D2></FONT> </DIV> 
<DIV><FONT face=3DArial size=3D2>This all very great, for developing = 
other=20 
frameworks, and it is  extremely developer-friendly (and even=20 
more),</FONT></DIV> 
<DIV><FONT face=3DArial size=3D2>but I need to provide the user of a = 
final product=20 
(workflow designer) the ability  to import/export = 
custom XML=20 
formats (of created with existing workflow designer, wf definitions, = 
associated=20 
data,  palettes and elements of palettes). That is what = 
already exist=20 
in app made in Swing with Castor that I should "extend" in GEG with = 
EMF and=20 
I even do not see how I would simply match it in EMF/GEF.</FONT></DIV> 
<DIV><FONT face=3DArial size=3D2></FONT> </DIV> 
<DIV><FONT face=3DArial size=3D2>Guennadi Vanine</FONT> </DIV> 
<BLOCKQUOTE=20 
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = 
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> 
  <DIV>"Ed Merks" <<A = 
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>>=20 
  wrote in message <A=20 
  = 
href=3D"news:dspsbi$7mm$1@utils.eclipse.org">news:dspsbi$7mm$1@utils.ecli= 
pse.org</A>...</DIV>Guennadi,<BR><BR>I=20 
  don't think they are really comparable.  XSD's purpose is to = 
model XML=20 
  Schema, i.e., to represent XML Schema instances, whereas Castor is yet = 
another=20 
  XML binding approach, which is more comparable to EMF's  XML = 
Schema ->=20 
  Ecore -> Java binding.  If you have a schema representing the = 
XML=20 
  syntax, you might want to following this tutorial and compare the = 
results to=20 
  Castor's result:<BR> 
  <BLOCKQUOTE><A class=3Dmoz-txt-link-freetext=20 
    = 
href=3D" http://eclipse.org/emf/docs.php?doc=3Dtutorials/xlibmod/xlib mod.h= 
tml"> http://eclipse.org/emf/docs.php?doc=3Dtutorials/xlibmod/xlib mod.html= 
</A><BR></BLOCKQUOTE><BR>Guennadi=20 
  Vanine wrote:=20 
  <BLOCKQUOTE cite=3Dmiddsl15t$cm$1@utils.eclipse.org type=3D"cite"><PRE = 
wrap=3D"">Hi, all, 
Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD=20 
framework? or any other Eclipse frameworks covering all Apache Castor=20 
functionalities 
 
Or reformulating, I have the task to reimplement existing application=20 
(workflow designer) in Swing using GEF with EMF. The problem is that I = 
do=20 
not see how I can match already created with Castor files in XML (that = 
is,=20 
workflow definitions in XML, associated with wf nodes data in XML, = 
palettes=20 
definitions, templates, etc. uploaded/downloaded to/from server-side BPM = 
 
engine) using EMF/GEF 
 
Guennadi Vanine=20 
 
 
  </PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML> 
 
------=_NextPart_000_000A_01C630DE.71A6FD40--
 |  
 |  
  |  
| Re: Castor vs. XSD? [message #66103 is a reply to message #66082] | 
Mon, 13 February 2006 15:55   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: merks.ca.ibm.com 
 
This is a multi-part message in MIME format. 
--------------050402070608040506020502 
Content-Type: text/plain; charset=ISO-8859-1; format=flowed 
Content-Transfer-Encoding: 7bit 
 
Guennadi, 
 
Sorry, I have no expertise in Castor on which to draw comparisons, so I  
don't know which particular features you are hoping to see.  Certainly  
everything you see demonstrated in the tutorial can be done  
programmatically at runtime, i.e., given a schema, you'll be able to  
read and write XML instances that conform it, even without generating  
any code but using dynamic Ecore instead... 
 
 
Guennadi Vanine wrote: 
> Thanks, Ed, 
> really my question was what Eclipse frameworks would match/cover Castor. 
>   
> This all very great, for developing other frameworks, and it is  
>  extremely developer-friendly (and even more), 
> but I need to provide the user of a final product (workflow designer)  
> the ability  to import/export custom XML formats (of created with  
> existing workflow designer, wf definitions, associated data,  palettes  
> and elements of palettes). That is what already exist in app made in  
> Swing with Castor that I should "extend" in GEG with EMF and I even do  
> not see how I would simply match it in EMF/GEF. 
>   
> Guennadi Vanine  
> 
>     "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote in 
>     message news:dspsbi$7mm$1@utils.eclipse.org... 
>     Guennadi, 
> 
>     I don't think they are really comparable.  XSD's purpose is to 
>     model XML Schema, i.e., to represent XML Schema instances, whereas 
>     Castor is yet another XML binding approach, which is more 
>     comparable to EMF's  XML Schema -> Ecore -> Java binding.  If you 
>     have a schema representing the XML syntax, you might want to 
>     following this tutorial and compare the results to Castor's result: 
> 
>          http://eclipse.org/emf/docs.php?doc=tutorials/xlibmod/xlibmo d.html 
> 
> 
>     Guennadi Vanine wrote: 
>>     Hi, all, 
>>     Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD  
>>     framework? or any other Eclipse frameworks covering all Apache Castor  
>>     functionalities 
>> 
>>     Or reformulating, I have the task to reimplement existing application  
>>     (workflow designer) in Swing using GEF with EMF. The problem is that I do  
>>     not see how I can match already created with Castor files in XML (that is,  
>>     workflow definitions in XML, associated with wf nodes data in XML, palettes  
>>     definitions, templates, etc. uploaded/downloaded to/from server-side BPM  
>>     engine) using EMF/GEF 
>> 
>>     Guennadi Vanine  
>> 
>> 
>>        
> 
 
 
--------------050402070608040506020502 
Content-Type: text/html; charset=ISO-8859-1 
Content-Transfer-Encoding: 7bit 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html> 
<head> 
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> 
  <title></title> 
</head> 
<body bgcolor="#ffffff" text="#000000"> 
Guennadi,<br> 
<br> 
Sorry, I have no expertise in Castor on which to draw comparisons, so I 
don't know which particular features you are hoping to see.  Certainly 
everything you see demonstrated in the tutorial can be done 
programmatically at runtime, i.e., given a schema, you'll be able to 
read and write XML instances that conform it, even without generating 
any code but using dynamic Ecore instead...<br> 
<br> 
<br> 
Guennadi Vanine wrote: 
<blockquote cite="middsqr5i$47a$1@utils.eclipse.org" type="cite"> 
  <title></title> 
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> 
  <meta content="MSHTML 6.00.2900.2802" name="GENERATOR"> 
  <style></style> 
  <div><font face="Arial" size="2">Thanks, Ed,</font></div> 
  <div><font face="Arial" size="2">really my question was what Eclipse 
frameworks would match/cover Castor.</font></div> 
  <div> </div> 
  <div><font face="Arial" size="2">This all very great, for developing 
other frameworks, and it is  extremely developer-friendly (and even 
more),</font></div> 
  <div><font face="Arial" size="2">but I need to provide the user of a 
final product (workflow designer) the ability  to import/export 
custom XML formats (of created with existing workflow designer, wf 
definitions, associated data,  palettes and elements of palettes). That 
is what already exist in app made in Swing with Castor that I should 
"extend" in GEG with EMF and I even do not see how I would simply match 
it in EMF/GEF.</font></div> 
  <div> </div> 
  <div><font face="Arial" size="2">Guennadi Vanine</font> </div> 
  <blockquote 
 style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"> 
    <div>"Ed Merks" <<a href="mailto:merks@ca.ibm.com">merks@ca.ibm.com</a>> 
wrote in message <a href="news:dspsbi$7mm$1@utils.eclipse.org">news:dspsbi$7mm$1@utils.eclipse.org</a>...</div> 
Guennadi,<br> 
    <br> 
I don't think they are really comparable.  XSD's purpose is to model 
XML Schema, i.e., to represent XML Schema instances, whereas Castor is 
yet another XML binding approach, which is more comparable to EMF's  
XML Schema -> Ecore -> Java binding.  If you have a schema 
representing the XML syntax, you might want to following this tutorial 
and compare the results to Castor's result:<br> 
    <blockquote><a class="moz-txt-link-freetext" 
 href=" http://eclipse.org/emf/docs.php?doc=tutorials/xlibmod/xlibmo d.html"> http://eclipse.org/emf/docs.php?doc=tutorials/xlibmod/xlibmo d.html</a><br> 
    </blockquote> 
    <br> 
Guennadi Vanine wrote: 
    <blockquote cite="middsl15t$cm$1@utils.eclipse.org" type="cite"> 
      <pre wrap="">Hi, all, 
Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD  
framework? or any other Eclipse frameworks covering all Apache Castor  
functionalities 
 
Or reformulating, I have the task to reimplement existing application  
(workflow designer) in Swing using GEF with EMF. The problem is that I do  
not see how I can match already created with Castor files in XML (that is,  
workflow definitions in XML, associated with wf nodes data in XML, palettes  
definitions, templates, etc. uploaded/downloaded to/from server-side BPM  
engine) using EMF/GEF 
 
Guennadi Vanine  
 
 
  </pre> 
    </blockquote> 
    <br> 
  </blockquote> 
</blockquote> 
<br> 
</body> 
</html> 
 
--------------050402070608040506020502--
 |  
 |  
  |  
| errata [message #597566 is a reply to message #66019] | 
Sat, 11 February 2006 17:27   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: vgv8.yahoo.com.br 
 
Sorry, Castor is from 
http://www.castor.org 
not from Apache 
 
Guennadi Vanine 
"Guennadi Vanine" <vgv8@yahoo.com.br> wrote in message  
news:dsl15t$cm$1@utils.eclipse.org... 
> Hi, all, 
> Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD  
> framework? or any other Eclipse frameworks covering all Apache Castor  
> functionalities 
> 
> Or reformulating, I have the task to reimplement existing application  
> (workflow designer) in Swing using GEF with EMF. The problem is that I do  
> not see how I can match already created with Castor files in XML (that is,  
> workflow definitions in XML, associated with wf nodes data in XML,  
> palettes definitions, templates, etc. uploaded/downloaded to/from  
> server-side BPM engine) using EMF/GEF 
> 
> Guennadi Vanine 
>
 |  
 |  
  |  
| Re: Castor vs. XSD? [message #597578 is a reply to message #66019] | 
Mon, 13 February 2006 07:00   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
This is a multi-part message in MIME format. 
--------------000809020300000600090006 
Content-Type: text/plain; charset=ISO-8859-1; format=flowed 
Content-Transfer-Encoding: 7bit 
 
Guennadi, 
 
I don't think they are really comparable.  XSD's purpose is to model XML  
Schema, i.e., to represent XML Schema instances, whereas Castor is yet  
another XML binding approach, which is more comparable to EMF's  XML  
Schema -> Ecore -> Java binding.  If you have a schema representing the  
XML syntax, you might want to following this tutorial and compare the  
results to Castor's result: 
 
     http://eclipse.org/emf/docs.php?doc=tutorials/xlibmod/xlibmo d.html 
 
 
Guennadi Vanine wrote: 
 
>Hi, all, 
>Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD  
>framework? or any other Eclipse frameworks covering all Apache Castor  
>functionalities 
> 
>Or reformulating, I have the task to reimplement existing application  
>(workflow designer) in Swing using GEF with EMF. The problem is that I do  
>not see how I can match already created with Castor files in XML (that is,  
>workflow definitions in XML, associated with wf nodes data in XML, palettes  
>definitions, templates, etc. uploaded/downloaded to/from server-side BPM  
>engine) using EMF/GEF 
> 
>Guennadi Vanine  
> 
> 
>   
> 
 
 
--------------000809020300000600090006 
Content-Type: text/html; charset=ISO-8859-1 
Content-Transfer-Encoding: 7bit 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html> 
<head> 
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> 
  <title></title> 
</head> 
<body bgcolor="#ffffff" text="#000000"> 
Guennadi,<br> 
<br> 
I don't think they are really comparable.  XSD's purpose is to model 
XML Schema, i.e., to represent XML Schema instances, whereas Castor is 
yet another XML binding approach, which is more comparable to EMF's  
XML Schema -> Ecore -> Java binding.  If you have a schema 
representing the XML syntax, you might want to following this tutorial 
and compare the results to Castor's result:<br> 
<blockquote><a class="moz-txt-link-freetext" href=" http://eclipse.org/emf/docs.php?doc=tutorials/xlibmod/xlibmo d.html"> http://eclipse.org/emf/docs.php?doc=tutorials/xlibmod/xlibmo d.html</a><br> 
</blockquote> 
<br> 
Guennadi Vanine wrote: 
<blockquote cite="middsl15t$cm$1@utils.eclipse.org" type="cite"> 
  <pre wrap="">Hi, all, 
Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD  
framework? or any other Eclipse frameworks covering all Apache Castor  
functionalities 
 
Or reformulating, I have the task to reimplement existing application  
(workflow designer) in Swing using GEF with EMF. The problem is that I do  
not see how I can match already created with Castor files in XML (that is,  
workflow definitions in XML, associated with wf nodes data in XML, palettes  
definitions, templates, etc. uploaded/downloaded to/from server-side BPM  
engine) using EMF/GEF 
 
Guennadi Vanine  
 
 
  </pre> 
</blockquote> 
<br> 
</body> 
</html> 
 
--------------000809020300000600090006--
 |  
 |  
  |  
| Re: Castor vs. XSD? [message #597587 is a reply to message #66062] | 
Mon, 13 February 2006 15:45   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: vgv8.yahoo.com.br 
 
This is a multi-part message in MIME format. 
 
------=_NextPart_000_000A_01C630DE.71A6FD40 
Content-Type: text/plain; 
	charset="iso-8859-1" 
Content-Transfer-Encoding: quoted-printable 
 
Thanks, Ed, 
really my question was what Eclipse frameworks would match/cover Castor. 
 
This all very great, for developing other frameworks, and it is  = 
extremely developer-friendly (and even more), 
but I need to provide the user of a final product (workflow designer) = 
the ability  to import/export custom XML formats (of created with = 
existing workflow designer, wf definitions, associated data,  palettes = 
and elements of palettes). That is what already exist in app made in = 
Swing with Castor that I should "extend" in GEG with EMF and I even do = 
not see how I would simply match it in EMF/GEF. 
 
Guennadi Vanine=20 
  "Ed Merks" <merks@ca.ibm.com> wrote in message = 
news:dspsbi$7mm$1@utils.eclipse.org... 
  Guennadi, 
 
  I don't think they are really comparable.  XSD's purpose is to model = 
XML Schema, i.e., to represent XML Schema instances, whereas Castor is = 
yet another XML binding approach, which is more comparable to EMF's  XML = 
Schema -> Ecore -> Java binding.  If you have a schema representing the = 
XML syntax, you might want to following this tutorial and compare the = 
results to Castor's result: 
 
     http://eclipse.org/emf/docs.php?doc=3Dtutorials/xlibmod/xlib mod.html 
 
 
  Guennadi Vanine wrote:=20 
Hi, all, 
Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD=20 
framework? or any other Eclipse frameworks covering all Apache Castor=20 
functionalities 
 
Or reformulating, I have the task to reimplement existing application=20 
(workflow designer) in Swing using GEF with EMF. The problem is that I = 
do=20 
not see how I can match already created with Castor files in XML (that = 
is,=20 
workflow definitions in XML, associated with wf nodes data in XML, = 
palettes=20 
definitions, templates, etc. uploaded/downloaded to/from server-side BPM = 
 
engine) using EMF/GEF 
 
Guennadi Vanine=20 
 
 
 =20 
 
------=_NextPart_000_000A_01C630DE.71A6FD40 
Content-Type: text/html; 
	charset="iso-8859-1" 
Content-Transfer-Encoding: quoted-printable 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
<HTML><HEAD><TITLE></TITLE> 
<META http-equiv=3DContent-Type = 
content=3Dtext/html;charset=3DISO-8859-1> 
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR> 
<STYLE></STYLE> 
</HEAD> 
<BODY text=3D#000000 bgColor=3D#ffffff> 
<DIV><FONT face=3DArial size=3D2>Thanks, Ed,</FONT></DIV> 
<DIV><FONT face=3DArial size=3D2>really my question was what Eclipse = 
frameworks=20 
would match/cover Castor.</FONT></DIV> 
<DIV><FONT face=3DArial size=3D2></FONT> </DIV> 
<DIV><FONT face=3DArial size=3D2>This all very great, for developing = 
other=20 
frameworks, and it is  extremely developer-friendly (and even=20 
more),</FONT></DIV> 
<DIV><FONT face=3DArial size=3D2>but I need to provide the user of a = 
final product=20 
(workflow designer) the ability  to import/export = 
custom XML=20 
formats (of created with existing workflow designer, wf definitions, = 
associated=20 
data,  palettes and elements of palettes). That is what = 
already exist=20 
in app made in Swing with Castor that I should "extend" in GEG with = 
EMF and=20 
I even do not see how I would simply match it in EMF/GEF.</FONT></DIV> 
<DIV><FONT face=3DArial size=3D2></FONT> </DIV> 
<DIV><FONT face=3DArial size=3D2>Guennadi Vanine</FONT> </DIV> 
<BLOCKQUOTE=20 
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = 
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> 
  <DIV>"Ed Merks" <<A = 
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>>=20 
  wrote in message <A=20 
  = 
href=3D"news:dspsbi$7mm$1@utils.eclipse.org">news:dspsbi$7mm$1@utils.ecli= 
pse.org</A>...</DIV>Guennadi,<BR><BR>I=20 
  don't think they are really comparable.  XSD's purpose is to = 
model XML=20 
  Schema, i.e., to represent XML Schema instances, whereas Castor is yet = 
another=20 
  XML binding approach, which is more comparable to EMF's  XML = 
Schema ->=20 
  Ecore -> Java binding.  If you have a schema representing the = 
XML=20 
  syntax, you might want to following this tutorial and compare the = 
results to=20 
  Castor's result:<BR> 
  <BLOCKQUOTE><A class=3Dmoz-txt-link-freetext=20 
    = 
href=3D" http://eclipse.org/emf/docs.php?doc=3Dtutorials/xlibmod/xlib mod.h= 
tml"> http://eclipse.org/emf/docs.php?doc=3Dtutorials/xlibmod/xlib mod.html= 
</A><BR></BLOCKQUOTE><BR>Guennadi=20 
  Vanine wrote:=20 
  <BLOCKQUOTE cite=3Dmiddsl15t$cm$1@utils.eclipse.org type=3D"cite"><PRE = 
wrap=3D"">Hi, all, 
Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD=20 
framework? or any other Eclipse frameworks covering all Apache Castor=20 
functionalities 
 
Or reformulating, I have the task to reimplement existing application=20 
(workflow designer) in Swing using GEF with EMF. The problem is that I = 
do=20 
not see how I can match already created with Castor files in XML (that = 
is,=20 
workflow definitions in XML, associated with wf nodes data in XML, = 
palettes=20 
definitions, templates, etc. uploaded/downloaded to/from server-side BPM = 
 
engine) using EMF/GEF 
 
Guennadi Vanine=20 
 
 
  </PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML> 
 
------=_NextPart_000_000A_01C630DE.71A6FD40--
 |  
 |  
  |  
| Re: Castor vs. XSD? [message #597596 is a reply to message #66082] | 
Mon, 13 February 2006 15:55   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
This is a multi-part message in MIME format. 
--------------050402070608040506020502 
Content-Type: text/plain; charset=ISO-8859-1; format=flowed 
Content-Transfer-Encoding: 7bit 
 
Guennadi, 
 
Sorry, I have no expertise in Castor on which to draw comparisons, so I  
don't know which particular features you are hoping to see.  Certainly  
everything you see demonstrated in the tutorial can be done  
programmatically at runtime, i.e., given a schema, you'll be able to  
read and write XML instances that conform it, even without generating  
any code but using dynamic Ecore instead... 
 
 
Guennadi Vanine wrote: 
> Thanks, Ed, 
> really my question was what Eclipse frameworks would match/cover Castor. 
>   
> This all very great, for developing other frameworks, and it is  
>  extremely developer-friendly (and even more), 
> but I need to provide the user of a final product (workflow designer)  
> the ability  to import/export custom XML formats (of created with  
> existing workflow designer, wf definitions, associated data,  palettes  
> and elements of palettes). That is what already exist in app made in  
> Swing with Castor that I should "extend" in GEG with EMF and I even do  
> not see how I would simply match it in EMF/GEF. 
>   
> Guennadi Vanine  
> 
>     "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote in 
>     message news:dspsbi$7mm$1@utils.eclipse.org... 
>     Guennadi, 
> 
>     I don't think they are really comparable.  XSD's purpose is to 
>     model XML Schema, i.e., to represent XML Schema instances, whereas 
>     Castor is yet another XML binding approach, which is more 
>     comparable to EMF's  XML Schema -> Ecore -> Java binding.  If you 
>     have a schema representing the XML syntax, you might want to 
>     following this tutorial and compare the results to Castor's result: 
> 
>          http://eclipse.org/emf/docs.php?doc=tutorials/xlibmod/xlibmo d.html 
> 
> 
>     Guennadi Vanine wrote: 
>>     Hi, all, 
>>     Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD  
>>     framework? or any other Eclipse frameworks covering all Apache Castor  
>>     functionalities 
>> 
>>     Or reformulating, I have the task to reimplement existing application  
>>     (workflow designer) in Swing using GEF with EMF. The problem is that I do  
>>     not see how I can match already created with Castor files in XML (that is,  
>>     workflow definitions in XML, associated with wf nodes data in XML, palettes  
>>     definitions, templates, etc. uploaded/downloaded to/from server-side BPM  
>>     engine) using EMF/GEF 
>> 
>>     Guennadi Vanine  
>> 
>> 
>>        
> 
 
 
--------------050402070608040506020502 
Content-Type: text/html; charset=ISO-8859-1 
Content-Transfer-Encoding: 7bit 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html> 
<head> 
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> 
  <title></title> 
</head> 
<body bgcolor="#ffffff" text="#000000"> 
Guennadi,<br> 
<br> 
Sorry, I have no expertise in Castor on which to draw comparisons, so I 
don't know which particular features you are hoping to see.  Certainly 
everything you see demonstrated in the tutorial can be done 
programmatically at runtime, i.e., given a schema, you'll be able to 
read and write XML instances that conform it, even without generating 
any code but using dynamic Ecore instead...<br> 
<br> 
<br> 
Guennadi Vanine wrote: 
<blockquote cite="middsqr5i$47a$1@utils.eclipse.org" type="cite"> 
  <title></title> 
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> 
  <meta content="MSHTML 6.00.2900.2802" name="GENERATOR"> 
  <style></style> 
  <div><font face="Arial" size="2">Thanks, Ed,</font></div> 
  <div><font face="Arial" size="2">really my question was what Eclipse 
frameworks would match/cover Castor.</font></div> 
  <div> </div> 
  <div><font face="Arial" size="2">This all very great, for developing 
other frameworks, and it is  extremely developer-friendly (and even 
more),</font></div> 
  <div><font face="Arial" size="2">but I need to provide the user of a 
final product (workflow designer) the ability  to import/export 
custom XML formats (of created with existing workflow designer, wf 
definitions, associated data,  palettes and elements of palettes). That 
is what already exist in app made in Swing with Castor that I should 
"extend" in GEG with EMF and I even do not see how I would simply match 
it in EMF/GEF.</font></div> 
  <div> </div> 
  <div><font face="Arial" size="2">Guennadi Vanine</font> </div> 
  <blockquote 
 style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"> 
    <div>"Ed Merks" <<a href="mailto:merks@ca.ibm.com">merks@ca.ibm.com</a>> 
wrote in message <a href="news:dspsbi$7mm$1@utils.eclipse.org">news:dspsbi$7mm$1@utils.eclipse.org</a>...</div> 
Guennadi,<br> 
    <br> 
I don't think they are really comparable.  XSD's purpose is to model 
XML Schema, i.e., to represent XML Schema instances, whereas Castor is 
yet another XML binding approach, which is more comparable to EMF's  
XML Schema -> Ecore -> Java binding.  If you have a schema 
representing the XML syntax, you might want to following this tutorial 
and compare the results to Castor's result:<br> 
    <blockquote><a class="moz-txt-link-freetext" 
 href=" http://eclipse.org/emf/docs.php?doc=tutorials/xlibmod/xlibmo d.html"> http://eclipse.org/emf/docs.php?doc=tutorials/xlibmod/xlibmo d.html</a><br> 
    </blockquote> 
    <br> 
Guennadi Vanine wrote: 
    <blockquote cite="middsl15t$cm$1@utils.eclipse.org" type="cite"> 
      <pre wrap="">Hi, all, 
Can anybody outline me functionalities of Apache Castor vs. Eclipse XSD  
framework? or any other Eclipse frameworks covering all Apache Castor  
functionalities 
 
Or reformulating, I have the task to reimplement existing application  
(workflow designer) in Swing using GEF with EMF. The problem is that I do  
not see how I can match already created with Castor files in XML (that is,  
workflow definitions in XML, associated with wf nodes data in XML, palettes  
definitions, templates, etc. uploaded/downloaded to/from server-side BPM  
engine) using EMF/GEF 
 
Guennadi Vanine  
 
 
  </pre> 
    </blockquote> 
    <br> 
  </blockquote> 
</blockquote> 
<br> 
</body> 
</html> 
 
--------------050402070608040506020502--
 |  
 |  
  |   
Goto Forum:
 
 Current Time: Tue Nov 04 05:25:29 EST 2025 
 Powered by  FUDForum. Page generated in 0.10033 seconds  
 |