[1] Description: Given an XML Schema such as the ones shown in class (schema, xml), it is a tedious and error-prone task to create an XML file that meet the requirements of the Schema definition. There have been many tools developed to make this job easier. You are to design a simple tool that takes such a schema and produce web page(s) that prompt the user to enter data according to the schema.
It will take a considerable amount of time to implement a complete program. So we are limiting the schema to make the program shorter.
In summary, you are suppose to develop two piece of codes: (1) a tool that takes a schema and produce HTML pages (with Form), and (2) A CGI program that processes the form (including some type checking).
[2] Input: Any given XML schema definition file subject to the above restrictions.
[3] Output: Web page(s) that ask for input. The input should be validated (type, occurrence, and other restrictions). If yes, the output of the CGI program should be an XML document that can be validated against the given schema.
[4] Keywords: XML, XML Schema, XML:Parser, CGI, CGI.PM.
[5] Due Date: Monday, Oct. 30, 2006.