Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML roundtrip failing on & #503

Open
ybasket opened this issue Jul 21, 2023 · 2 comments
Open

XML roundtrip failing on & #503

ybasket opened this issue Jul 21, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ybasket
Copy link
Collaborator

ybasket commented Jul 21, 2023

The roundtrip tests in http4s-fs2-data are flaky, they sometimes fail on escaped entities:
https://github.com/http4s/http4s-fs2-data/actions/runs/5514890884/job/14930647806?pr=97 (only &)
and https://github.com/http4s/http4s-fs2-data/actions/runs/5481925805/job/14845710701 (combined with a lt).

It's not yet clear whether the input is actually invalid XML or fs2-data handles it incorrectly, to be investigated.

@satabin satabin added the bug Something isn't working label Jul 23, 2023
@satabin
Copy link
Member

satabin commented Jul 26, 2023

Failing data from above are:

<戝蜷븝낌畏:彵ᾋ銋궜来鯒妓鐡뗑 痴놰绯猿Đ꺠询:尵蜙헕稜籟="硗잤왠" 팩菾聢魣ந넞="瀝&amp;䇉"/>

and

<碅旜귣锍橨礶:齸踡軽걪폄駗 븁彦="纭徍膽挚訥௿尦" 期煫俠뀊뿕慉="剧ﱄ蘊儒ﴓ黢" 뇄揆瓊议鋐宇="岒᚛抂밐侷">ᅦ뽚昄옌&amp;lt;熞㸑䁛ን탂Ꚁ혆⥕ᰓ䖐铭콾Ḡᙵ</碅旜귣锍橨礶:齸踡軽걪폄駗>

@satabin
Copy link
Member

satabin commented Sep 26, 2023

This problem seems to come from the way scala xml serializes the nodes. Do you confirm @ybasket?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants