Yeah, this StaxSource.java is really helpful.
My original thought is setup SAXParserFactory to create a security safe
XMLReader and then create SAXSource from it. With the help of StaxSource, it
saves me lots of time ;)
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://w
On Jan 22, 2014, at 9:55 PM, Willem Jiang wrote:
> Hi Dan,
>
> You are right, I did some test (by running the example inside Karaf) and
> confirmed Xalan 2.7.1 doesn’t support StaxSource. I will keep digging the
> code to find a better solution for it.
You may want to try grabbing the StaxSo
Hi Dan,
You are right, I did some test (by running the example inside Karaf) and
confirmed Xalan 2.7.1 doesn’t support StaxSource. I will keep digging the code
to find a better solution for it.
Regards,
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogsp
Willem,
Can you try these changes with Xalan 2.7.1 on the class path? Possibly in
OSGi with the Xalan 2.7.1 bundle?
I don’t think Xalan actually supports StaxSource. I believe the in-jdk
transformer does, but Xalan doesn’t.It would be good to double check and
then see if we can detect