playframework/Play20 — pull request #520 by jroper (2012-11-06 06:00:31+00:00)
Title: [#450] Enabled namespace aware XML parsing

See https://play.lighthouseapp.com/projects/82401-play-20/tickets/450-play-20-asxml-using-setnamespaceawaretrue#ticket-450-5

My biggest question was why document builder factories aren't namespace aware by default. The only thing I could find about this was:

https://jira.springsource.org/browse/INT-310

Where Spring integration had the same issue. They decided it was safe to enable it by default, so it's probably safe for us to do so too.

We may also want to provide a mechanism for configuring the DocumentBuilderFactory, but I think that's beyond the scope of this ticket, having it namespace aware is a good default.