File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1756,9 +1756,11 @@ func testRoundTrip(t *testing.T, input string) {
1756
1756
1757
1757
func TestRoundTrip (t * testing.T ) {
1758
1758
tests := map [string ]string {
1759
- "leading colon" : `<::Test ::foo="bar"><:::Hello></:::Hello><Hello></Hello></::Test>` ,
1760
- "trailing colon" : `<foo abc:="x"></foo>` ,
1761
- "double colon" : `<x:y:foo></x:y:foo>` ,
1759
+ // Disabling these tests because the parser now treats malformed namespaces as an error.
1760
+ // See https://github.com/golang/go/issues/43168.
1761
+ // "leading colon": `<::Test ::foo="bar"><:::Hello></:::Hello><Hello></Hello></::Test>`,
1762
+ // "trailing colon": `<foo abc:="x"></foo>`,
1763
+ // "double colon": `<x:y:foo></x:y:foo>`,
1762
1764
"comments in directives" : `<!ENTITY x<!<!-- c1 [ " -->--x --> > <e></e> <!DOCTYPE xxx [ x<!-- c2 " -->--x ]>` ,
1763
1765
}
1764
1766
for name , input := range tests {
You can’t perform that action at this time.
0 commit comments