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

comments are not parsed properly #2

Closed
samene opened this issue May 25, 2021 · 2 comments
Closed

comments are not parsed properly #2

samene opened this issue May 25, 2021 · 2 comments
Labels

Comments

@samene
Copy link

samene commented May 25, 2021

I have an xml

<book>
    <author>Fred</author>
    <!--
    <price>20</price><currency>USD</currency>
  -->
    <isbn>23456</isbn>
</book>

It fails to parse

panic: strings: negative Repeat count

@AntonioSun
Copy link
Contributor

Ops. that's surely an uncovered case. I'll have to research on it to get back to you...

@AntonioSun
Copy link
Contributor

Sorry for the late response @samene,

It's a hard problem and the case of XML comments nested within XML comments is still not supported (and will not be).

Thanks for the reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants