Analyst Integration Question:

Download Job Interview Questions and Answers PDF

Can you describe the difference between valid and well-formed XML?

Integration Programmer Interview Question
Integration Programmer Interview Question

Answer:

A well-formed XML is the one which has root element and all tags are closed properly, attributes are defined properly, their value is also quoted properly. On other hand, a valid XML is the one which can be validated against a XSD file or schema. So it's possible for a XML to be well-formed but not valid, because they contain tags which may not be allowed by their schema.

Download Integration Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
How do you get the last digit of an integer?What is the Liskov substitution principle?