Skip to content

Reject no root element XML as an invalid XML #721

Reject no root element XML as an invalid XML

Reject no root element XML as an invalid XML #721

Triggered via pull request September 6, 2025 08:42
Status Failure
Total duration 3m 16s
Artifacts

test.yml

on: pull_request
ruby-versions-gems  /  Generate Ruby versions
3s
ruby-versions-gems / Generate Ruby versions
ruby-versions-inplace  /  Generate Ruby versions
3s
ruby-versions-inplace / Generate Ruby versions
frozen-string-literal
14s
frozen-string-literal
Document
20s
Document
Matrix: gem
Matrix: inplace
Fit to window
Zoom out
Zoom in

Annotations

24 errors and 21 notices
Inplace: jruby-head on macos-latest
Process completed with exit code 1.
Error: test/test_order.rb#L51
REXML::ParseException: Malformed XML: No element /Users/runner/work/rexml/rexml/lib/rexml/parsers/treeparser.rb:26:in 'parse' /Users/runner/work/rexml/rexml/lib/rexml/document.rb:466:in 'build' /Users/runner/work/rexml/rexml/lib/rexml/document.rb:103:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' /Users/runner/work/rexml/rexml/test/test_order.rb:51:in 'block in test_more_ordering' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' /Users/runner/work/rexml/rexml/test/test_order.rb:50:in 'test_more_ordering' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Gem: jruby-head on macos-latest
Process completed with exit code 1.
Error: tmp/test/test_order.rb#L51
REXML::ParseException: Malformed XML: No element /Users/runner/.rubies/jruby-head/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/parsers/treeparser.rb:26:in 'parse' /Users/runner/.rubies/jruby-head/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/document.rb:466:in 'build' /Users/runner/.rubies/jruby-head/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/document.rb:103:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' /Users/runner/work/rexml/rexml/tmp/test/test_order.rb:51:in 'block in test_more_ordering' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' /Users/runner/work/rexml/rexml/tmp/test/test_order.rb:50:in 'test_more_ordering' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Inplace: jruby on macos-latest
Process completed with exit code 1.
Error: test/test_order.rb#L51
REXML::ParseException: Malformed XML: No element /Users/runner/work/rexml/rexml/lib/rexml/parsers/treeparser.rb:26:in 'parse' /Users/runner/work/rexml/rexml/lib/rexml/document.rb:466:in 'build' /Users/runner/work/rexml/rexml/lib/rexml/document.rb:103:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' /Users/runner/work/rexml/rexml/test/test_order.rb:51:in 'block in test_more_ordering' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' /Users/runner/work/rexml/rexml/test/test_order.rb:50:in 'test_more_ordering' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Inplace: jruby-head on ubuntu-latest
Process completed with exit code 1.
Error: test/test_order.rb#L51
REXML::ParseException: Malformed XML: No element /home/runner/work/rexml/rexml/lib/rexml/parsers/treeparser.rb:26:in 'parse' /home/runner/work/rexml/rexml/lib/rexml/document.rb:466:in 'build' /home/runner/work/rexml/rexml/lib/rexml/document.rb:103:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' /home/runner/work/rexml/rexml/test/test_order.rb:51:in 'block in test_more_ordering' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' /home/runner/work/rexml/rexml/test/test_order.rb:50:in 'test_more_ordering' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Inplace: jruby on ubuntu-latest
Process completed with exit code 1.
Error: test/test_order.rb#L51
REXML::ParseException: Malformed XML: No element /home/runner/work/rexml/rexml/lib/rexml/parsers/treeparser.rb:26:in 'parse' /home/runner/work/rexml/rexml/lib/rexml/document.rb:466:in 'build' /home/runner/work/rexml/rexml/lib/rexml/document.rb:103:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' /home/runner/work/rexml/rexml/test/test_order.rb:51:in 'block in test_more_ordering' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' /home/runner/work/rexml/rexml/test/test_order.rb:50:in 'test_more_ordering' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Gem: jruby on ubuntu-latest
Process completed with exit code 1.
Error: tmp/test/test_order.rb#L51
REXML::ParseException: Malformed XML: No element /home/runner/.rubies/jruby-10.0.2.0/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/parsers/treeparser.rb:26:in 'parse' /home/runner/.rubies/jruby-10.0.2.0/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/document.rb:466:in 'build' /home/runner/.rubies/jruby-10.0.2.0/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/document.rb:103:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' /home/runner/work/rexml/rexml/tmp/test/test_order.rb:51:in 'block in test_more_ordering' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' /home/runner/work/rexml/rexml/tmp/test/test_order.rb:50:in 'test_more_ordering' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Gem: jruby-head on ubuntu-latest
Process completed with exit code 1.
Error: tmp/test/test_order.rb#L51
REXML::ParseException: Malformed XML: No element /home/runner/.rubies/jruby-head/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/parsers/treeparser.rb:26:in 'parse' /home/runner/.rubies/jruby-head/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/document.rb:466:in 'build' /home/runner/.rubies/jruby-head/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/document.rb:103:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' /home/runner/work/rexml/rexml/tmp/test/test_order.rb:51:in 'block in test_more_ordering' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' /home/runner/work/rexml/rexml/tmp/test/test_order.rb:50:in 'test_more_ordering' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Inplace: jruby-head on windows-latest
Process completed with exit code 1.
Error: test/test_order.rb#L51
REXML::ParseException: Malformed XML: No element D:/a/rexml/rexml/lib/rexml/parsers/treeparser.rb:26:in 'parse' D:/a/rexml/rexml/lib/rexml/document.rb:466:in 'build' D:/a/rexml/rexml/lib/rexml/document.rb:103:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' D:/a/rexml/rexml/test/test_order.rb:51:in 'block in test_more_ordering' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' D:/a/rexml/rexml/test/test_order.rb:50:in 'test_more_ordering' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Inplace: jruby on windows-latest
Process completed with exit code 1.
Error: test/test_order.rb#L51
REXML::ParseException: Malformed XML: No element D:/a/rexml/rexml/lib/rexml/parsers/treeparser.rb:26:in 'parse' D:/a/rexml/rexml/lib/rexml/document.rb:466:in 'build' D:/a/rexml/rexml/lib/rexml/document.rb:103:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' D:/a/rexml/rexml/test/test_order.rb:51:in 'block in test_more_ordering' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' D:/a/rexml/rexml/test/test_order.rb:50:in 'test_more_ordering' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Gem: jruby-head on windows-latest
Process completed with exit code 1.
Error: tmp/test/test_order.rb#L51
REXML::ParseException: Malformed XML: No element D:/jruby-head/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/parsers/treeparser.rb:26:in 'parse' D:/jruby-head/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/document.rb:466:in 'build' D:/jruby-head/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/document.rb:103:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' D:/a/rexml/rexml/tmp/test/test_order.rb:51:in 'block in test_more_ordering' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' D:/a/rexml/rexml/tmp/test/test_order.rb:50:in 'test_more_ordering' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Gem: jruby on windows-latest
Process completed with exit code 1.
Error: tmp/test/test_order.rb#L51
REXML::ParseException: Malformed XML: No element D:/jruby-10.0.2.0/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/parsers/treeparser.rb:26:in 'parse' D:/jruby-10.0.2.0/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/document.rb:466:in 'build' D:/jruby-10.0.2.0/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/document.rb:103:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' D:/a/rexml/rexml/tmp/test/test_order.rb:51:in 'block in test_more_ordering' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' D:/a/rexml/rexml/tmp/test/test_order.rb:50:in 'test_more_ordering' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Gem: jruby on macos-latest
Process completed with exit code 1.
Error: tmp/test/test_order.rb#L51
REXML::ParseException: Malformed XML: No element /Users/runner/.rubies/jruby-10.0.2.0/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/parsers/treeparser.rb:26:in 'parse' /Users/runner/.rubies/jruby-10.0.2.0/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/document.rb:466:in 'build' /Users/runner/.rubies/jruby-10.0.2.0/lib/ruby/gems/shared/gems/rexml-3.4.3/lib/rexml/document.rb:103:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' /Users/runner/work/rexml/rexml/tmp/test/test_order.rb:51:in 'block in test_more_ordering' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' /Users/runner/work/rexml/rexml/tmp/test/test_order.rb:50:in 'test_more_ordering' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyArray.java:2088:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Inplace: 3.2 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Gem: 3.0 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Gem: 3.2 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Gem: 3.4 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Inplace: 3.0 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Inplace: 3.3 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Gem: 3.3 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Gem: head on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Inplace: head on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Inplace: 3.4 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Inplace: 3.1 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Gem: 3.1 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Inplace: 2.7 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Inplace: 2.5 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Inplace: 2.6 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Inplace: jruby-head on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Inplace: jruby on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Gem: jruby-head on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Gem: jruby on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Gem: 2.7 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Gem: 2.6 on windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677