[uf-dev] Microformat Object Models

Manu Sporny msporny at digitalbazaar.com
Tue Apr 15 13:05:48 PDT 2008


anders conbere wrote:
> Some of you might recognize this as the stance the rdf takes with it's testing
> 
> http://www.w3.org/TR/rdf-testcases/

It is also the approach that RDFa takes when checking parser conformance
against the RDFa specification.

Check out the RDFa Test Harness and Unit Tests:

http://rdfa.digitalbazaar.com/rdfa-test-harness/

You can plug in different parsers and test them for conformance using
the utility above - which has helped when tracking down parser issues.
It also allows a developer to check their implementation against a test
suite that the community has agreed upon.

However, to get something like the above working for this community,
we'd have to:

- Agree on a parser specification (or set of specifications) for
  Microformats.
- Agree on a serialization format for Microformats (JSON/XML/N3/etc).
- Agree on a set of unit tests for Microformats.
- Agree on a method of checking the results of parsers.

In the RDFa community, this is what happened:

- Agree on a parser specification: Standardized by the W3C
- Agree on a serialization format: RDF
- Agree on a set of unit tests   : Standardized by the W3C
- Agree on a method of checking the results of parsers: SPARQL

-- manu


More information about the microformats-dev mailing list