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

Itemrefs not handled properly #1

Open
guliyevemil1 opened this issue Aug 23, 2017 · 0 comments
Open

Itemrefs not handled properly #1

guliyevemil1 opened this issue Aug 23, 2017 · 0 comments

Comments

@guliyevemil1
Copy link

It seems like the library does not correctly implement the parsing of itemrefs. In particular, it seems to go into an infinite recursion between readAttr and readItem when there is an itemref to an ancestor or two itemrefs that refer to each others ancestors. It seems like this should actually cause an error in the parsing:

https://html.spec.whatwg.org/multipage/microdata.html#associating-names-with-items

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

1 participant