Skip to content

Commit

Permalink
0.10.13
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarring committed Nov 25, 2024
1 parent 6516c9d commit fbf2cc3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{{$NEXT}}

0.10.13 2024-11-26T07:32:08+13:00
- Fix failing libxml v2.14+ test in t/00dtd.t

0.10.12 2024-11-26T06:56:59+13:00
- Filter suppressed errors and warnings early for improved error
handling performance #115
Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@
"JSON::Fast",
"App::Prove6"
],
"version": "0.10.12"
"version": "0.10.13"
}
2 changes: 1 addition & 1 deletion lib/LibXML.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use W3C::DOM;
# Needed for Rakudo 2020.5.1 - see #59
use LibXML::XPath::Context;

unit class LibXML:ver<0.10.12>:api<0.10.0>
unit class LibXML:ver<0.10.13>:api<0.10.0>
is LibXML::Parser
does W3C::DOM::Implementation;

Expand Down
2 changes: 1 addition & 1 deletion lib/LibXML/Dtd.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ multi method parse(Str :$external-id, Str:D :$system-id!) is hidden-from-backtra
}

unless $raw.defined || $ctx.will-die {
with $ctx.errors.grep(*.code ~~ XML_IO_ENOENT|XML_IO_LOAD_ERROR).first {
with $ctx.errors.grep(*.code == XML_IO_ENOENT|XML_IO_LOAD_ERROR).first {
.level = XML_ERR_ERROR
} else {
$ctx.errors.push: X::LibXML::AdHoc.new(:error("Unable to load external Dtd: $external-id"));
Expand Down

0 comments on commit fbf2cc3

Please sign in to comment.