deucalion0 — 2013-04-12T15:32:18-04:00 — #1
I have been experimenting with DTD's and Schema's in order to learn how to created well formed and valid XML documents. I know XML is better when its valid, but I cannot actually see why it is better? I have researched and somehow cannot find a clear answer to why it should be valid. Can anyone enlighten me as to the benefits of a valid XML document?
felgall — 2013-04-12T17:43:47-04:00 — #2
If it isn't valid then the markup is meaningless and could be interpreted in many different ways most of which will not be what you intended.
deucalion0 — 2013-04-13T08:05:02-04:00 — #3
Thank you for your answer that makes a lot of sense, so I guess without validation we have no semantics! Thanks!