XML and Databases

COMP4317/9317
Session 1, 2008


General Information and Formal Notices

Course Information

Lecture: Thursday, 15:00-18:00 @ Law Theatre G23 (K-F8-G23)
Tutorial: Wednesday, 16:00-17:00 @ Australian School Business 232 (K-E12-232)
Thursday, 10:00-11:00 @ Hut D10 Room G01 (K-D10-G01)
Thursday, 11:00-12:00 @ Hut D10 Room G01 (K-D10-G01)
COMP4317 timetable, COMP9317 timetable

Staff Details

Lecturer: Sebastian Maneth
Consult: Friday, 11:00-12:00 (E508, L5 building, 223 Anzac Pde)
Tutorials: Thang Hoai BUI
All email to
cs4317@cse.unsw.edu.au

NEWS - Important!

12-June: Check your final marks. Congratulations, very well done! (13HD/15DN/16CR)

Lectures & Tutorials

Week    Topic     Print     Tutorials  
01 Introduction to XML, Encodings, Parsers PDF
02 Memory Representations for XML: Space vs Access Speed PDF DOM Parsing
03 Tree Traversals, XML into RDBMS mapping PDF SAX Parsing
04 DTDs, Schemas, Regular Expressions, Ambiguity
paper about Glushkov Automaton
PDF SAX Parsing & DAG (new version)
05 XML Validation using Automata
paper on DTD vs Schema vs Relax NG
PDF XML to Database
06 Node Selecting Queries: XPath 1.0
PDF Database to XML
07 Efficient XPath Evaluation
XPath to DFA (see Theorem 4.1, and esp. page 1-4 of the appendix)
PDF XPath Evaluation
08 Properties of XPath: No Reverse-Axes, Containment Tests
No backward axis: short long Containment: short long
PDF XPath & DAG
09 Streaming Evaluation: how much memory do you need? PDF Streaming XPath
10 XPath Evaluation using RDBMS PDF XPath & DFA
11 XSLT -- Stylesheets and Transforms
Answers to last year's exam, part 1
PDF XPath & SQL
12 XQuery - XML Query Language
Answers to last year's exam, part 2
PDF Questions for the last year final exam?

Assignments

Week    Topic       Due Date       Misc.   
02 Read XML using DOM parser. Create document statistics
Bonus Points
31-Mar FAQ
05 SAX Parse into Memory: Trees vs DAGs
14-Apr
07 Mapping XML to a Relational Database
28-Apr
10 XPath Evaluation over Main Memory Structures
19-May
12 XPath to SQL Translation
02-Jun

Reading Material

There will be no textbook used in this course. Instead, please use Excellent further readings, complementary to the slides: Last but not least, we will of course heavily use the W3C spec's on
CRICOS Provider Number: 00098G