Actions
Bug #12609
closedrexml attribute class is using "e instead of " when replacing " for the XML character entity "
Description
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
Actions
Like0
Like0Like0Like0Like0