Abstract:
XML Schem
a is an XML schema language used
mainly to describe the content model
of an XML element. A content model usually
specifies information about sub-elements and
their relationships or structur
e. However, in real-world XM
L documents there are others
kinds of information or relationships that need
to be specified, e.g., th
e content value of an
element is equal to the summation of those of
some other elements. This kind of relationship
is called a semantic constraint. This study firs
t proposes a framework that can represent such
semantic constraints by enhancing XML Schema.
A technique is then developed to model an
XML Schema with semantic constraints and validate an XML document against it. Finally,
an electronic-form submission system with se
mantic constraint validation is designed and
implemented in order to demonstrate the a
pplication and the usef
ulness of the proposed
framework and technique.