Validating and non validating parser difference indianadatinggroup com
The exact interpretation of this requirement varied from person to person.On one extreme, the DPH was assumed to be a Web designer accustomed to writing CGI scripts without any formal training in programming who was going to hack it together in a weekend.Whichever way you interpreted the requirement, it wasn’t met.In fact, it took Larry Wall more than a couple of months just to add the Unicode support to Perl that XML assumed.
This section describes how to parse XML documents using JAXP in both DOM and SAX mode and how to parse XML documents from a servlet.
In other words, validity refers to semantics, well-formedness refers to syntax. DTDs have no way to indicate what a particular element or attribute means.
That would be the goal of efforts like Web Ontology Language.
@Quentin: that's an important point, and one that recognized XML experts agree on (lists.w3.org/Archives/Public/www-xml-linking-comments/… @Lego Stormtroopr: I agree with you, but my question was, where does the spec say so? w3.org/TR/REC-xml/#dt-valid tells what is sufficient - but not what is required - for a document to be "valid". an XML document checked against an XML Schema can be valid without having a DTD.
"The spec explicitly says ..."); but it's not entirely obvious from the XML spec. As such, this definition doesn't exclude the possibility of other ways for a document to be valid.