You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "scott chu (JIRA)" <ji...@apache.org> on 2016/05/20 13:53:12 UTC

[jira] [Created] (SOLR-9138) CDATA should be requisite for text/string field type in xml-format result set

scott chu created SOLR-9138:
-------------------------------

             Summary: CDATA should be requisite for text/string field type in xml-format result set
                 Key: SOLR-9138
                 URL: https://issues.apache.org/jira/browse/SOLR-9138
             Project: Solr
          Issue Type: Bug
    Affects Versions: 5.4.1
            Reporter: scott chu
            Priority: Critical


text or string field type constantly have some character might confilct with xml specification, especially for DBCS language data. In my case and experience, I always add CDATA around the contents of  string or text fileds may contains Chinese  contents. This will always any pass xml parsers. But I see xml-format result set of Solr 5.4.1 doesn't do this by default. The result set would have high possibility that it will not pass the xml parsers. I think CDATA for text/string fields should be a requisite. Better provide a patch ASAP. You can't only consider english contents cause they are not DBCS.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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