users@jersey.java.net

Re: [Jersey] SAX Feature error in Jersey 1.1.4.1

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Tue, 16 Feb 2010 15:38:36 -0800

On Tue, Feb 16, 2010 at 9:54 AM, Phil Griffin <phil.griffin_at_oracle.com> wrote:
> I recently updated our Jersey jars to 1.1.4.1 and began getting a JAXP
> parser registry exception for a non-supported feature (in the factory I'm
> required to use). Is there a way to disable the
> com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider or Jersey from
> expecting this feature?
>
> WebLogicSAXParser cannot be created.SAX feature
> @ &#39;http://xml.org/sax/features/external-general-entities' not supported

Would it not be possible to configure your system to use a better
parser? Like Xerces or Woodstox/SAX?

If not, it should be possible to allow overriding SAX factory to use for Jersey.

-+ Tatu +-