by vog · 9y ago · 0 comments
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.