Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/rexmlPublic

Commit6c18147

Browse files
authored
Fix invalid XML without root element in Benchmark (#304)
## Why?A fix was missed in#291.
1 parent8c41d35 commit6c18147

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎benchmark/parse_comment.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ prelude: |
2626
2727
SIZE = 100000
2828
29-
top_level_xml = "<!--" + "a" * SIZE + "-->\n"
30-
in_doctype_xml = "<!DOCTYPE foo [<!--" + "a" * SIZE + "-->]>"
29+
top_level_xml = "<!--" + "a" * SIZE + "-->\n<root/>"
30+
in_doctype_xml = "<!DOCTYPE foo [<!--" + "a" * SIZE + "-->]><root/>"
3131
after_doctype_xml = "<root/><!--" + "a" * SIZE + "-->"
3232
3333
benchmark:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp