You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Improvements
Improve parse performance by using
StringScanner
.Reduce calls to
Source#buffer
(StringScanner#rest
) #106Use
@scanner << readline
instead of@scanner.string = @scanner.rest + readline
#107Reduce calls to StringScanner.new() #108
Change loop in parse_attributes to
while true
. #109Remove unnecessary checks in baseparser #112
Stop specifying the gem version of strscan in benchmarks. #113
Use more StringScanner based API to parse XML #114
test: Fix invalid XML with spaces before the XML declaration #115
source: Remove unnecessary string length comparisons in the case of string comparisons #116
Remove
Source#string=
method #117Separate
IOSource#ensure_buffer
fromIOSource#match
. #118Optimize the parse_attributes method to use
Source#match
to parse XML. #119Change
attribute.has_key?(name)
toattributes[name]
. #121Patch by NAITOH Jun.
Improved parse performance when an attribute has many
<
s.Fixes
XPath: Fixed a bug of
normalize_space(array)
.Potential Typo in
REXML::Functions::normalize_space()
Implementation #110xpath: Fix normalize_space(array) case #111
Patch by flatisland.
XPath: Fixed a bug that wrong position is used with nested path.
Potential Typo in
REXML::Functions::normalize_space()
Implementation #110xpath: Fix wrong position with nested path #122
Reported by jcavalieri.
Patch by NAITOH Jun.
Fixed a bug that an exception message can't be generated for
invalid encoding XML.
ParseException could not get message when xml with invalid characters #29
Fix a problem that parse exception message can't be generated for invalid encoding XML #123
Reported by DuKewu.
Patch by NAITOH Jun.
This discussion was created from the release REXML 3.2.7 - 2024-05-16.
Beta Was this translation helpful? Give feedback.
All reactions