CIS336 (also Semester 2 of CIS219, CIS221 and IT226)
Website design, implementation and management
Semester 2, 2006-7

Lectured by David Meredith

Exercises for Workshop 4 (assessed)

The following questions test your understanding of the DTD schema language. They are taken from pages 185-7 of Møller and Schwartzbach (2006). Answer all the questions and e-mail your answers to David Meredith at <> by 18:00 on Thursday 22 February 2007. If you send your answers after this deadline, you will receive zero for this portion of the first coursework.

  1. Explain the difference between a well-formed and a valid XML document.
  2. Browse through the DTD description of XHTML 1.0 Strict, which is available here, and answer the following questions:
    1. Describe in English the content model of head elements.
    2. What are the possible attributes in h3 elements?
    3. Is it required that input elements only occur inside form elements?
    4. Can a elements be nested?
  3. Write an instance document that is valid with respect to the DTD schema, store.dtd, which uses all declared elements and attributes at least once.