Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1648

Rename XMLWriter (and XMLResponseWriter) to SolrXmlResponseWriter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.2, 1.3, 1.4
    • None
    • Response Writers
    • None
    • My local MacBook pro over the Christmas Break.

    Description

      The current XMLWriter class is kind of a misnomer. It's not a generic XMLWriter by any means, and that's not its intention. Its intention is to write instances (as responses) of a particular XML schema that SOLR clients (written in Java, Python, pick-your-favorite-programming-language) that speak its XML protocol can understand. So, we should rename it to SolrXmlResponseWriter to indicate its unique XML speak.

      Morever, as part of the next issue I'm going to report (refactoring all ResponseWriters to be a bit more friendly), we should probably do away with the current XmlResponseWriter (which simply delegates to XmlWriter – eeep) and just stick with SolrXmlResponseWriter. Patch forthcoming.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chrismattmann Chris A. Mattmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: