Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-2269

public to non-public in Xalan-J serializer

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.7.1
    • Serialization
    • None
    • PatchAvailable

    Description

      Some of the public methods/classes that were previously declared as non-final in 2.5.x have been made final in the 2.7+

      It would be great if they were left non-final

      -excerpt-
      "public" classes that I'd like to see become package-private.
      Is anyone using these directly?
      This is my area of greatest concern so it will probably be left as
      "public".
      ==========================================================

      • ToHTMLStream
      • ToTextStream
      • ToXMLStream
        -excerpt-

      Unfortunately, we are using what Brian has proposed as a feature change (we were on 2.5.1 and have recently moved to 2.7.x)

      We had (and still do) have a need to extend the ToXMLStream class to perform a number of tasks.
      In 2.7.x, it's now declared as final. So, for implementation that requires custom XML serialization, what is the general guideline for implementing those serializer?

      It would be nice if we can leverage some of the code that's already implemented by Apache.

      Thanks.

      Attachments

        1. patch.txt
          0.9 kB
          Brian Minchau

        Activity

          People

            minchau@ca.ibm.com Brian Minchau
            toadie Toadie D
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: