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

Random order in RDFA’s root list #146

Open
Gallaecio opened this issue Aug 12, 2020 · 0 comments
Open

Random order in RDFA’s root list #146

Gallaecio opened this issue Aug 12, 2020 · 0 comments
Labels

Comments

@Gallaecio
Copy link
Member

In the current state of #127, running tox -e py -- README.rst and looking at the end of the reported diff between actual output and expectations, the order of the 2 dictionaries in the root list of rdfa changes across different executions.

So, sometimes you get:

       'rdfa': [ { '@id': 'https://www.optimizesmart.com/how-to-use-open-graph-protocol/#header',
                   'http://www.w3.org/1999/xhtml/vocab#role': [ { '@id': 'http://www.w3.org/1999/xhtml/vocab#banner'}]},
                 { '@id': 'https://www.optimizesmart.com/how-to-use-open-graph-protocol/',

While other times you get:

       'rdfa': [ { '@id': 'https://www.optimizesmart.com/how-to-use-open-graph-protocol/',
                   …
                   { '@id': 'https://www.optimizesmart.com/how-to-use-open-graph-protocol/#header',
                   'http://www.w3.org/1999/xhtml/vocab#role': [ { '@id': 'http://www.w3.org/1999/xhtml/vocab#banner'}]}]}

I though #116 would fix this, but it did not.

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

1 participant