Commons Digester
  1. Commons Digester
  2. DIGESTER-127

Allow DigesterLoader to accept an instance of a preconfigured Digester

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 3.0
    • Labels:
      None

      Description

      The problem lies in the usage of a Digester with an XSD schema combined with loading rules from an XML file with DigesterLoader.

      Digester.setSchema() is mentioned as unreliable in the javadoc, for this reason it is preferable to create a new Digester(SAXParser) and call SAXParser.setProperty("schemalocation_proprietary_property_name", mySchemaLocUrl);

      Unfortunately we cannot use this combination with DigesterLoader. Change DigesterLoader to support this scenario..

        Activity

        Hide
        Simone Tripodi added a comment -

        That is possible in the Digester3 universal DigesterLoader
        Thanks for reporting!

        Show
        Simone Tripodi added a comment - That is possible in the Digester3 universal DigesterLoader Thanks for reporting!
        Hide
        Simone Tripodi added a comment -

        included in Apache Commons Digester 3.0 release

        Show
        Simone Tripodi added a comment - included in Apache Commons Digester 3.0 release

          People

          • Assignee:
            Simone Tripodi
            Reporter:
            Guillaume Jeudy
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development