# Provided by the Open.Michigan initiative at the University of Michigan # Licensed under a Creative Commons Attribution 3.0 License: # http://creativecommons.org/licenses/by/3.0/. # Copyright 2009, Chuck Severance. SI502 - Assigment 9 - Data Representation Due Date: Friday April 3, at 11:55PM Answer the following questions and turn your edited document document into CTools under Assignments. If a question is confusing - feel free to comment on what confuses you w.r.t. the question. Keep the file a Text file with a .txt extension - Use your programmer editor (i.e. JEdit to edit the file). Bring this to Discussion in paper or laptop form - you can talk about the questions in Discussion and improve your answers - and then turn the assignment in after Discussion. 1) Why is XML often used as a format to move data between applications across a network? 2) For the following XML Schema, write some XML which would validate and some XML which would *fail* to validate: 3) What is the difference between xs:element and xs:complexType in XML Schema (W3C)? 4) Give an example of something that is a problem (or a bad thing) about "Browser Quirks Mode". Give an example where "Browser QUirks Mode" can be though of as good and necessary "feature". 5) Here is some XML Schema and XML that does not validate: maxOccurs="1" minOccurs="1"/> Tove Refsnes What is wrong with this XML that causes it not to validate? 6) Why are xs:dateTime values in XML Schema most commonly represented in "Greenwich Mean Time" (GMT)? 7) Give an example of where an application would make use of a Service Oriented Architecture. 8) Why is it necessary to develop standards for a Service Oriented Architecture? 9) What is an Application Programming Interface and why is it important in a Service Oriented Architecture. 10) Take the program described in class (twpals2.py) and add code so that it prints out the location field instead of the status/text field as follows; Enter Twitter Account:drchuck lancearmstrong Austin, TX My Mom (@LAK54) is in town too. Came down for Anna gbhatnag iPhone: 42.284775,-83.732422 to add to @aatorres: projects that may fall into p ... This should only be 2 or three lines of code - your changes should be very simple.