ISSUE-43: Determine if DataParser interface needs a hasFeature("hcard") or hasFeature("hrecipe") mechanism.

DataParser hasFeature() method

Determine if DataParser interface needs a hasFeature("hcard") or hasFeature("hrecipe") mechanism.

State:
CLOSED
Product:
RDFa 1.1 API
Raised by:
Manu Sporny
Opened on:
2010-08-12
Description:
The DataParser interface had specified a 'type' readonly attribute that specified the type of parser that it was. The downside to this approach is that a developer could only support one type of parsing language when in practice, multiple parsers might be provided. Thus, we need a mechanism to determine whether or not a particular parser supports a multitude of parsing types such as rdfa, hcard, hrecipe, Microdata, etc.
Related Actions Items:
No related actions
Related emails:
  1. PROPOSAL to close ISSUE-43: DataParser hasFeature() method (from msporny@digitalbazaar.com on 2011-01-01)
  2. Closing RDFa API issues (from msporny@digitalbazaar.com on 2011-01-01)
  3. Re: Telecon Agenda - December 2nd 2010, 1400 UTC (from benjamin.adrian@dfki.de on 2010-12-02)
  4. Telecon Agenda - December 2nd 2010, 1400 UTC (from msporny@digitalbazaar.com on 2010-11-30)
  5. Re: Telecon Agenda - November 25th 2010, 1400 UTC (from benjamin.adrian@dfki.de on 2010-11-25)
  6. Re: Telecon Agenda - November 25th 2010, 1400 UTC (from knud.moeller@deri.org on 2010-11-25)
  7. Telecon Agenda - November 25th 2010, 1400 UTC (from msporny@digitalbazaar.com on 2010-11-23)
  8. Telecon Agenda - November 18th 2010, 1400 UTC (from msporny@digitalbazaar.com on 2010-11-16)
  9. RDFa WG telecon minutes for 2010-08-12 (from msporny@digitalbazaar.com on 2010-08-12)
  10. Re: ISSUE-43: Determine if DataParser interface needs a hasFeature('hcard') or hasFeature('hrecipe') mechanism. (from benjamin.adrian@dfki.de on 2010-08-12)
  11. ISSUE-43: Determine if DataParser interface needs a hasFeature('hcard') or hasFeature('hrecipe') mechanism. (from sysbot+tracker@w3.org on 2010-08-12)

Related notes:

Suggested interface:

[NoInterfaceObject]
interface DataParser
{
...
boolean hasFeature(feature, version);
...
}

We should make sure that supporting the following is a MUST:

hasFeature("RDFa");
hasFeature("RDFa", "1.1");

Should the following always return true or false?

hasFeature("RDFa", "1.0");

Manu Sporny, 18 Nov 2010, 14:49:37

Closing the issue after no objections to the latest PROPOSAL to close the issue.

Manu Sporny, 13 Jan 2011, 01:19:41

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 43.html,v 1.1 2015/03/27 14:12:24 vivien Exp $