Exam revision. in need of a kind person...

  • Thread starter Thread starter B&W
  • Start date Start date

B&W

B&W

Soldato
Joined
3 Oct 2003
Posts
7,668
Location
Birmingham
Hi, I have a mock theory paper which I have scanned and uploaded.

The exam is tomorrow and is open book, could someone please have a look through the questions and submit the answers for Questions 3 to 6.

There are only 4 answers I need and I believe for someone who is experienced at VB.NET it won't be too difficult or take too long.

The links to the uploaded paper (2 pages) are below:

http://img519.imageshack.us/img519/5053/untitledrl9.jpg

http://img519.imageshack.us/img519/5876/untitled2yz9.jpg
 
As for question 6:

1.) The <?xml version="1.0"?> header is missing the opening ? at the start of the header
2.) The <?xml version="1.0"?> header is missing the closing ? at the end of the header
3.) The closing </author> tag is missing the /
4.) The closing </retailprice> tag uses an uppercase R (xml is case sensitive so this is not valid)
5.) The closing </retailprice> tag contains a space which is not allowed in tag names.

References:
http://www.hwg.org/resources/faqs/xmlFAQ.html
http://www.w3schools.com/xml/xml_syntax.asp
 
You missed the missing closing </book_title> and the space in </Retail Price> and the closing </xml>
 
JonB said:
You missed the missing closing </book_title> and the space in </Retail Price> and the closing </xml>

No no no. </book_title> is actually closed in the original document (look at the doc again) the other tags are nested inside of it. Furthermore, things like <?blah?> is not tags in the normal sense, they're processing instructions, so aren't closed like normal tags. See the references, where they give an example xml file, and describe that. Lastly, as for the "Retail price" tag using a space -- what do you think I meant by my no. 5? :rolleyes:
 
Last edited:
Back
Top Bottom