From: usa@... Date: 2016-08-16T04:39:36+00:00 Subject: [ruby-core:76909] [Ruby trunk Bug#12609] rexml attribute class is using "e instead of " when replacing " for the XML character entity " Issue #12609 has been updated by Usaku NAKAMURA. Backport changed from 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: REQUIRED, 2.2: DONE, 2.3: REQUIRED ruby_2_2 r55922 merged revision(s) 55726,55727. ---------------------------------------- Bug #12609: rexml attribute class is using "e instead of " when replacing " for the XML character entity " https://bugs.ruby-lang.org/issues/12609#change-60139 * Author: Joseph Marrero * Status: Closed * Priority: Normal * Assignee: Kouhei Sutou * ruby -v: * Backport: 2.1: REQUIRED, 2.2: DONE, 2.3: REQUIRED ---------------------------------------- lib/rexml/attribute.rb to_string method is using "e instead of " when replacing double quotes. https://www.w3.org/standards/xml/core States: " In XML, there are only five built-in character entities: <, >, &, " and ' for <, >, &, " and ' respectively. " Notice it is " and not "e Also here is an exaple (http://www.w3schools.com/xml/xml_attributes.asp) on how to use quotes, notice ", ' and " are mentioned not "e this follows the above spec. The included patch fixes the simple issue. ---Files-------------------------------- quot-change.patch (557 Bytes) -- https://bugs.ruby-lang.org/ Unsubscribe: