ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pei Chen <chen...@apache.org>
Subject XMLSerializer Dynamic Transformer
Date Mon, 21 Sep 2015 17:52:50 GMT
Hi UIMA Dev,
We have an FHIR based application that requires Saxon XML
Transformations.  However, the
org.apache.uima.util.XMLSerializer:
Line 49:  private static final SAXTransformerFactory
transformerFactory = (SAXTransformerFactory) SAXTransformerFactory
          .newInstance();

Relies on defaulting to
"com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl".
i.e. we can't explicitly set the Transformer for UIMA (it's relying on
system wide settings only).

Can we add a method to optionally allow the UIMA XMLSerializer for an
application to dynamically inject or set the Transformer class?  I'll
be happy to supply a patch...

--Pei

Mime
View raw message