[
https://issues.apache.org/jira/browse/ANY23-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660011#comment-16660011
]
ASF GitHub Bot commented on ANY23-67:
-------------------------------------
GitHub user HansBrende opened a pull request:
https://github.com/apache/any23/pull/124
ANY23-67 test against online microdata test-suite
I created a microdata unit test which tests against the latest online
[microdata test suite](http://w3c.github.io/microdata-rdf/tests/).
Currently, 30 out of 84 total tests are failing!
*Note: the tests are relaxed such that the expected model is only required
to be a subset of the actual model, and not necessarily the other way around.
Requiring strict isomorphism, on the other hand, causes 83 out of 84 tests to
fail.*
**The 30 failing tests are as follows:**
Test 0002: Item with no itemtype and 2 elements with equivalent itemprop
Test 0003: Item with itemprop having two properties
Test 0046: Use of time with `@datetime` xsd:time
Test 0047: Use of time with `@datetime` xsd:dateTime
Test 0048: Use of time with `@datetime` xsd:duration
Test 0049: Use of time with `@datetime` invalid
Test 0051: relative URL as itemid
Test 0052: token property no `@itemtype`
Test 0053: token property empty `@itemtype`
Test 0054: token property and relative `@itemtype`
Test 0056: token property and multiple `@itemtypes` from different
vocabularies
Test 0062: `@itemref` to single id
Test 0063: `@itemref` generates property values
Test 0064: `@itemref` to single id with different types
Test 0065: `@itemref` to multiple ids
Test 0066: `@itemref` with chaining
Test 0067: Shared `@itemref`
Test 0070: Property URI generation (default) 3
Test 0071: Vocabulary Expansion test with schema:additionalType
Test 0073: Vocabulary Expansion test with rdfs:subPropertyOf
Test 0074: Vocabulary Expansion test with owl:equivalentProperty
Test 0075: Use of data and xsd:float
Test 0076: Use of data and xsd:integer
Test 0077: Use of data and string
Test 0078: Use of meter and xsd:double
Test 0079: Use of meter and xsd:integer
Test 0080: Use of meter and xsd:string
Test 0081: Simple `@itemprop-reverse` (experimental)
Test 0082: `@itemprop-reverse` with `@itemscope` value (experimental)
Test 0084: `@itemprop-reverse` with `@itemprop` (experimental)
For more details on expected vs. actual statements, run the
`MicrodataExtractorTest.runOnlineTests()` test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HansBrende/any23 ANY23-67
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/any23/pull/124.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 #124
----
commit 2e3451ccaa36234a9dbd60ce783bf20501fc70c4
Author: Hans <firedrake93@...>
Date: 2018-10-23T02:49:46Z
ANY23-67 test against online microdata test-suite
----
> Microdata extraction using obsolete RDF conversion scheme
> ---------------------------------------------------------
>
> Key: ANY23-67
> URL: https://issues.apache.org/jira/browse/ANY23-67
> Project: Apache Any23
> Issue Type: Bug
> Components: microdata
> Affects Versions: 0.7.0
> Reporter: Hannes Mühleisen
> Priority: Major
> Fix For: 2.3
>
>
> There is now a more-or-less final Microdata to RDF algorithm published[1]
> which is different than the one in the current, official HTML5 draft [2]
> (that Ian Hickson has publicly revoked). However, Any23s extractor uses the
> old scheme according to a comment in its source code, which refers to [2].
> However, this is exactly the algorithm that Ian Hickson rescinded at some
> point. Unfortunately, the official working drafts have not been updated for a
> very long time, but if you look at the editor's draft [3], you will see that
> that section has been entirely removed. Instead, there was a Semantic Web
> Interest group task force that discussed the issues, and [1] is the result of
> this discussion. It would be nice if this would be reflected in Any23 in the
> future.
> [Condensed from an E-Mail conversation with Ivan Herman]
> [1] http://www.w3.org/TR/microdata-rdf/
> [2] http://www.w3.org/TR/microdata/#rdf
> [3] http://dev.w3.org/html5/md/Overview.html
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)