What is well-formedness and validity in the context of


1. Imagine that you are asked to provide advice on implementing web services for a site. Discuss the merits and drawbacks of SOAP- and REST-based web services and for XML versus JSON as a REST data format.

2. Let us design our own CarML language. Define XML tags for describing your car and your friends' cars using these tags. Think about what properties should be defined as attributes and what properties are best described as elements. Make sure your documents are well-formed.


3. Define an XML DTD for CarML. You may want to revisit XML documents you defined in the previous exercise and rethink the element and attribute structure as you are defining the DTD. In the end, all your car specifications should be valid XML documents.

4. Define an XML Schema equivalent to the XML DTD from the previous exercise. Compare the two.

5. Are there constraints that can be expressed using XML Schema but not DTD? Provide examples.

6. What type of element should be used in an XML schema for the following XML document?

To: Bob Roberts

Lawn Maintenance

August 3

We will be out to mow your lawn this weekSee you then! Warm regards, Lee

7. Construct a threat model for an online ticket reservation system. For each threat, include an attacker profile (goal, experience, resources), the specific objective of the attack, the possible methods of attack, and the harm that would result from a successful attack.

8. What is well-formedness and validity in the context of XML? How do they differ? Is every well-formed document valid? Why? Is every valid document well-formed? Why?

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: What is well-formedness and validity in the context of
Reference No:- TGS01198055

Expected delivery within 24 Hours