You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/04 12:23:00 UTC
[jira] [Updated] (HIVE-20685) XmlOutputFormat does not escape all
required symbols in case of attribte/text
[ https://issues.apache.org/jira/browse/HIVE-20685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-20685:
----------------------------------
Labels: pull-request-available (was: )
> XmlOutputFormat does not escape all required symbols in case of attribte/text
> -----------------------------------------------------------------------------
>
> Key: HIVE-20685
> URL: https://issues.apache.org/jira/browse/HIVE-20685
> Project: Hive
> Issue Type: Bug
> Reporter: Dmitrii Khekk
> Assignee: Dmitrii Khekk
> Priority: Minor
> Labels: pull-request-available
>
> Currently it escapes only " and < while & also must be escaped in case of attribute/text based on [1].
> At the same time both " and ' are not required to be encoded for case of element text while for xml attribute one of them should be depending on attribute quote type.
> Also > must be escaped if there is a sequence ]]> inside text or attribute value which is not a part of CDATA
> [1] https://www.w3.org/TR/2008/REC-xml-20081126/#syntax
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)