Is there any difference between 'valid xml' and 'well formed xml'?

前端 未结 14 2705
清酒与你
清酒与你 2020-11-21 04:43

I wasn\'t aware of a difference, but a coworker says there is, although he can\'t back it up. What\'s the difference if any?

14条回答
  •  走了就别回头了
    2020-11-21 05:43

    In addition to the aforementioned DTD's, there are 2 other ways of describing and validating XML documents are XMLSchema and RelaxNG, both of which may be easier to use and support more features than DTD.

提交回复
热议问题