Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6289671

JAXP needs a better story around converting APIs

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Future Project
    • Affects Version/s: 1.3.0
    • Fix Version/s: 5.0
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      There's often a need to convert XML infoset from one API to another, such as converting SAX events to DOM, or reading DOM as StAXReader, or use StAXWriter to build a DOM.
      Today, none of this is easy. I saw these pieces re-implemented many, many times.

      Identity transformation isn't easy enough. Besides the number of lines you need to do it (and maintaining per-thread instance of identity transformer), from average Joe's stand point, API conversion is *NOT* a transformation.

      It could be just a series of helper methods on Source. Or maybe on Result.
      ###@###.### 2005-06-22 23:56:32 GMT

        Attachments

          Activity

            People

            • Assignee:
              nbajajsunw Neeraj Bajaj (Inactive)
              Reporter:
              kkawagucsunw Kohsuke Kawaguchi (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: