Which of the following statements is/are true? P : An XML document with correct syntax as specified by W3C is called "Well Formed". Q : An XML documented validated against a DTD is both "Well formed" and "Valid". R : <xml version="1.0" encoding="UTF-8"> is syntactly correct declaration for the version of an XML document. Select the correct answer from the options given below : P Q
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. and only P R
Explanation
Syntactically correct XML is well-formed, and XML validated against a DTD is both well-formed and valid. The declaration must be <?xml version="1.0" encoding="UTF-8"?>, so R is wrong.
More Data Communication and Computer Networks questions
- A fully connected network topology is a topology in which there is a direct link between all pairs of nodes. Given a fully connected n netw…
- What is the name of the protocol that allows a client to send a broadcast message with its MAC address and receive an IP address in reply?
- You are designing a link layer protocol for a link with a bandwidth of 1 Gbps (109bits/second) over a fiber link with a length of 800 km. A…
- You need 500 subnets, each with about 100 usable host addresses per subnet. What network mask will you assign using a class B network addre…
- Consider the following two statements with respect to IPv4 in computer networking : P: The loopback (IP) address is a member of the class B…
- In the TCP/IP model, encryption and decryption are functions of the ____ layer.