1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
kou 1d67b9de28 rexml: disable XPath 1.0 compatible "#{ELEMENT_NAME}" processing by default
It breaks backward compatibility than I thought. So it's disabled by
default. It means that REXML's XPath processor isn't compatible with
XPath 1.0. But it will be acceptable for users.

We can enable it by specifying "strict: true" to
REXML::XPathParser.new explicitly.

* lib/rexml/xpath.rb,
  lib/rexml/xpath_parser.rb: Accept "strict: true" option.

* test/rexml/test_contrib.rb,
  test/rexml/xpath/test_base.rb: Use not XPath 1.0 compatible behavior.

* test/rexml/test_jaxen.rb: Use XPath 1.0 compatible behavior.

* test/rss/test_1.0.rb,
  test/rss/test_dublincore.rb,
  spec/ruby/library/rexml/element/namespace_spec.rb,
  spec/ruby/library/rexml/element/namespaces_spec.rb,
  spec/ruby/library/rexml/element/prefixes_spec.rb: Enable again.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-04-28 01:36:18 +00:00
..
cgi Use printf instead of puts and sprintf 2017-12-12 15:01:04 +00:00
drb If host of URI is omitted, make it with IP address. 2018-03-17 15:13:39 +00:00
forwardable forwardable/impl.rb 2016-11-20 02:12:48 +00:00
irb irb.rb: restore the last error 2018-04-14 13:05:52 +00:00
matrix get rid of ambiguous parentheses warnings 2016-11-29 16:06:54 +00:00
net net/imap: set SO_KEEPALIVE on TCP sockets 2018-04-22 21:21:06 +00:00
optparse
racc Fixed misspelling words. 2017-10-22 11:27:06 +00:00
rdoc fix regexp introduced at recent RDoc update (r62924). 2018-03-28 03:18:00 +00:00
rexml rexml: disable XPath 1.0 compatible "#{ELEMENT_NAME}" processing by default 2018-04-28 01:36:18 +00:00
rinda Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
rss Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
rubygems lib/rubygems/test_case.rb: take over @gem_prelude_index 2018-04-05 09:48:16 +00:00
shell Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
unicode_normalize update Ruby to Unicode 10.0.0 2017-09-06 07:56:41 +00:00
uri [DOC] Fix capitallizing [ci skip] 2018-04-25 14:00:47 +00:00
webrick repatch r62966 and r62969. 2018-04-03 10:22:45 +00:00
yaml
.document Ignore gemspec under the lib directory for documentation. 2017-12-12 08:34:13 +00:00
abbrev.rb lib/abbrev.rb: Specify frozen_string_literal: true. 2017-02-09 16:12:00 +00:00
base64.rb Use unpack1 instead of unpack and first 2017-02-10 00:58:47 +00:00
benchmark.rb lib/benchmark.rb: Specify frozen_string_literal: true. 2017-01-03 02:00:01 +00:00
cgi.rb {lib,test}/cgi: Specify frozen_string_literal: true. 2017-02-18 05:52:16 +00:00
cmath.gemspec Bump version to cmath-1.0.0 as default gems. 2017-12-11 03:27:47 +00:00
cmath.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
csv.gemspec Bump version to csv-1.0.0 as default gems. 2017-12-13 05:24:01 +00:00
csv.rb Improve CSV performance 2018-03-18 10:28:58 +00:00
debug.rb lib/debug.rb: Specify frozen_string_literal: true. 2017-01-05 01:00:01 +00:00
delegate.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
drb.rb
e2mmap.rb lib/e2mmap.rb: Specify frozen_string_literal: true. 2017-03-01 11:37:30 +00:00
English.rb $IGNORECASE is no longer effective. [ci skip] 2017-08-25 15:47:04 +00:00
erb.rb erb.rb: relax warn level of ERB.new 2018-02-28 12:12:20 +00:00
fileutils.gemspec Bump up fileutils-1.0.2 2017-12-22 08:00:10 +00:00
fileutils.rb [DOC] Fix links of cve [ci skip] 2018-04-16 10:20:15 +00:00
find.rb Find.find -> Use Dir.children instead of Dir.entries 2017-09-15 17:00:49 +00:00
forwardable.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
getoptlong.rb getoptlong.rb: multiline regexps 2017-09-02 02:05:34 +00:00
ipaddr.gemspec Import ipaddr 1.2.0 2017-10-21 13:34:19 +00:00
ipaddr.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
irb.rb irb.rb: restore the last error 2018-04-14 13:05:52 +00:00
logger.rb logger: use safe navigation operator 2018-01-18 00:52:01 +00:00
matrix.rb lib/matrix.rb: Document deprecated methods [#12032] [doc] [ci-skip] 2018-02-06 23:47:49 +00:00
mkmf.rb Improve mkmf error message 2018-04-02 04:44:35 +00:00
monitor.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
mutex_m.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
observer.rb lib/observer.rb: Specify frozen_string_literal: true. 2017-01-13 12:08:29 +00:00
open-uri.rb open-uri: clear string after buffering 2018-01-08 01:11:33 +00:00
open3.rb lib/open3.rb: accept IO-like object for :stdin_data argument. 2017-10-21 07:00:58 +00:00
optionparser.rb
optparse.rb optparse.rb: froze string literals 2018-01-26 03:41:04 +00:00
ostruct.rb lib/ostruct.rb: Use FrozenError instead of RuntimeError. 2018-02-06 23:52:30 +00:00
pp.rb Requiring pp is not required now [ci skip] 2017-12-18 01:51:53 +00:00
prettyprint.rb
prime.rb prime.rb: remove alias after timeout test 2017-05-20 10:21:44 +00:00
profile.rb lib/profile.rb: Specify frozen_string_literal: true. 2017-01-15 02:56:04 +00:00
profiler.rb lib/profiler.rb: Specify frozen_string_literal: true. 2017-01-18 12:35:10 +00:00
pstore.rb lib/pstore.rb: Specify frozen_string_literal: true. 2017-01-17 12:47:38 +00:00
rdoc.rb Merge RDoc 6.0.3 from upstream. 2018-03-26 05:56:26 +00:00
resolv-replace.rb
resolv.rb resolv.rb: remove rangerand 2018-03-06 03:31:46 +00:00
rss.rb
rubygems.rb Merge RubyGems 2.7.6 from upstream. 2018-02-16 08:08:06 +00:00
scanf.gemspec Bump version to scanf-1.0.0 as default gems. 2017-12-11 08:18:01 +00:00
scanf.rb lib/scanf.rb: [DOC] fix typos 2018-01-07 17:49:46 +00:00
securerandom.rb securerandom.rb: fix an example of choose [ci skip] 2017-10-25 07:28:22 +00:00
set.rb Add a new #filter alias for #select 2018-02-25 13:52:07 +00:00
shell.rb
shellwords.rb
singleton.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
sync.rb
tempfile.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
thwait.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
time.rb Use Regexp#match? in time.rb for conditionals 2018-03-28 10:22:57 +00:00
timeout.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
tmpdir.rb Ignore file separator from tmpfile/tmpdir name. 2018-03-28 10:03:03 +00:00
tracer.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
tsort.rb
un.rb un.rb: use OpenSSL::PKey.read instead of OpenSSL::PKey::RSA.new 2017-07-05 09:05:53 +00:00
uri.rb Improve docs for URI library 2018-04-21 20:04:05 +00:00
weakref.rb lib/weakref: Remove incorrect example [DOC] [Bug #14031] 2017-10-24 18:08:00 +00:00
webrick.rb
yaml.rb Clarify the documentation of the YAML module [Misc #14567] 2018-03-02 12:56:37 +00:00