Commons Digester
  1. Commons Digester
  2. DIGESTER-77

[digester] Support line-precise error reporting

    Details

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

      Operating System: other
      Platform: Other

      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.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Don Brown
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development