Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » xsd file
xsd file [message #75889] Wed, 01 October 2008 02:15 Go to next message
gitanjali punj is currently offline gitanjali punj
Messages: 59
Registered: July 2009
Member
Hi,
In the following snippet of an xsd file

<xsd:schema xmlns:bank="bank"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="bank">
<xsd:import namespace="http://www.omg.org/XMI"
schemaLocation="XMI.xsd"/>
<xsd:complexType name="banker">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element name="issuesaccountto" type="bank:client"/>
<xsd:element ref="xmi:Extension"/>
</xsd:choice>
<xsd:attribute ref="xmi:id"/>
<xsd:attributeGroup ref="xmi:ObjectAttribs"/>
<xsd:attribute name="bankername" type="xsd:string"/>
<xsd:attribute name="issuesaccountto" type="xsd:string"/>
</xsd:complexType>

does Schema,element,import,complexType represent classes in the metamodel
of xsd?If yes then what are the properties and associations between these
classes?
Re: xsd file [message #75907 is a reply to message #75889] Wed, 01 October 2008 06:44 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25999
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060302030706010707080401
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Gitanjali,

Comments below.

Gitanjali Punj wrote:
> Hi,
> In the following snippet of an xsd file
>
> <xsd:schema xmlns:bank="bank" xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="bank">
> <xsd:import namespace="http://www.omg.org/XMI"
> schemaLocation="XMI.xsd"/>
> <xsd:complexType name="banker">
> <xsd:choice maxOccurs="unbounded" minOccurs="0">
> <xsd:element name="issuesaccountto" type="bank:client"/>
> <xsd:element ref="xmi:Extension"/>
> </xsd:choice>
> <xsd:attribute ref="xmi:id"/>
> <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
> <xsd:attribute name="bankername" type="xsd:string"/>
> <xsd:attribute name="issuesaccountto" type="xsd:string"/>
> </xsd:complexType>
>
> does Schema,element,import,complexType represent classes in the
> metamodel of xsd?If yes then what are the properties and associations
> between these classes?
Isn't that answered by the Javadoc showing the XSD model?

http://download.eclipse.org/modeling/emf/emf/javadoc/xsd/2.4 .1/org/eclipse/xsd/package-summary.html#details


--------------060302030706010707080401
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Gitanjali,<br>
<br>
Comments below.<br>
<br>
Gitanjali Punj wrote:
<blockquote
cite="mid:8079f4e0b3e3209f04f9c795b927cd3a$1@www.eclipse.org"
type="cite">Hi,
<br>
In the following snippet of an xsd file
<br>
<br>
&lt;xsd:schema
Re: xsd file [message #603348 is a reply to message #75889] Wed, 01 October 2008 06:44 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25999
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060302030706010707080401
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Gitanjali,

Comments below.

Gitanjali Punj wrote:
> Hi,
> In the following snippet of an xsd file
>
> <xsd:schema xmlns:bank="bank" xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="bank">
> <xsd:import namespace="http://www.omg.org/XMI"
> schemaLocation="XMI.xsd"/>
> <xsd:complexType name="banker">
> <xsd:choice maxOccurs="unbounded" minOccurs="0">
> <xsd:element name="issuesaccountto" type="bank:client"/>
> <xsd:element ref="xmi:Extension"/>
> </xsd:choice>
> <xsd:attribute ref="xmi:id"/>
> <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
> <xsd:attribute name="bankername" type="xsd:string"/>
> <xsd:attribute name="issuesaccountto" type="xsd:string"/>
> </xsd:complexType>
>
> does Schema,element,import,complexType represent classes in the
> metamodel of xsd?If yes then what are the properties and associations
> between these classes?
Isn't that answered by the Javadoc showing the XSD model?

http://download.eclipse.org/modeling/emf/emf/javadoc/xsd/2.4 .1/org/eclipse/xsd/package-summary.html#details


--------------060302030706010707080401
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Gitanjali,<br>
<br>
Comments below.<br>
<br>
Gitanjali Punj wrote:
<blockquote
cite="mid:8079f4e0b3e3209f04f9c795b927cd3a$1@www.eclipse.org"
type="cite">Hi,
<br>
In the following snippet of an xsd file
<br>
<br>
&lt;xsd:schema
Previous Topic:xsd file
Next Topic:XSDResourceImpl
Goto Forum:
  


Current Time: Wed Aug 20 14:44:34 EDT 2014

Powered by FUDForum. Page generated in 0.26712 seconds