lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SOLR-431) Add the ability to disable XML escaping in XMLWriter
Date Sun, 17 Feb 2013 16:57:13 GMT

     [ https://issues.apache.org/jira/browse/SOLR-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Erick Erickson closed SOLR-431.
-------------------------------

    Resolution: Won't Fix

Cleaning up old JIRAs, re-open if necessary. XML escaping has been rehashed extensively in
the last 5 years.
                
> Add the ability to disable XML escaping in XMLWriter
> ----------------------------------------------------
>
>                 Key: SOLR-431
>                 URL: https://issues.apache.org/jira/browse/SOLR-431
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Kevin Osborn
>            Priority: Minor
>         Attachments: XMLWriter.diff
>
>
> This is definitely not the prettiest way to do things, but it is by far the simplest.
In April, 2006, Erik Hatcher added a fix to Solr that properly escaped all XML attributes
in the response. However, we have a specific instance where we do not want to escape the XML.
We are injecting some additional elements into the XML. The escaping function, however, escapes
these XML elements. So, I would like to add an additional XMLWriter.writeResponse function
that has a boolean flag to turn off the escaping function. I will still keep the current signature,
so nothing should break.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message