Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumshow to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/68883/#msg_68883
Originally posted by: pavlina.sholeva.gmx.de
Hello!
I]]>2006-07-25T21:30:54-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/68906/#msg_68906
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------070803070009020907030005
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Sholy,
If you open the corresponding .genmodel in the Generator, from the menu
bar you can invoke "Generator->Export Model..." and from there you can
export either an XMI or an XML schema:
Sholy wrote:
>Hello!
>
>I]]>2006-07-26T10:54:30-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/598455/#msg_598455
--------------070803070009020907030005
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Sholy,
If you open the corresponding .genmodel in the Generator, from the menu
bar you can invoke "Generator->Export Model..." and from there you can
export either an XMI or an XML schema:
Sholy wrote:
>Hello!
>
>I]]>Ed Merks2006-07-26T10:54:30-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/69012/#msg_69012
Originally posted by: pavlina.sholeva.gmx.de
If you open the corresponding .genmodel in the Generator, from the =
menu bar you can invoke "Generator->Export Model..." and from there you =
can export either an XMI or an XML schema:
Sholy wrote:=20
Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-1>
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks a lot. Now I have another =
problem. A go=20
throught the entire Wizard and then when I click the Finish button, I =
get an=20
Error: </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>provider=20
org.apache.xalan.processor.TransformerFactoryImpl not found</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Is there a Xalan- plug-in for Eclipse =
or what=20
should I do to get Xalan work with eclipse (I haven't done anything =
yet).=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Sholy</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></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:ea7hkv$20h$1@utils.eclipse.org">news:ea7hkv$20h$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>If=20
you open the corresponding .genmodel in the Generator, from the menu =
bar you=20
can invoke "Generator->Export Model..." and from there you can =
export=20
either an XMI or an XML schema:<BR>
<BLOCKQUOTE><IMG alt=3D""=20
=
src=3D"cid:004b01c6b0ff$8241b090$2856960a@r086040"><BR></BLOCKQUOTE><BR>S=
holy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea62in$vvu$1@utils.eclipse.org =
type=3D"cite"><PRE wrap=3D"">Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
------=_NextPart_000_0050_01C6B110.49934860--]]>2006-07-26T22:04:47-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/598488/#msg_598488
Originally posted by: pavlina.sholeva.gmx.de
If you open the corresponding .genmodel in the Generator, from the =
menu bar you can invoke "Generator->Export Model..." and from there you =
can export either an XMI or an XML schema:
Sholy wrote:=20
Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-1>
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks a lot. Now I have another =
problem. A go=20
throught the entire Wizard and then when I click the Finish button, I =
get an=20
Error: </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>provider=20
org.apache.xalan.processor.TransformerFactoryImpl not found</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Is there a Xalan- plug-in for Eclipse =
or what=20
should I do to get Xalan work with eclipse (I haven't done anything =
yet).=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Sholy</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></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:ea7hkv$20h$1@utils.eclipse.org">news:ea7hkv$20h$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>If=20
you open the corresponding .genmodel in the Generator, from the menu =
bar you=20
can invoke "Generator->Export Model..." and from there you can =
export=20
either an XMI or an XML schema:<BR>
<BLOCKQUOTE><IMG alt=3D""=20
=
src=3D"cid:004b01c6b0ff$8241b090$2856960a@r086040"><BR></BLOCKQUOTE><BR>S=
holy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea62in$vvu$1@utils.eclipse.org =
type=3D"cite"><PRE wrap=3D"">Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
------=_NextPart_000_0050_01C6B110.49934860--]]>2006-07-26T22:04:47-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/69095/#msg_69095
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------060902060508070600070700
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Sholy,
XSD relies on the JDK's JAXP implementation but not directly on
implementation classes such as the one you show below so this sounds
like a problem with the JDK you are using. You've read the
installation instructions and are using a suitable JDK along with any
workarounds that are required for dealing with faulty JDKs?
<http://www.eclipse.org/emf/downloads-xerces.php>
Sholy wrote:
> Thanks a lot. Now I have another problem. A go throught the entire
> Wizard and then when I click the Finish button, I get an Error:
>
> provider org.apache.xalan.processor.TransformerFactoryImpl not found
>
> Is there a Xalan- plug-in for Eclipse or what should I do to get Xalan
> work with eclipse (I haven't done anything yet).
>
> Sholy
>
>
> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote in
> message news:ea7hkv$20h$1@utils.eclipse.org...
> Sholy,
>
> If you open the corresponding .genmodel in the Generator, from the
> menu bar you can invoke "Generator->Export Model..." and from
> there you can export either an XMI or an XML schema:
>
>
>
> Sholy wrote:
>> Hello!
>>
>> I]]>2006-07-27T10:49:19-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/598511/#msg_598511
--------------060902060508070600070700
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Sholy,
XSD relies on the JDK's JAXP implementation but not directly on
implementation classes such as the one you show below so this sounds
like a problem with the JDK you are using. You've read the
installation instructions and are using a suitable JDK along with any
workarounds that are required for dealing with faulty JDKs?
<http://www.eclipse.org/emf/downloads-xerces.php>
Sholy wrote:
> Thanks a lot. Now I have another problem. A go throught the entire
> Wizard and then when I click the Finish button, I get an Error:
>
> provider org.apache.xalan.processor.TransformerFactoryImpl not found
>
> Is there a Xalan- plug-in for Eclipse or what should I do to get Xalan
> work with eclipse (I haven't done anything yet).
>
> Sholy
>
>
> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote in
> message news:ea7hkv$20h$1@utils.eclipse.org...
> Sholy,
>
> If you open the corresponding .genmodel in the Generator, from the
> menu bar you can invoke "Generator->Export Model..." and from
> there you can export either an XMI or an XML schema:
>
>
>
> Sholy wrote:
>> Hello!
>>
>> I]]>Ed Merks2006-07-27T10:49:19-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/69138/#msg_69138
Originally posted by: pavlina.sholeva.gmx.de
Ed, thanks a lot.! I`ve being using the JDK 1.5 with the workaround, =
but in the folder I just had the xerces jars and not the xalan jars and =
your answer made me think about this. Now it is OK.=20
XSD relies on the JDK's JAXP implementation but not directly on =
implementation classes such as the one you show below so this sounds =
like a problem with the JDK you are using. You've read the =
installation instructions and are using a suitable JDK along with any =
workarounds that are required for dealing with faulty JDKs?
Sholy wrote:=20
Thanks a lot. Now I have another problem. A go throught the entire =
Wizard and then when I click the Finish button, I get an Error:=20
provider org.apache.xalan.processor.TransformerFactoryImpl not found
Is there a Xalan- plug-in for Eclipse or what should I do to get =
Xalan work with eclipse (I haven't done anything yet).=20
If you open the corresponding .genmodel in the Generator, from the =
menu bar you can invoke "Generator->Export Model..." and from there you =
can export either an XMI or an XML schema:
Sholy wrote:=20
Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
<!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.2912" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Ed, thanks a lot.! I`ve being =
using the JDK=20
1.5 with the workaround, but in the folder I just had the xerces jars =
and not=20
the xalan jars and your answer made me think about this. Now it is =
OK.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>THANX!!! </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:eaa5m0$8ql$1@utils.eclipse.org">news:eaa5m0$8ql$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>XSD=20
relies on the JDK's JAXP implementation but not directly on =
implementation=20
classes such as the one you show below so this sounds like a problem =
with the=20
JDK you are using. You've read the installation =
instructions and=20
are using a suitable JDK along with any workarounds that are required =
for=20
dealing with faulty JDKs?<A=20
href=3D"http://www.eclipse.org/emf/downloads-xerces.php"><BR></A>
<BLOCKQUOTE><A=20
=
href=3D"http://www.eclipse.org/emf/downloads-xerces.php">http://www.eclip=
se.org/emf/downloads-xerces.php</A><BR></BLOCKQUOTE><BR>Sholy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea8ov2$u2h$2@utils.eclipse.org type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<STYLE></STYLE>
<DIV><FONT face=3DArial size=3D2>Thanks a lot. Now I have another =
problem. A go=20
throught the entire Wizard and then when I click the Finish button, =
I get an=20
Error: </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>provider=20
org.apache.xalan.processor.TransformerFactoryImpl not =
found</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Is there a Xalan- plug-in for =
Eclipse or what=20
should I do to get Xalan work with eclipse (I haven't done anything =
yet).=20
</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Sholy</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A=20
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>> wrote in =
message=20
<A=20
=
href=3D"news:ea7hkv$20h$1@utils.eclipse.org">news:ea7hkv$20h$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>If=20
you open the corresponding .genmodel in the Generator, from the =
menu bar=20
you can invoke "Generator->Export Model..." and from there you =
can=20
export either an XMI or an XML schema:<BR>
<BLOCKQUOTE><IMG alt=3D""=20
=
src=3D"cid:001a01c6b195$694e7230$2856960a@r086040"><BR></BLOCKQUOTE><BR>S=
holy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea62in$vvu$1@utils.eclipse.org =
type=3D"cite"><PRE wrap=3D"">Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
------=_NextPart_000_0022_01C6B1A6.2E2F3110--]]>2006-07-27T15:57:50-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/598525/#msg_598525
Originally posted by: pavlina.sholeva.gmx.de
Ed, thanks a lot.! I`ve being using the JDK 1.5 with the workaround, =
but in the folder I just had the xerces jars and not the xalan jars and =
your answer made me think about this. Now it is OK.=20
XSD relies on the JDK's JAXP implementation but not directly on =
implementation classes such as the one you show below so this sounds =
like a problem with the JDK you are using. You've read the =
installation instructions and are using a suitable JDK along with any =
workarounds that are required for dealing with faulty JDKs?
Sholy wrote:=20
Thanks a lot. Now I have another problem. A go throught the entire =
Wizard and then when I click the Finish button, I get an Error:=20
provider org.apache.xalan.processor.TransformerFactoryImpl not found
Is there a Xalan- plug-in for Eclipse or what should I do to get =
Xalan work with eclipse (I haven't done anything yet).=20
If you open the corresponding .genmodel in the Generator, from the =
menu bar you can invoke "Generator->Export Model..." and from there you =
can export either an XMI or an XML schema:
Sholy wrote:=20
Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
<!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.2912" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Ed, thanks a lot.! I`ve being =
using the JDK=20
1.5 with the workaround, but in the folder I just had the xerces jars =
and not=20
the xalan jars and your answer made me think about this. Now it is =
OK.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>THANX!!! </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:eaa5m0$8ql$1@utils.eclipse.org">news:eaa5m0$8ql$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>XSD=20
relies on the JDK's JAXP implementation but not directly on =
implementation=20
classes such as the one you show below so this sounds like a problem =
with the=20
JDK you are using. You've read the installation =
instructions and=20
are using a suitable JDK along with any workarounds that are required =
for=20
dealing with faulty JDKs?<A=20
href=3D"http://www.eclipse.org/emf/downloads-xerces.php"><BR></A>
<BLOCKQUOTE><A=20
=
href=3D"http://www.eclipse.org/emf/downloads-xerces.php">http://www.eclip=
se.org/emf/downloads-xerces.php</A><BR></BLOCKQUOTE><BR>Sholy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea8ov2$u2h$2@utils.eclipse.org type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<STYLE></STYLE>
<DIV><FONT face=3DArial size=3D2>Thanks a lot. Now I have another =
problem. A go=20
throught the entire Wizard and then when I click the Finish button, =
I get an=20
Error: </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>provider=20
org.apache.xalan.processor.TransformerFactoryImpl not =
found</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Is there a Xalan- plug-in for =
Eclipse or what=20
should I do to get Xalan work with eclipse (I haven't done anything =
yet).=20
</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Sholy</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A=20
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>> wrote in =
message=20
<A=20
=
href=3D"news:ea7hkv$20h$1@utils.eclipse.org">news:ea7hkv$20h$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>If=20
you open the corresponding .genmodel in the Generator, from the =
menu bar=20
you can invoke "Generator->Export Model..." and from there you =
can=20
export either an XMI or an XML schema:<BR>
<BLOCKQUOTE><IMG alt=3D""=20
=
src=3D"cid:001a01c6b195$694e7230$2856960a@r086040"><BR></BLOCKQUOTE><BR>S=
holy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea62in$vvu$1@utils.eclipse.org =
type=3D"cite"><PRE wrap=3D"">Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
------=_NextPart_000_0022_01C6B1A6.2E2F3110--]]>2006-07-27T15:57:50-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/598532/#msg_598532
--------------060506040509010804020909
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Sholy,
I see. You should try it without any workaround because the Sun 1.5 JDK
now uses Xerces under the covers and hence the Crimson DOM bug should
not be an issue anymore.
Sholy wrote:
> Ed, thanks a lot.! I`ve being using the JDK 1.5 with the workaround,
> but in the folder I just had the xerces jars and not the xalan jars
> and your answer made me think about this. Now it is OK.
>
> THANX!!!
>
> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote in
> message news:eaa5m0$8ql$1@utils.eclipse.org...
> Sholy,
>
> XSD relies on the JDK's JAXP implementation but not directly on
> implementation classes such as the one you show below so this
> sounds like a problem with the JDK you are using. You've read
> the installation instructions and are using a suitable JDK along
> with any workarounds that are required for dealing with faulty JDKs?
> <http://www.eclipse.org/emf/downloads-xerces.php>
>
> http://www.eclipse.org/emf/downloads-xerces.php
>
>
> Sholy wrote:
>> Thanks a lot. Now I have another problem. A go throught the
>> entire Wizard and then when I click the Finish button, I get an
>> Error:
>>
>> provider org.apache.xalan.processor.TransformerFactoryImpl not found
>>
>> Is there a Xalan- plug-in for Eclipse or what should I do to get
>> Xalan work with eclipse (I haven't done anything yet).
>>
>> Sholy
>>
>>
>> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote
>> in message news:ea7hkv$20h$1@utils.eclipse.org...
>> Sholy,
>>
>> If you open the corresponding .genmodel in the Generator,
>> from the menu bar you can invoke "Generator->Export Model..."
>> and from there you can export either an XMI or an XML schema:
>>
>>
>>
>> Sholy wrote:
>>> Hello!
>>>
>>> I]]>Ed Merks2006-07-27T16:04:03-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/69161/#msg_69161
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------060506040509010804020909
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Sholy,
I see. You should try it without any workaround because the Sun 1.5 JDK
now uses Xerces under the covers and hence the Crimson DOM bug should
not be an issue anymore.
Sholy wrote:
> Ed, thanks a lot.! I`ve being using the JDK 1.5 with the workaround,
> but in the folder I just had the xerces jars and not the xalan jars
> and your answer made me think about this. Now it is OK.
>
> THANX!!!
>
> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote in
> message news:eaa5m0$8ql$1@utils.eclipse.org...
> Sholy,
>
> XSD relies on the JDK's JAXP implementation but not directly on
> implementation classes such as the one you show below so this
> sounds like a problem with the JDK you are using. You've read
> the installation instructions and are using a suitable JDK along
> with any workarounds that are required for dealing with faulty JDKs?
> <http://www.eclipse.org/emf/downloads-xerces.php>
>
> http://www.eclipse.org/emf/downloads-xerces.php
>
>
> Sholy wrote:
>> Thanks a lot. Now I have another problem. A go throught the
>> entire Wizard and then when I click the Finish button, I get an
>> Error:
>>
>> provider org.apache.xalan.processor.TransformerFactoryImpl not found
>>
>> Is there a Xalan- plug-in for Eclipse or what should I do to get
>> Xalan work with eclipse (I haven't done anything yet).
>>
>> Sholy
>>
>>
>> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote
>> in message news:ea7hkv$20h$1@utils.eclipse.org...
>> Sholy,
>>
>> If you open the corresponding .genmodel in the Generator,
>> from the menu bar you can invoke "Generator->Export Model..."
>> and from there you can export either an XMI or an XML schema:
>>
>>
>>
>> Sholy wrote:
>>> Hello!
>>>
>>> I]]>2006-07-27T16:04:03-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/598538/#msg_598538
Originally posted by: pavlina.sholeva.gmx.de
Well, I think the bug is still an issue. I've tried it without the =
workaround and I wasn`'t able to create an Ecore model by importing XML =
Schema (I got the null pointer exception)
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:eaao3t$fqa$1@utils.eclipse.org...
Sholy,
I see. You should try it without any workaround because the Sun 1.5 =
JDK now uses Xerces under the covers and hence the Crimson DOM bug =
should not be an issue anymore.
Sholy wrote:=20
Ed, thanks a lot.! I`ve being using the JDK 1.5 with the =
workaround, but in the folder I just had the xerces jars and not the =
xalan jars and your answer made me think about this. Now it is OK.=20
XSD relies on the JDK's JAXP implementation but not directly on =
implementation classes such as the one you show below so this sounds =
like a problem with the JDK you are using. You've read the =
installation instructions and are using a suitable JDK along with any =
workarounds that are required for dealing with faulty JDKs?
Sholy wrote:=20
Thanks a lot. Now I have another problem. A go throught the =
entire Wizard and then when I click the Finish button, I get an Error:=20
provider org.apache.xalan.processor.TransformerFactoryImpl not =
found
Is there a Xalan- plug-in for Eclipse or what should I do to get =
Xalan work with eclipse (I haven't done anything yet).=20
If you open the corresponding .genmodel in the Generator, from =
the menu bar you can invoke "Generator->Export Model..." and from there =
you can export either an XMI or an XML schema:
Sholy wrote:=20
Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
<!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.2912" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT size=3D2><FONT face=3DArial>Well, I think the =
bug is=20
still an issue. I've tried it without the workaround and I =
wasn`'t=20
able to create an Ecore model by importing XML =
Schema (I=20
got the </FONT><FONT face=3D"Times New Roman"><FONT =
face=3DArial>null pointer=20
exception)</FONT></FONT></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:eaao3t$fqa$1@utils.eclipse.org">news:eaao3t$fqa$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>I=20
see. You should try it without any workaround because the Sun =
1.5 JDK=20
now uses Xerces under the covers and hence the Crimson DOM bug should =
not be=20
an issue anymore.<BR><BR><BR>Sholy wrote:=20
<BLOCKQUOTE cite=3Dmideaanqs$enj$2@utils.eclipse.org type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<DIV><FONT face=3DArial size=3D2>Ed, thanks a lot.! I`ve being =
using the=20
JDK 1.5 with the workaround, but in the folder I just had the xerces =
jars=20
and not the xalan jars and your answer made me think about =
this. Now it=20
is OK. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>THANX!!! </FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A=20
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>> wrote in =
message=20
<A=20
=
href=3D"news:eaa5m0$8ql$1@utils.eclipse.org">news:eaa5m0$8ql$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>XSD=20
relies on the JDK's JAXP implementation but not directly on =
implementation=20
classes such as the one you show below so this sounds like a =
problem with=20
the JDK you are using. You've read the installation=20
instructions and are using a suitable JDK along with any =
workarounds that=20
are required for dealing with faulty JDKs?<A=20
href=3D"http://www.eclipse.org/emf/downloads-xerces.php"><BR></A>
<BLOCKQUOTE><A=20
=
href=3D"http://www.eclipse.org/emf/downloads-xerces.php">http://www.eclip=
se.org/emf/downloads-xerces.php</A><BR></BLOCKQUOTE><BR>Sholy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea8ov2$u2h$2@utils.eclipse.org =
type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<STYLE></STYLE>
<DIV><FONT face=3DArial size=3D2>Thanks a lot. Now I have =
another problem. A=20
go throught the entire Wizard and then when I click the Finish =
button, I=20
get an Error: </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>provider=20
org.apache.xalan.processor.TransformerFactoryImpl not =
found</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Is there a Xalan- plug-in for =
Eclipse or=20
what should I do to get Xalan work with eclipse (I haven't done =
anything=20
yet). </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Sholy</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: =
5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A=20
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>> =
wrote in=20
message <A=20
=
href=3D"news:ea7hkv$20h$1@utils.eclipse.org">news:ea7hkv$20h$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>If=20
you open the corresponding .genmodel in the Generator, from =
the menu=20
bar you can invoke "Generator->Export Model..." and from =
there you=20
can export either an XMI or an XML schema:<BR>
<BLOCKQUOTE><IMG alt=3D""=20
=
src=3D"cid:003f01c6b197$456f06c0$2856960a@r086040"><BR></BLOCKQUOTE><BR>S=
holy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea62in$vvu$1@utils.eclipse.org =
type=3D"cite"><PRE wrap=3D"">Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
------=_NextPart_000_0047_01C6B1A8.0A7464A0--]]>2006-07-27T16:11:08-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/69184/#msg_69184
Originally posted by: pavlina.sholeva.gmx.de
Well, I think the bug is still an issue. I've tried it without the =
workaround and I wasn`'t able to create an Ecore model by importing XML =
Schema (I got the null pointer exception)
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:eaao3t$fqa$1@utils.eclipse.org...
Sholy,
I see. You should try it without any workaround because the Sun 1.5 =
JDK now uses Xerces under the covers and hence the Crimson DOM bug =
should not be an issue anymore.
Sholy wrote:=20
Ed, thanks a lot.! I`ve being using the JDK 1.5 with the =
workaround, but in the folder I just had the xerces jars and not the =
xalan jars and your answer made me think about this. Now it is OK.=20
XSD relies on the JDK's JAXP implementation but not directly on =
implementation classes such as the one you show below so this sounds =
like a problem with the JDK you are using. You've read the =
installation instructions and are using a suitable JDK along with any =
workarounds that are required for dealing with faulty JDKs?
Sholy wrote:=20
Thanks a lot. Now I have another problem. A go throught the =
entire Wizard and then when I click the Finish button, I get an Error:=20
provider org.apache.xalan.processor.TransformerFactoryImpl not =
found
Is there a Xalan- plug-in for Eclipse or what should I do to get =
Xalan work with eclipse (I haven't done anything yet).=20
If you open the corresponding .genmodel in the Generator, from =
the menu bar you can invoke "Generator->Export Model..." and from there =
you can export either an XMI or an XML schema:
Sholy wrote:=20
Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
<!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.2912" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT size=3D2><FONT face=3DArial>Well, I think the =
bug is=20
still an issue. I've tried it without the workaround and I =
wasn`'t=20
able to create an Ecore model by importing XML =
Schema (I=20
got the </FONT><FONT face=3D"Times New Roman"><FONT =
face=3DArial>null pointer=20
exception)</FONT></FONT></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:eaao3t$fqa$1@utils.eclipse.org">news:eaao3t$fqa$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>I=20
see. You should try it without any workaround because the Sun =
1.5 JDK=20
now uses Xerces under the covers and hence the Crimson DOM bug should =
not be=20
an issue anymore.<BR><BR><BR>Sholy wrote:=20
<BLOCKQUOTE cite=3Dmideaanqs$enj$2@utils.eclipse.org type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<DIV><FONT face=3DArial size=3D2>Ed, thanks a lot.! I`ve being =
using the=20
JDK 1.5 with the workaround, but in the folder I just had the xerces =
jars=20
and not the xalan jars and your answer made me think about =
this. Now it=20
is OK. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>THANX!!! </FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A=20
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>> wrote in =
message=20
<A=20
=
href=3D"news:eaa5m0$8ql$1@utils.eclipse.org">news:eaa5m0$8ql$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>XSD=20
relies on the JDK's JAXP implementation but not directly on =
implementation=20
classes such as the one you show below so this sounds like a =
problem with=20
the JDK you are using. You've read the installation=20
instructions and are using a suitable JDK along with any =
workarounds that=20
are required for dealing with faulty JDKs?<A=20
href=3D"http://www.eclipse.org/emf/downloads-xerces.php"><BR></A>
<BLOCKQUOTE><A=20
=
href=3D"http://www.eclipse.org/emf/downloads-xerces.php">http://www.eclip=
se.org/emf/downloads-xerces.php</A><BR></BLOCKQUOTE><BR>Sholy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea8ov2$u2h$2@utils.eclipse.org =
type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<STYLE></STYLE>
<DIV><FONT face=3DArial size=3D2>Thanks a lot. Now I have =
another problem. A=20
go throught the entire Wizard and then when I click the Finish =
button, I=20
get an Error: </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>provider=20
org.apache.xalan.processor.TransformerFactoryImpl not =
found</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Is there a Xalan- plug-in for =
Eclipse or=20
what should I do to get Xalan work with eclipse (I haven't done =
anything=20
yet). </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Sholy</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: =
5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A=20
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>> =
wrote in=20
message <A=20
=
href=3D"news:ea7hkv$20h$1@utils.eclipse.org">news:ea7hkv$20h$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>If=20
you open the corresponding .genmodel in the Generator, from =
the menu=20
bar you can invoke "Generator->Export Model..." and from =
there you=20
can export either an XMI or an XML schema:<BR>
<BLOCKQUOTE><IMG alt=3D""=20
=
src=3D"cid:003f01c6b197$456f06c0$2856960a@r086040"><BR></BLOCKQUOTE><BR>S=
holy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea62in$vvu$1@utils.eclipse.org =
type=3D"cite"><PRE wrap=3D"">Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
------=_NextPart_000_0047_01C6B1A8.0A7464A0--]]>2006-07-27T16:11:08-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/598546/#msg_598546
--------------060402040902000401050704
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Sholy,
Hmmm. I have tested the Sun 5.0 JDK and have not seen such a problem.
Are you sure you are really using a 5.0 JDK? If you are still seeing
the Crimson DOM null pointer exception, then I'm pretty sure you are
actually using a 1.4.x Sun JDK... If not, could you please show the
stack trace?
Sholy wrote:
> Well, I think the bug is still an issue. I've tried it without the
> workaround and I wasn`'t able to create an Ecore model by importing
> XML Schema (I got the null pointer exception)
>
> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote in
> message news:eaao3t$fqa$1@utils.eclipse.org...
> Sholy,
>
> I see. You should try it without any workaround because the Sun
> 1.5 JDK now uses Xerces under the covers and hence the Crimson DOM
> bug should not be an issue anymore.
>
>
> Sholy wrote:
>> Ed, thanks a lot.! I`ve being using the JDK 1.5 with the
>> workaround, but in the folder I just had the xerces jars and not
>> the xalan jars and your answer made me think about this. Now it
>> is OK.
>>
>> THANX!!!
>>
>> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote
>> in message news:eaa5m0$8ql$1@utils.eclipse.org...
>> Sholy,
>>
>> XSD relies on the JDK's JAXP implementation but not directly
>> on implementation classes such as the one you show below so
>> this sounds like a problem with the JDK you are using.
>> You've read the installation instructions and are using a
>> suitable JDK along with any workarounds that are required for
>> dealing with faulty JDKs?
>> <http://www.eclipse.org/emf/downloads-xerces.php>
>>
>> http://www.eclipse.org/emf/downloads-xerces.php
>>
>>
>> Sholy wrote:
>>> Thanks a lot. Now I have another problem. A go throught the
>>> entire Wizard and then when I click the Finish button, I get
>>> an Error:
>>>
>>> provider org.apache.xalan.processor.TransformerFactoryImpl
>>> not found
>>>
>>> Is there a Xalan- plug-in for Eclipse or what should I do to
>>> get Xalan work with eclipse (I haven't done anything yet).
>>>
>>> Sholy
>>>
>>>
>>> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>>
>>> wrote in message news:ea7hkv$20h$1@utils.eclipse.org...
>>> Sholy,
>>>
>>> If you open the corresponding .genmodel in the
>>> Generator, from the menu bar you can invoke
>>> "Generator->Export Model..." and from there you can
>>> export either an XMI or an XML schema:
>>>
>>>
>>>
>>> Sholy wrote:
>>>> Hello!
>>>>
>>>> I]]>Ed Merks2006-07-27T16:37:20-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/69208/#msg_69208
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------060402040902000401050704
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Sholy,
Hmmm. I have tested the Sun 5.0 JDK and have not seen such a problem.
Are you sure you are really using a 5.0 JDK? If you are still seeing
the Crimson DOM null pointer exception, then I'm pretty sure you are
actually using a 1.4.x Sun JDK... If not, could you please show the
stack trace?
Sholy wrote:
> Well, I think the bug is still an issue. I've tried it without the
> workaround and I wasn`'t able to create an Ecore model by importing
> XML Schema (I got the null pointer exception)
>
> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote in
> message news:eaao3t$fqa$1@utils.eclipse.org...
> Sholy,
>
> I see. You should try it without any workaround because the Sun
> 1.5 JDK now uses Xerces under the covers and hence the Crimson DOM
> bug should not be an issue anymore.
>
>
> Sholy wrote:
>> Ed, thanks a lot.! I`ve being using the JDK 1.5 with the
>> workaround, but in the folder I just had the xerces jars and not
>> the xalan jars and your answer made me think about this. Now it
>> is OK.
>>
>> THANX!!!
>>
>> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote
>> in message news:eaa5m0$8ql$1@utils.eclipse.org...
>> Sholy,
>>
>> XSD relies on the JDK's JAXP implementation but not directly
>> on implementation classes such as the one you show below so
>> this sounds like a problem with the JDK you are using.
>> You've read the installation instructions and are using a
>> suitable JDK along with any workarounds that are required for
>> dealing with faulty JDKs?
>> <http://www.eclipse.org/emf/downloads-xerces.php>
>>
>> http://www.eclipse.org/emf/downloads-xerces.php
>>
>>
>> Sholy wrote:
>>> Thanks a lot. Now I have another problem. A go throught the
>>> entire Wizard and then when I click the Finish button, I get
>>> an Error:
>>>
>>> provider org.apache.xalan.processor.TransformerFactoryImpl
>>> not found
>>>
>>> Is there a Xalan- plug-in for Eclipse or what should I do to
>>> get Xalan work with eclipse (I haven't done anything yet).
>>>
>>> Sholy
>>>
>>>
>>> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>>
>>> wrote in message news:ea7hkv$20h$1@utils.eclipse.org...
>>> Sholy,
>>>
>>> If you open the corresponding .genmodel in the
>>> Generator, from the menu bar you can invoke
>>> "Generator->Export Model..." and from there you can
>>> export either an XMI or an XML schema:
>>>
>>>
>>>
>>> Sholy wrote:
>>>> Hello!
>>>>
>>>> I]]>2006-07-27T16:37:20-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/598553/#msg_598553
Originally posted by: pavlina.sholeva.gmx.de
Sorry, it seems to be really ok. I`m using Sun 1.5.03, but I=B4ve tried =
without the workaround before I=B4ve copied the xalan jars to Eclipse =
(that was the reason for my other problem too, I had only the xerces =
jars).=20
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:eaaq2a$sn6$1@utils.eclipse.org...
Sholy,
Hmmm. I have tested the Sun 5.0 JDK and have not seen such a problem. =
Are you sure you are really using a 5.0 JDK? If you are still seeing =
the Crimson DOM null pointer exception, then I'm pretty sure you are =
actually using a 1.4.x Sun JDK... If not, could you please show the =
stack trace?
Sholy wrote:=20
Well, I think the bug is still an issue. I've tried it without the =
workaround and I wasn`'t able to create an Ecore model by importing XML =
Schema (I got the null pointer exception)
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:eaao3t$fqa$1@utils.eclipse.org...
Sholy,
I see. You should try it without any workaround because the Sun =
1.5 JDK now uses Xerces under the covers and hence the Crimson DOM bug =
should not be an issue anymore.
Sholy wrote:=20
Ed, thanks a lot.! I`ve being using the JDK 1.5 with the =
workaround, but in the folder I just had the xerces jars and not the =
xalan jars and your answer made me think about this. Now it is OK.=20
XSD relies on the JDK's JAXP implementation but not directly =
on implementation classes such as the one you show below so this sounds =
like a problem with the JDK you are using. You've read the =
installation instructions and are using a suitable JDK along with any =
workarounds that are required for dealing with faulty JDKs?
Sholy wrote:=20
Thanks a lot. Now I have another problem. A go throught the =
entire Wizard and then when I click the Finish button, I get an Error:=20
provider org.apache.xalan.processor.TransformerFactoryImpl =
not found
Is there a Xalan- plug-in for Eclipse or what should I do to =
get Xalan work with eclipse (I haven't done anything yet).=20
If you open the corresponding .genmodel in the Generator, =
from the menu bar you can invoke "Generator->Export Model..." and from =
there you can export either an XMI or an XML schema:
Sholy wrote:=20
Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
<!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.2912" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Sorry, it seems to be really ok. I`m =
using Sun=20
1.5.03, but I=B4ve tried without the workaround before I=B4ve =
copied the xalan=20
jars to Eclipse (that was the reason for my other problem too, I =
had=20
only the xerces jars). </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:eaaq2a$sn6$1@utils.eclipse.org">news:eaaq2a$sn6$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>Hmmm. =20
I have tested the Sun 5.0 JDK and have not seen such a problem. =
Are you=20
sure you are really using a 5.0 JDK? If you are still seeing the =
Crimson=20
DOM null pointer exception, then I'm pretty sure you are actually =
using a=20
1.4.x Sun JDK... If not, could you please show the stack=20
trace?<BR><BR><BR>Sholy wrote:=20
<BLOCKQUOTE cite=3Dmideaaojr$jfp$2@utils.eclipse.org type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<DIV><FONT size=3D2><FONT face=3DArial>Well, I think the =
bug is=20
still an issue. I've tried it without the workaround and =
I=20
wasn`'t able to create an Ecore model by importing =
XML=20
Schema (I got the </FONT><FONT face=3D"Times New =
Roman"><FONT=20
face=3DArial>null pointer exception)</FONT></FONT></FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A=20
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>> wrote in =
message=20
<A=20
=
href=3D"news:eaao3t$fqa$1@utils.eclipse.org">news:eaao3t$fqa$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>I=20
see. You should try it without any workaround because the =
Sun 1.5=20
JDK now uses Xerces under the covers and hence the Crimson DOM bug =
should=20
not be an issue anymore.<BR><BR><BR>Sholy wrote:=20
<BLOCKQUOTE cite=3Dmideaanqs$enj$2@utils.eclipse.org =
type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<DIV><FONT face=3DArial size=3D2>Ed, thanks a lot.! I`ve =
being using=20
the JDK 1.5 with the workaround, but in the folder I just had =
the xerces=20
jars and not the xalan jars and your answer made me think =
about=20
this. Now it is OK. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>THANX!!! </FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: =
5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A=20
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>> =
wrote in=20
message <A=20
=
href=3D"news:eaa5m0$8ql$1@utils.eclipse.org">news:eaa5m0$8ql$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>XSD=20
relies on the JDK's JAXP implementation but not directly on=20
implementation classes such as the one you show below so this =
sounds=20
like a problem with the JDK you are using. You've =
read the=20
installation instructions and are using a suitable JDK along =
with any=20
workarounds that are required for dealing with faulty JDKs?<A=20
=
href=3D"http://www.eclipse.org/emf/downloads-xerces.php"><BR></A>
<BLOCKQUOTE><A=20
=
href=3D"http://www.eclipse.org/emf/downloads-xerces.php">http://www.eclip=
se.org/emf/downloads-xerces.php</A><BR></BLOCKQUOTE><BR>Sholy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea8ov2$u2h$2@utils.eclipse.org =
type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<STYLE></STYLE>
<DIV><FONT face=3DArial size=3D2>Thanks a lot. Now I have =
another=20
problem. A go throught the entire Wizard and then when I =
click the=20
Finish button, I get an Error: </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>provider=20
org.apache.xalan.processor.TransformerFactoryImpl not=20
found</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Is there a Xalan- plug-in =
for Eclipse=20
or what should I do to get Xalan work with eclipse (I =
haven't done=20
anything yet). </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Sholy</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: =
5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A=20
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>> =
wrote in=20
message <A=20
=
href=3D"news:ea7hkv$20h$1@utils.eclipse.org">news:ea7hkv$20h$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>If=20
you open the corresponding .genmodel in the Generator, =
from the=20
menu bar you can invoke "Generator->Export Model..." =
and from=20
there you can export either an XMI or an XML schema:<BR>
<BLOCKQUOTE><IMG alt=3D""=20
=
src=3D"cid:014401c6b1a7$d90b77a0$2856960a@r086040"><BR></BLOCKQUOTE><BR>S=
holy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea62in$vvu$1@utils.eclipse.org =
type=3D"cite"><PRE wrap=3D"">Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
------=_NextPart_000_014C_01C6B1B8.9F0B6220--]]>2006-07-27T18:09:48-00:00Re: how to create a xml schema for ecore metamodel
https://www.eclipse.org/forums/index.php/mv/msg/21472/69230/#msg_69230
Originally posted by: pavlina.sholeva.gmx.de
Sorry, it seems to be really ok. I`m using Sun 1.5.03, but I=B4ve tried =
without the workaround before I=B4ve copied the xalan jars to Eclipse =
(that was the reason for my other problem too, I had only the xerces =
jars).=20
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:eaaq2a$sn6$1@utils.eclipse.org...
Sholy,
Hmmm. I have tested the Sun 5.0 JDK and have not seen such a problem. =
Are you sure you are really using a 5.0 JDK? If you are still seeing =
the Crimson DOM null pointer exception, then I'm pretty sure you are =
actually using a 1.4.x Sun JDK... If not, could you please show the =
stack trace?
Sholy wrote:=20
Well, I think the bug is still an issue. I've tried it without the =
workaround and I wasn`'t able to create an Ecore model by importing XML =
Schema (I got the null pointer exception)
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:eaao3t$fqa$1@utils.eclipse.org...
Sholy,
I see. You should try it without any workaround because the Sun =
1.5 JDK now uses Xerces under the covers and hence the Crimson DOM bug =
should not be an issue anymore.
Sholy wrote:=20
Ed, thanks a lot.! I`ve being using the JDK 1.5 with the =
workaround, but in the folder I just had the xerces jars and not the =
xalan jars and your answer made me think about this. Now it is OK.=20
XSD relies on the JDK's JAXP implementation but not directly =
on implementation classes such as the one you show below so this sounds =
like a problem with the JDK you are using. You've read the =
installation instructions and are using a suitable JDK along with any =
workarounds that are required for dealing with faulty JDKs?
Sholy wrote:=20
Thanks a lot. Now I have another problem. A go throught the =
entire Wizard and then when I click the Finish button, I get an Error:=20
provider org.apache.xalan.processor.TransformerFactoryImpl =
not found
Is there a Xalan- plug-in for Eclipse or what should I do to =
get Xalan work with eclipse (I haven't done anything yet).=20
If you open the corresponding .genmodel in the Generator, =
from the menu bar you can invoke "Generator->Export Model..." and from =
there you can export either an XMI or an XML schema:
Sholy wrote:=20
Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?
<!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.2912" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Sorry, it seems to be really ok. I`m =
using Sun=20
1.5.03, but I=B4ve tried without the workaround before I=B4ve =
copied the xalan=20
jars to Eclipse (that was the reason for my other problem too, I =
had=20
only the xerces jars). </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:eaaq2a$sn6$1@utils.eclipse.org">news:eaaq2a$sn6$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>Hmmm. =20
I have tested the Sun 5.0 JDK and have not seen such a problem. =
Are you=20
sure you are really using a 5.0 JDK? If you are still seeing the =
Crimson=20
DOM null pointer exception, then I'm pretty sure you are actually =
using a=20
1.4.x Sun JDK... If not, could you please show the stack=20
trace?<BR><BR><BR>Sholy wrote:=20
<BLOCKQUOTE cite=3Dmideaaojr$jfp$2@utils.eclipse.org type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<DIV><FONT size=3D2><FONT face=3DArial>Well, I think the =
bug is=20
still an issue. I've tried it without the workaround and =
I=20
wasn`'t able to create an Ecore model by importing =
XML=20
Schema (I got the </FONT><FONT face=3D"Times New =
Roman"><FONT=20
face=3DArial>null pointer exception)</FONT></FONT></FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A=20
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>> wrote in =
message=20
<A=20
=
href=3D"news:eaao3t$fqa$1@utils.eclipse.org">news:eaao3t$fqa$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>I=20
see. You should try it without any workaround because the =
Sun 1.5=20
JDK now uses Xerces under the covers and hence the Crimson DOM bug =
should=20
not be an issue anymore.<BR><BR><BR>Sholy wrote:=20
<BLOCKQUOTE cite=3Dmideaanqs$enj$2@utils.eclipse.org =
type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<DIV><FONT face=3DArial size=3D2>Ed, thanks a lot.! I`ve =
being using=20
the JDK 1.5 with the workaround, but in the folder I just had =
the xerces=20
jars and not the xalan jars and your answer made me think =
about=20
this. Now it is OK. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>THANX!!! </FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: =
5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A=20
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>> =
wrote in=20
message <A=20
=
href=3D"news:eaa5m0$8ql$1@utils.eclipse.org">news:eaa5m0$8ql$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>XSD=20
relies on the JDK's JAXP implementation but not directly on=20
implementation classes such as the one you show below so this =
sounds=20
like a problem with the JDK you are using. You've =
read the=20
installation instructions and are using a suitable JDK along =
with any=20
workarounds that are required for dealing with faulty JDKs?<A=20
=
href=3D"http://www.eclipse.org/emf/downloads-xerces.php"><BR></A>
<BLOCKQUOTE><A=20
=
href=3D"http://www.eclipse.org/emf/downloads-xerces.php">http://www.eclip=
se.org/emf/downloads-xerces.php</A><BR></BLOCKQUOTE><BR>Sholy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea8ov2$u2h$2@utils.eclipse.org =
type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<STYLE></STYLE>
<DIV><FONT face=3DArial size=3D2>Thanks a lot. Now I have =
another=20
problem. A go throught the entire Wizard and then when I =
click the=20
Finish button, I get an Error: </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>provider=20
org.apache.xalan.processor.TransformerFactoryImpl not=20
found</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Is there a Xalan- plug-in =
for Eclipse=20
or what should I do to get Xalan work with eclipse (I =
haven't done=20
anything yet). </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Sholy</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: =
5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A=20
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>> =
wrote in=20
message <A=20
=
href=3D"news:ea7hkv$20h$1@utils.eclipse.org">news:ea7hkv$20h$1@utils.ecli=
pse.org</A>...</DIV>Sholy,<BR><BR>If=20
you open the corresponding .genmodel in the Generator, =
from the=20
menu bar you can invoke "Generator->Export Model..." =
and from=20
there you can export either an XMI or an XML schema:<BR>
<BLOCKQUOTE><IMG alt=3D""=20
=
src=3D"cid:014401c6b1a7$d90b77a0$2856960a@r086040"><BR></BLOCKQUOTE><BR>S=
holy=20
wrote:=20
<BLOCKQUOTE cite=3Dmidea62in$vvu$1@utils.eclipse.org =
type=3D"cite"><PRE wrap=3D"">Hello!
I=B4m a beginner with Eclipse, EMF and everything about it and my =
problem is=20
that I don't know how to create a xml schema for ecore metamodell. I`ve =
made=20
the metamodell grafically (Omondo), and now I want to have an XML =
Schema=20
for it. (not the XMI Serialization, I`ve already seen it with the text=20
editor). And the XMIs of my Instances of the metamodell have to be =
validated=20
with this XML Schema. Can you help me, how can I automatically create=20
(generate) the XML Schema in Eclipse for my metamodell?