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:
- PROPOSAL to close ISSUE-43: DataParser hasFeature() method (from msporny@digitalbazaar.com on 2011-01-01)
- Closing RDFa API issues (from msporny@digitalbazaar.com on 2011-01-01)
- Re: Telecon Agenda - December 2nd 2010, 1400 UTC (from benjamin.adrian@dfki.de on 2010-12-02)
- Telecon Agenda - December 2nd 2010, 1400 UTC (from msporny@digitalbazaar.com on 2010-11-30)
- Re: Telecon Agenda - November 25th 2010, 1400 UTC (from benjamin.adrian@dfki.de on 2010-11-25)
- Re: Telecon Agenda - November 25th 2010, 1400 UTC (from knud.moeller@deri.org on 2010-11-25)
- Telecon Agenda - November 25th 2010, 1400 UTC (from msporny@digitalbazaar.com on 2010-11-23)
- Telecon Agenda - November 18th 2010, 1400 UTC (from msporny@digitalbazaar.com on 2010-11-16)
- RDFa WG telecon minutes for 2010-08-12 (from msporny@digitalbazaar.com on 2010-08-12)
- Re: ISSUE-43: Determine if DataParser interface needs a hasFeature('hcard') or hasFeature('hrecipe') mechanism. (from benjamin.adrian@dfki.de on 2010-08-12)
- 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");
Closing the issue after no objections to the latest PROPOSAL to close the issue.
Manu Sporny, 13 Jan 2011, 01:19:41Display change log