Live data from Hacker News

JSON vs. XML

corecursive.com

251–252 of 252 posts

Re: JSON vs. XML

#251
post #250

Earlier quoted context omitted.

this is exactly my point html is not precisely defined

I think you're missing the point that it is defined, the current html5 spec says that implies the existence of , implies the end of , body tags imply the end of and the start of etc. HTML5 is not XHTML. Title Heading expands to Title Heading

if `A Heading` is equivalent to `A Heading` then this means the language is not precisely defined

Re: JSON vs. XML

#252
post #246

Earlier quoted context omitted.

No, because the closing tag can be omitted according to the current HTML spec. See https://html.spec.whatwg.org/#optional-tags

this is exactly my point html is not precisely defined

Sorry I don't understand your argument. HTML is fully and unambiguously defined, as you can see if you follow the link. Some tags are optional in certain contexts, but this is also precisely defined.
Post reply on HN