A
Arpan
I came across the following statement at
http://windowssdk.msdn.microsoft.com/en-us/library/hdf992b8.aspx:
Although an XML document is considered to be well formed if it meets
all the syntactical requirements defined by the World Wide Web
Consortium (W3C) Extensible Markup Language (XML) 1.0 Recommendation,
it is not considered valid unless it is well formed and also conforms
to the constraints defined by its DTD or schema. Therefore, although
all valid XML documents are well formed, not all well-formed XML
documents are valid.
Can someone please explain me the above preferably with small examples?
Thanks,
Arpan
http://windowssdk.msdn.microsoft.com/en-us/library/hdf992b8.aspx:
Although an XML document is considered to be well formed if it meets
all the syntactical requirements defined by the World Wide Web
Consortium (W3C) Extensible Markup Language (XML) 1.0 Recommendation,
it is not considered valid unless it is well formed and also conforms
to the constraints defined by its DTD or schema. Therefore, although
all valid XML documents are well formed, not all well-formed XML
documents are valid.
Can someone please explain me the above preferably with small examples?
Thanks,
Arpan