Homework 1

  1. Look at the web page http://www.w3.org/TR/1999/REC-xml-names-19990114/ that describes the syntax for XML namespaces in a form of EBNF. Note that some of the links take you to a page that describes general XML syntax. The differences from the EBNF given in the book are as follows:
  2. Rewrite the rules 4, 6, 9, and 13 in original BNF notation using recursion to replace iteration. Try to use as few additional rules as possible.
  3. Draw syntax diagrams for the original EBNF rules.

Assignment due: Monday, February 5th., in class.