Identify the errors in XML code.

Q10. Identify the errors in the following code:

<?XML version=”1.0”>

<Message date=”8/6/2011”>






<BODY> Welcome to Kogent Pvt.Ltd </Body>


Ans. The prolog part of the document contains the error. The word xml is a reserved keyword and cannot be written as XML (capital case).

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: