Uploaded image for project: 'Commons Digester'
  1. Commons Digester
  2. DIGESTER-77

[digester] Support line-precise error reporting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • Operating System: other
      Platform: Other

    • 39382

    Description

      This patch adds a very minimal and optional SAX pipeline to Digester, allowing
      the user to inject XML transformations between the parser and Digester
      processing. The original purpose is to make it possible to create a
      LocationTransformer that injects the source, line number, and column number
      pieces of information into every element through namespaced attributes, allowing
      user to have digester create their own Location objects and use the information
      for enhanced debugging.

      Incidently, this transforming pipeline hook opens digester up for more
      interesting features like supporting multiple xml formats simultaneously by
      allowing the developer to create special transformers that trigger when an old
      format is used, transforming into the latest one.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mrdon Donald J. Brown
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: