This project must be done individually. No copying is permitted. The goal of this project is to learn how to describe XML data using DTD and XML Schema. More specifically, you will use XML to describe data about an on-line auction system, create a sample XML document, describe it using DTD and XML Schema, and validate it.
You will do this project on your own PC/laptop using Eclipse. To create an XML document in Eclipse, select New, then XML File. To create a DTD or an XML Schema, select New, then Other.., go to XML, then DTD File or XML Schema File. In Eclipse, there is a way to generate a DTD automatically from an XML file: DON'T use it; you need to develop your DTD yourself.
Here are some examples:
The following web pages provide some tutorials. Use them as a reference only.
Consider an XML document that contains data about an on-line auction system, such as ebay. There are persons who can be sellers or buyers. Each person has a name phone, email, and address. There are items for sale, where each one has a unique id and one seller. For each item for sale, there is an opening (initial) price and there is a number of bids. Each bid is associated with a buyer and a bidding price.
Use the form below to submit your files.
Last modified: 03/20/12 by Leonidas Fegaras