News for hackers. Stuff that matters.
Re:Stop ‘Using’ “Useless” ‘“‘Quotes’”’ by chrismorgan on Tuesday July 21, 2020 @01:50PM (#23909059)
Autocorrected XML? I don’t think any browsers have ever been willing to render invalid XML or XHTML that was invalid XML, though I wouldn’t write an affidavit to that effect. I can speak confidently that Firefox would always complain of any XML invalidity in your XML or XHTML document, rather than rendering it.
Re:Stop ‘Using’ “Useless” ‘“‘Quotes’”’ by 411111111111111 on Tuesday July 21, 2020 @03:05PM (#23909818)
Nor have I ever written about autocorrected XML?

I misremembered that the quotes where mandatory in html. They're only mandatory in XML.

Initially, html was also valid XML. It's been quite a long time since then, so I accepted that Quotes definitely aren't mandatory anymore.

it's not like I wrote a lot...

Or are you somehow mixing up my comment about chrome adding quotes to html attributes before it renders the DOM?

And heck, I'm not even sure if that's even still the case. I just roughly remember looking at KHTML Code Back around 2008 and thinking "that's smart, you just make certain the data is how you want it to be for easier handling"

Re:Stop ‘Using’ “Useless” ‘“‘Quotes’”’ by chrismorgan on Tuesday July 21, 2020 @03:16PM (#23909932)
Nah, HTML was never valid XML. It started from SGML and didn’t close (most?) tags. Plenty of years later, XHTML rebased HTML atop XML, but failed in its efforts to convince people that this was worthwhile.
Re:Stop ‘Using’ “Useless” ‘“‘Quotes’”’ by jimsmart on Thursday July 23, 2020 @05:16PM (#23932341)
No idea why you are downvoted, this is totally accurate.