Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7154

SAXNotRecognizedException: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • fuse-6.x-GA
    • Camel
    • Low
    • % %

      There was a validation regression introduced by https://github.com/jboss-fuse/camel/commit/b4718b2b19aedfcd99537db056564c8c231aca22

      Adding 'ACCESS_EXTERNAL_DTD' leads to an issue with JAXP providers (like xerces) that do not support these new properties.

      factory.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, "");
      

      Currently this leads to an IllegalStateException.

      Backport https://issues.apache.org/jira/browse/CAMEL-11000 to change this to a simple WARN and allow the application to continue.

              janstey@redhat.com Jonathan Anstey
              rhn-support-mrobson Matt Robson
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: