User:Miriya52/week10

Refer to project glossary for acronyms and definitions. Week 9: February 6 - 10

Objectives

 * Parse basic question
 * Parse more types and more complicated questions
 * Validation checks to reject illegal inputs

Summary

 * Point 1
 * Point 2

Progress Update
GIFT basic question: //comment ::Question title ::Question{ =A correct answer ~Wrong answer1 ~Wrong answer2 ~Wrong answer3 }

simple elements defined as:  where xxx is the name of the element and yyy is the data type of the element.

Proposed XSD schema
         

Unless defined as a "sequence" or "group", the sequence of elements doesn't matter. Sequence is "questionTitle", "question", then *Responses are in order; however inside the *Response elements complexType, it should be able to occur in any sequence. Need to see if this definition works.

Eventually, I want to include feedback in the responses as follows:      <xs:sequence> <xs:element name="value" type="xs:string"/> <xs:element name="feedback" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element name="correctResponse"> <xs:element name="wrongResponse" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="value" type="xs:string"/> <xs:element name="feedback" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element name="wrongResponse"> </xs:schema>

Plan for next week

 * Point 1
 * Point 2