We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a5161 commit 2731560Copy full SHA for 2731560
tests/issues.rs
@@ -498,10 +498,11 @@ fn issue776() {
498
}
499
500
/// Regression test for https://github.com/tafia/quick-xml/issues/801
501
+/// Angle brackets are read in different buffer
502
#[test]
503
fn issue801() {
- let xml = b"<!DOCTYPE X [<!-- --><!ENTITY a \"a\">]>";
504
- let reader = BufReader::with_capacity(4, &xml[..]);
+ let xml = b"<!DOCTYPE X [<!-- --> <!ENTITY a \"a\">]>";
505
+ let reader = BufReader::with_capacity(2, &xml[..]);
506
let mut reader = Reader::from_reader(reader);
507
let mut buf = Vec::new();
508
loop {
0 commit comments