You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Dmitrii (JIRA)" <ji...@apache.org> on 2018/10/03 15:48:00 UTC
[jira] [Work started] (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 ]
Work on HIVE-20685 started by Dmitrii.
--------------------------------------
> 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
> Assignee: Dmitrii
> Priority: Minor
>
> 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)