Analyst Integration Question:

Can you please explain 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.


Previous QuestionNext Question
Explain Immutable class mean?Explain about SQL injection?