hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitrii (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HIVE-20685) XmlOutputFormat does not escape all required symbols in case of attribte/text
Date Wed, 03 Oct 2018 15:47:00 GMT

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

Dmitrii reassigned HIVE-20685:
------------------------------


> 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)

Mime
View raw message