Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Fix generation of BNode name for microdata when 'itemid' is given without a value.#9

Merged
asfgit merged 1 commit intoapache:masterfrom
Timpy:master
Oct 16, 2014
Merged

Fix generation of BNode name for microdata when 'itemid' is given without a value.#9
asfgit merged 1 commit intoapache:masterfrom
Timpy:master

Conversation

@Timpy
Copy link
Contributor

@Timpy Timpy commented Sep 12, 2014

Fix generation of BNode name for microdata when 'itemid' is given with an empty value.
This results in using the MD5 of "0" in the name of BNodes: 'nodecfcd208495d565ef66e7dff9f98764da'
An example of where this is a problem is https://www.youtube.com/channel/UCQNIKO3SwRcYnoiuSqKYbOA
'

'

Also added a check to ToolRunnerTest for no tools.

without a value. Was using the MD5 of "0" resulting in lots of BNodes
called 'nodecfcd208495d565ef66e7dff9f98764da'
Fix ToolRunnerTest to check for no tools.
@lewismc
Copy link
Member

lewismc commented Sep 12, 2014

Hi @Timpy thank you so much fo this PR.
I absolutely agree with you that this is a problem as I do not like the look of the BNode hash either, it is useless for many purposes.
For the record, can you please post here what the new outout will look like.
Thank you
p.s. I posted https://issues.apache.org/jira/browse/ANY23-238 so that we can add this to our release report once we release Any23 1.0

@asfgit asfgit merged commit 30d7013 into apache:master Oct 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants