Professional Documents
Culture Documents
net/publication/269572810
CITATION READS
1 141
1 author:
Doha Malki
Université Hassan 1er
5 PUBLICATIONS 4 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Doha Malki on 15 December 2014.
2
Department of Mathematics and Computer Science, University Hassan 1st, Faculty of Sciences and Technology
Settat, 2600, Morocco
3
Department of Mathematics and Computer Science, University Hassan 1st, Faculty of Sciences and Technology
Settat, 2600, Morocco
_______________________________________________________________________________________
2014 International Journal of Computer Science Issues
IJCSI International Journal of Computer Science Issues, Volume 11, Issue 6, No 1, November 2014
ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784
www.IJCSI.org 69
Table -1: general syntax of aggregation refered to [5] Table -2: general syntax of composition refered to [5]
<xsd:complexType name = “ PART_Type” > <xsd:complexType name = “ WHOLE_Type” >
... ...
</xsd:complexType> <xsd:element name = “ PART_Name” maxOccurs=”unbounded”/>>
<xsd:complexType name = “ WHOLE_Type” > <xsd:complexType>
<xsd:element name = “PART_Name” type = ...
“xsd:PART_Type” maxOccurs= _ unbounded_ /> </xsd:complexType>
... </xsd:complexType>
</xsd:complexType>
_______________________________________________________________________________________
2014 International Journal of Computer Science Issues
IJCSI International Journal of Computer Science Issues, Volume 11, Issue 6, No 1, November 2014
ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784
www.IJCSI.org 70
</key> </xsd:complexType>
</xsd:complexType> </xsd:sequence>
</xsd:element> <xsd:attribute name = "order" type ="xsd:integer"
</xsd:schema> use="required"/>
</xsd:complexType>
3.3. Composition XML schema : <key name=" Pusrchase_order_PK">
<xsd:selector xpath=".// Pusrchase_order "/>
<xsd:schema <xsd:field xpath="@order"/>
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> </key>
<xsd:element name="Purchase_order"/> </xsd:complexType>
<xsd:complexType> </xsd:element>
<xsd:sequence> </xsd:schema>
<xsd:element name = "shipping" type
="xsd:string"/> Related to the XML schema, we summarize the complex
<xsd:element name = "toCity" type ="xsd:string"/> type informations in the following table: (see table4)
<xsd:element name = "toStreet" type
="xsd:string"/> AE_XML(complextype(CTn), element/attribute(AE), type,
<xsd:element name = "toZip" type ="xsd:integer"/> occurrence(OCC), key, relationship(rel)p, CT2(dirCT)).
<xsd:element name = "Orderlineitem" Where : CTn: name of complex type; AE: set of attributes
maxOccurs="unbounded"/> and elements of CTn; type: is the type of AE; occ: the
<xsd:complexType> multiplicity that CT2 participate in relationship with CT1,
<xsd:attribute name = "line" type = "xsd:integer" rel: type of relationship between CT1 and CT2, dirCT is the
use = "required"/> name of CT2
<xsd:element name = "quantity" type
="xsd:integer"/>
Table4: AE_XML : a list of all elements and attributes in the xml schema aggregation and composition
Complextype (CTn) Attribute/Element Type Occurrence key Relationship (rel) CT2 (dirCT)
(AE) (occ)
identification string
Customerassociation description string
Customer Customer 1..15 AG Customer
customerId integer PK
Customer customerName string
phone integer
order integer PK
shipping string
toCity string
Puschase_order
toStreet string
toZip integer
Orderlineitem Orderlineitem unbounded CM Orderlineitem
line integer PK
Orderlineitem
quantity integer
_______________________________________________________________________________________
2014 International Journal of Computer Science Issues
IJCSI International Journal of Computer Science Issues, Volume 11, Issue 6, No 1, November 2014
ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784
www.IJCSI.org 72
Our proposed method describes a process from the Mohamed Bahaj He is a full Professor in Department of
conceptual model to the implementation in the classes. With Mathematics and Computer Sciences from the University Hassan
1st Faculty of Sciences & Technology Settat Morocco. He is co
this method, the results preserve the semantics specified in chairs of International Conference on Software Engineering,
the conceptual level, either to XML or ODL. Databases and Expert Systems (SEDEXS’12) , NASCASE’11. He
has published over 60 peer-reviewed papers. His research interests
Our future work, will be on developing a better mapping are intelligents systems, Ontologies Engineering, Partial and
differential equations, Numerical Analysis and scientific computing.
taking into account the definition ODL (OBJECT
DEFINITION LANGUAGE), allowing to establish Ilyas Cherti He is a full Professor in Department of Mathematics
correspondences between concepts that were not taken into and Computer Sciences from the University Hassan 1st Faculty of
account such as relationship one_to_many, many_to_many, Sciences & Technology Settat Morocco. His research interests are
inheritance, besides the addition of these concepts allows to intelligents systems, partial and differential equations. He has
organized various national and international events.
specifically identifies semantic links between elements and
to provide information regarding the life cycle thereof.
REFERENCES
[1] Cattel, R. G. G. and Barry, D., “The Object Data Standard:
ODMG 3.0, Morgan Kaufmann”, 2000.
[2] Woo-Shin Han, Ki-Hoon Lee, Byung Suk Lee: “An XML
Storage System for Object-Oriented /Object-Relational
DBMSs”, in Journal of Object Technology, vol. 2, no. 3, May-
June 2003, pp. 113-126
[3] Xiou, R., Dillon, T.S., Chang, E., and, Feng, L. “Modeling and
Transformation of Object-Oriented Conceptual Models into
XML Schema”, DEXA 2001, Springer-Verlag, 2001, 795-804.
[4] Taher Naser, Reda Alhajj, Mick J. Ridley “Two-Way Mapping
between Object-Oriented Databases and XML”. Informatica 33
(2009) 297–308.
[5] Eric Pardede, J.Wenny Rahayu, David Taniar “On Using
Collection for Aggregation and Association Relationships in
XML Object-Relational Storage”, SAC’04 March 14-17, 2004,
Nicosia, Cyprus.
[6] J. Fong, F. Pang, and C. Bloor, “Converting Relational
Database into XML Document,” Proc. of the International
Workshop on Electronic Business Hubs, pp61-65, Sep. 2001.
[7] T.-S. Chung, S. Park, S.-Y. Han, and H.-J. Kim. “Extracting
Object-Oriented Database Schemas from XML DTDs Using
Inheritance,” Proc. of the International Conference on
Electronic Commerce and Web Technologies, pp.49-59, 2001.
[8] Artur Afonso de Sousa; José Luís Pereira, and João Carvalho,
"From ODL Schemas to XML-SCHEMA Schemas: A First Set
of Transformation Rules", Proc. of the XXII International
Conference of the Chilean Computer Science Society
(SCCC’02),
[9] Biron, P. and Malhotra, A.: “XML Schema Part 2: Datatypes”,
May 2001 (available from http://www .w3.org/ TR/
xmlschema-2).
[10]Fallside, D.: XML Schema Part 0: Primer, May 2001
(available from http://www.w3.org/TR/xmlschema-0).
[11]Thompson, H. et al.: XML Schema Part 1: Structures, May
2001 (available from http://www.w3.org/TR/ xmlschema-1).
[12]Roderic Geoffrey Galton Cattell,Douglas K. Barry, “The
Object Data Standard: ODMG 3.0”
[13]UML Semantics version 1.1, available from Rational's web-
site: http://www.rational.com/uml , September 1997.
[14]M.F. Golobisky, A. Vecchietti/Proc. of Argentine Symposium
on Software Engineering (2005) 65-79 65, "Mapping UML
Class Diagrams into Object-RelationalSchemas",
[15]M. Naci Akkøk "From ODL/OO-DBMS Design to Relational
Designs & Object-Relational Database Systems (ORDBS)"
25/2-2003, 20/2-2004 and 14/2-2005.
_______________________________________________________________________________________
2014 International Journal of Computer Science Issues