This is an old revision of the document!
The evolution of the World Wide Web has seen an explosion of data communication technologies, protocols, and standards such as XML, DTDs, XML Schema, XPath, XSLT, DOM, SAX, RDF, OWL, … . In this course we decipher this alphabet soup of web technologies. The global goal is to obtain both a fundamental insight into the formal theory behind these technologies as well working knowledge of how they are used in practice.
The main course objectives and developed competences, as well as the examination modalities are summarized in the course plan (general course information document).
In this first lecture (slides) we (1) overview the content and objectives of the course and (2) discuss the history of the Web and its overall architecture (URIs, resources, representations). In particular we have looked at the working of the HTTP protocol and gave a very brief overview of HTML and CSS.
Required reading:
Lecture 2 has introduced XML and XPath in depth.
Required reading:
Lecture 3 has introduced (1) the motivation behind XML Schema Languages, (2) syntax and semantics of DTDs, and (3) regular expressions.
See pages 92-113 in the book as well as the corresponding slides.
In Lecture 4, we have discussed the limitations of DTDs. Some of these limitations are lifted by XML Schema, whose syntax and semantics were studied during lecture 4.
See pages 113-158 in the book as well as the corresponding slides.
The example XML Schema files used during the theory lecture is also available for download.
Construct an XML Schema Definition for the information recorded by a bookshop (full assignment).
This assignment is to be made in groups of two persons and contributes 2/20 to the overall grade (there are two more assignments to follow, each contributing 2/20). The written exam contributes the remaining 14/20 points.
See the full assignment for related dealine(s), what the solution should entail, and to whom it should be submitted).
java -jar DTDValidator.jar <xmldoc>
or java -jar XSDValidator.jar <schemadoc> <xmldoc>
to validate. The third jar file contains the source code, should you be interested.
You can test your Xpath query in the folder containing saxon9he.jar with the following command: java -cp “saxon9he.jar” net.sf.saxon.Query -s:“<sourcefile>” -qs:'<query>' -o:“<outputfile>”