GitHub user Timpy opened a pull request:

    https://github.com/apache/any23/pull/9

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

    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
    '<div id="watch-container" itemid="" itemscope 
itemtype="http://schema.org/YoutubeChannelV2";>'
    
    Also added a check to ToolRunnerTest for no tools.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Timpy/any23 master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/any23/pull/9.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #9
    
----
commit 30d701315b98a3996052c26a78165ec6b5dfb6a9
Author: tep <t...@yahoo-inc.com>
Date:   2014-09-08T15:58:23Z

    Fix generation of BNode name for microdata when 'itemid' is given
    without a value. Was using the MD5 of "0" resulting in lots of BNodes
    called 'nodecfcd208495d565ef66e7dff9f98764da'
    Fix ToolRunnerTest to check for no tools.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to