snoyberg / xml

Various XML utility packages for Haskell
70 stars 63 forks source link

Retain namespaces in renderLBS? #190

Open fumieval opened 1 year ago

fumieval commented 1 year ago

renderLBS stripping namespace prefixes is causing a problem in the context of SAML validation: mbg/wai-saml2#55

I had a quick look at Text/XML/Stream/Render.hs but I'm not sure what the right way is.

k0ral commented 1 year ago

Could you please provide a minimal reproducible example of the problem ?

I'm not sure I understand how the issue you linked illustrates the problem, as it was about character encoding and I see no mention of namespace prefixes there. Did I miss something ? (EDIT: link updated, thanks !)

fumieval commented 1 year ago

Sorry, I realised that I was mentioning a wrong issue. The problem is described in mbg/wai-saml2#55