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

Any tag which has a format like <!D%s> where %s - any sequence of characters is perceived as <!DOCTYPE> and causes error #649

Open
5 of 6 tasks
StombieIT opened this issue Mar 21, 2024 · 2 comments

Comments

@StombieIT
Copy link

  • Are you running the latest version?
  • Have you included sample input, output, error, and expected output?
  • Have you checked if you are using correct configuration?
  • Did you try online tool?

Description

<some-obj>
    <!D>
    <first-arg>123</first-arg>
    <second-arg>321</second-arg>
</some-obj>

Output

Error: Invalid Tag instead of DOCTYPE

Expected behaviour

Parser will ignore such kind of tags.

Would you like to work on this issue?

  • Yes
  • No
Copy link

We're glad you find this project helpful. We'll try to address this issue ASAP. You can vist https://solothought.com to know recent features. Don't forget to star this repo.

@amitguptagwl
Copy link
Member

Sorry I couldn't understand your expectations, !D doesn't have any closing tag, it has invalid name then why should parser ignore it?

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

No branches or pull requests

2 participants