On this page you will find the information for the exercises to Semistructured Data.
The exercises follow these steps:
It is important for a smooth organization of the course to have a working e-mail added in your TISS profile!
You have to upload your solution to TUWEL until the date given below (see Important dates). Later changes and "forgotten" uploads will not be considered.
For the creation and validation of your solution we recommend to use the following tools. These tools will also be used by our teaching assistants.
You are responsible that you have uploaded your solution on time to TUWEL. Solutions that have not been solved individually will be graded with 0 points!
Please don't upload additional libraries and files.
Exercise | Points | Upload until | Assignment discussions | Registration until |
---|---|---|---|---|
Registration in TISS | - | 17.03.2016 | - | - |
Exercise 1 (Example solution - Release 1) | 10 | 05.05.2016 | 09.05.2016 - 20.05.2016 | 08.05.2016 |
Exercise 2 (Example solution - Release 1) | 15 | 08.06.2016 | 10.06.2016 - 21.06.2016 | 09.06.2016 |
All deadlines are strict and end on the particular day at 11:59pm.
The assignment discussion will take place in our Frogger-, Q*Bert-, Pong and Pacman rooms of the Informatiklabor (Favoritenstraße 9-11, ground floor). Please check the location information when you register for a time-slot.
There will be Q&A sessions in the Informatiklabor with our teaching assistants. Those will be in the weeks before you have to upload exercises 1 and 2.
Day | Time | Location |
---|---|---|
Mon, 25.04.2016 | 12:00-13:00 | Informatiklabor Pong |
Tue, 26.04.2016 | 14:00-16:00 | Informatiklabor Pong |
Thu, 28.04.2016 | 16:00-16:00 | Informatiklabor Pacman |
Day | Time | Location |
---|---|---|
Wed, 01.06.2016 | 11:00-12:00 | Informatiklabor Pacman |
Thu, 02.06.2016 | 14:00-15:00 | Informatiklabor Pong |
Mon, 06.06.2016 | 13:00-14:00 | Informatiklabor Pong |
Mon, 06.06.2016 | 15:00-16:00 | Informatiklabor Pong |
TUWEL is our online tool for this course. You will need TUWEL to upload your solutions and to reserve a date and time for the assignment discussion.
The tool is available at http://tuwel.tuwien.ac.at/.
After the registration deadline in TISS we will invite you to our course in TUWEL.
Exercises 1 and 2 will be uploaded to the CourseManager. You will be able to upload your solution as a zip-file. Only the zip-file that you have uploaded last will be graded. The teaching assistants will be able to download your solution.
To reserve a timeslot for the assignment discussion is mandatory. We will open the reservation system in TUWEL a few days (in general one week) before the first assignment discussion and will be closed the day before the first assignment discussion.
We will have a sufficient amount of timeslots. Please, reserve your favorite choice as soon as possible! If you are not able to attend your timeslot without a valid excuse (e.g. sudden illnes), you will receive 0 points!
The teaching assistant will also ask questions on the topics covered in the lecture; in extreme cases it is possible to receive 0 points for a correct solution!
If you are not able to attend any of the offered timeslots, you have to give us a valid excuse to get a different timeslot (e.g. confirmation of a physician, travel documents, ...).
For solving the exercises we recommend the following tools, which will also be used by the teaching assistants during the assignment discussions.
XML files can be checked for well-formedness and validated against DTDs and XML schemas with xmllint
. The reference for this tool is located here.
Downloads are available at xmlsoft.org. Here are direct links to the Windows- and the Linux version.
For Windows users we have compiled a zip-file with all the dependencies. You only have to unzip this file and add the bin
directory to your PATH
environment variable. The zip-file can be found here: TU-xmllint-win32.zip
DOM and SAX libraries are already included in the JDK (Java Development Kit). Please make sure that your source files compile with JDK 7! This Java version is also used during your assignment discussion.
You can evaluate your XPath expression with the tool XPathWay (Version 1.01). This tool supports primarily XPath 2.0!
Notice the following for the use of namespace prefixes in your queries:
//*
selects all element nodes in the document.For the execution of XQueries and XSLT Stylesheets the XQuery- and XSLT processor Saxon can be used. Version 9 can be downloaded here. The JAR file has to be added to your CLASSPATH
environment variable.
Queries are executed with:java net.sf.saxon.Query -s:test.xml -q:xquery.xq -o:out.xml
XSLT Stylesheets are executed with:java net.sf.saxon.Transform -s:test.xml -xsl:test.xsl -o:out.xml
Any XML editor can be used during the course of this exercise. You have to be able to explain your solution!
In principle any text editor can be used for writing XML files. The editors mentioned here provide at least syntax highlighting, which helps you in the editing process. Please check the correct encoding of your files!
Here you can find a more or less random selection of possible tools. A more general overview can be found on Wikipedia: Comparison of XML editors.
If you know any good and free (at least for teaching purposes) software, write an e-mail to ssd(at)dbai.tuwien.ac.at.