You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Kevin Osborn (JIRA)" <ji...@apache.org> on 2007/12/08 01:27:43 UTC

[jira] Updated: (SOLR-431) Add the ability to disable XML escaping in XMLWriter

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

Kevin Osborn updated SOLR-431:
------------------------------

    Attachment: XMLWriter.diff

> 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.
-
You can reply to this email to add a comment to the issue online.