If newSchema is called should we serialize the source? Sun JDK does trax but not validation for StAXSource :<
If newSchema is called should we serialize the source? Sun JDK does trax but not validation for StAXSource :<
JDK 1.7 shares the StAX love though.
If scales.newSchemaShouldSerialize is defined its value is used.
Otherwise we examine the implemenation version of jaxp schemafactory, 1.5 and 1.6 need to serialize, 1.7 (and hopefully above _) don't.
If the transformer is Xalan then serialize before creating a source
Lazy val needed to trap impl, need pluggable (slf4j style) to swap out different logic, defaulting to sun jaxp ? For a future version, env property is enough for now.