News for hackers. Stuff that matters.
Re:Deprecating XML by Groxx on Wednesday November 17, 2010 @09:43PM (#1916636)
XML spec: http://www.w3.org/TR/REC-xml/#sec-conformance

>Conforming XML processors fall into two classes: validating and non-validating.

Yup, that's a guarantee alright. A guarantee consisting of the people who wrote the parser agreeing to write DTD-parsing code. Or not. Depends on your parser.

It has a specification for validation because a specification for validating it has been written, based on agreement of the specification and implementation by the parsers, not because XML has some inherent, magical validatability quality.

edit: this is all on top of that a spec is just a spec until someone implements it. Plenty of specs have been chucked because others did something else, or have attributes which nobody implements (how many email forms accept the full RFC-compliant email set?). A spec is an abstract agreement.

Re:Deprecating XML by dfox on Thursday November 18, 2010 @06:30AM (#1917459)
I have never seen anything that implements validating XML parser as intended by specification and is actually used in production code. Half of XML consumers I've seen in production implement namespaces in various broken ways (like depend on exact values of prefixes)
Re:Deprecating XML by vilya on Thursday November 18, 2010 @10:09AM (#1917964)
Well-formedness is a separate issue from validation. All XML parsers are required by the spec to reject documents that aren't well formed. You can think of it as the lexical analysis rules for XML, whereas validation is the parsing (if that helps).