Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Kiro
on Nov 17, 2017
|
parent
|
context
|
favorite
| on:
Ask HN: What tech were you convinced would take th...
I had a look at your site and it looks like normal HTML to me, except <?xml version="1.0" encoding="UTF-8"?> at the top. How does that help anything?
nayuki
on Nov 18, 2017
|
next
[–]
The biggest difference is serving with the header "Content-Type: application/xhtml+xml". This triggers strict XML parsing in the browser, and any syntax error produces a big ugly yellow screen.
AndrewOMartin
on Nov 17, 2017
|
prev
[–]
Many sites are very subtly not normal HTML.
Kiro
on Nov 17, 2017
|
parent
[–]
Example from this site?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: