Any way to get it to display useful
content? It would be amazing if it
would have highlighting etc., but just
displaying it as plain text should be
Without a test case I can't duplicate this behaviour. It shows a parse-tree by default in the test case I set up.
There couldn't possibly be any use in
current behaviour of stripping all
tags and displaying non-tag text as
one big block.
There's would be plenty of justification. text/xml is a valid format for things that Fx can render - not simply deliver. So, as a result, it renders them - it doesn't treat them as text. In fact, by stating the document is text/xml, you are explicitly telling Fx NOT to treat them as plain text.