XML requests can contain XML illegal characters.

Bug #787695 reported by Manuel Cerón
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
txsolr
Won't Fix
Medium
Manuel Cerón

Bug Description

Some XML requests made by txSolr may contain XML illegal characters. ElementTree don't prevent them. More information:

http://maxharp3r.wordpress.com/2008/05/15/pythons-minidom-xml-and-illegal-unicode-characters/

Manuel Cerón (ceronman)
Changed in txsolr:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Manuel Cerón (ceronman)
Revision history for this message
Esteve Fernandez (esteve) wrote :

Another way to fix this is to force JSON as the input format, which supports the whole Unicode character set. It'd also make txSolr symmetric, since the output format is JSON, not XML.

Revision history for this message
Manuel Cerón (ceronman) wrote : Re: [Bug 787695] Re: XML requests can contain XML illegal characters.

On Tue, Aug 9, 2011 at 12:34 PM, Esteve Fernandez
<email address hidden> wrote:
> Another way to fix this is to force JSON as the input format, which
> supports the whole Unicode character set. It'd also make txSolr
> symmetric, since the output format is JSON, not XML.

Yeah, that would be nice. I used XML because at the time I was
implementing txSolr, JSON update wasn't available by default.

Revision history for this message
Esteve Fernandez (esteve) wrote :

2011/8/9 Manuel Cerón <email address hidden>:
> Yeah, that would be nice. I used XML because at the time I was
> implementing txSolr, JSON update wasn't available by default.

I'm not sure if the JSON update handler is enabled by default, but it
was added in Solr 1.4.1, so I assume it won't be removed any time
soon. Switching to JSON would make request documents slightly smaller
too.

Manuel Cerón (ceronman)
Changed in txsolr:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.