Hacker News new | ask | show | jobs
by vog 3470 days ago
> XML really isn't that bad. Honestly. It can be (and is) parsed fast, without any schemas at all

Only if you agree upfront on some kind of "safe subset" of XML.

For example, disabling entity references helps a lot in terms of reducing complexity and protecting from protentially RAM exploding XML documents.

But parsing full featured XML is hard and opens a whole can of worms.

1 comments

Agreed, which is why XMPP does this.
Since this distiction is really important, shouldn't we consequently call it "Restricted-XML" (or "restricted-xml" as of RFC 3920) instead of XML?
Local XML.