Project

General

Profile

Actions

Bug #11176

closed

Hardcoded settings in REXML

Added by tomasbedrich (Tomáš Bedřich) almost 9 years ago. Updated over 5 years ago.

Status:
Closed
Target version:
-
[ruby-core:69346]

Description

XMLDecl has hardcoded single qoutes (see here: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/entry/lib/rexml/xmldecl.rb#L109). So it is impossible to set document-wide double quoting.


Related issues 1 (0 open1 closed)

Is duplicate of Ruby master - Bug #9367: REXML::XmlDecl doesn't use user specified quotesClosedkou (Kouhei Sutou)Actions

Updated by nobu (Nobuyoshi Nakada) almost 9 years ago

  • Status changed from Open to Assigned
  • Assignee set to kou (Kouhei Sutou)

Why is it a problem?

Actions #2

Updated by duerst (Martin Dürst) almost 9 years ago

  • Is duplicate of Bug #9367: REXML::XmlDecl doesn't use user specified quotes added
Actions #3

Updated by kou (Kouhei Sutou) over 5 years ago

  • Status changed from Assigned to Closed

I've implemented :prologue_quote context option. Available values are :quote and :apostrophe.

https://github.com/ruby/rexml/commit/e89702294881a8aedb15905d8a85137876749f7f

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0