- From: Paul Alagna <pjalagna@gmail.com>
- Date: Sun, 3 Mar 2024 22:59:11 -0500
- To: W3C AIKR CG <public-aikr@w3.org>
Received on Monday, 4 March 2024 03:59:27 UTC
A well-formed XML file adheres to the syntax rules of XML, meaning it follows the basic structural requirements such as having a single root element, properly nested elements, attribute values enclosed in quotes, and empty elements closed with a slash, among others. A well-formed XML file doesn't necessarily adhere to any specific rules about the data content or structure beyond these basic syntax requirements. On the other hand, a valid XML file not only meets the criteria of being well-formed but also conforms to a defined schema or Document Type Definition (DTD). This schema defines the structure and content constraints for the XML document, specifying what elements are allowed, what attributes they can have, their order, and any other constraints on the data. > On Mar 3, 2024, at 9:22 PM, Paola Di Maio <paola.dimaio@gmail.com> wrote: > > what is the difference between a valid xml file AND a well formed XML file
Received on Monday, 4 March 2024 03:59:27 UTC