AXIOM-503: Partial cherry-pick of 1125d28

This commit just cherry-picks the StAX dialect detector update to
support Woodstox 6. Because of an incompatible change in stax2-api, it's
not possible to run the dialect detector tests for Woodstox 6 and
previous versions.
1 file changed