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
----
---