Processor Graph vocabulary

I think it's unfortunate that the WG did not come to consensus on the vocabulary and required production for the Processor Graph. Providing language that requires that errors and warnings be generated, without providing guidance as to exactly what should be generated makes it difficult for me to know the level of detail to include as a parser implementor, and makes it pretty useless for a consumer to know what to expect. I would request that the WG revisit this issue and come up with a vocabulary, required production and examples that provide more guidance to implementors.

Looking at previous discussions, both EARL and an RDFa-defined vocabulary were considered. Looking at EARL, it's not clear to me exactly what would be used to generate warnings. The best example I saw used an RDF-defined vocabulary to define a simple production as follows:


>>>>>      _:1 a rdfa:ProfileReferenceError ;
>>>>>      _:1 dc:description "The @profile value could not be deferenced" ;
>>>>>      _:1 dc:date "2010-06-30T13:40"^^xsd:dateTime ;


I'd also expect to see some form of source, representing an XPATH or CSS selector to the location of the error, along with more defined error classes, at least those that are required for production, but other warning and informational classes as well. You may also want to include an ordering, either a sequence number or some other mechanism. A dateTime certainly isn't precise enough to gather all information. Alternatively, and rdf:List (even though it can't be expressed well in RDFa itself, but that's another matter).

The following terms could be considered:

rdfa:HostLanguageMarkupError
rdfa:ProfileReferenceError
rdfa:UndefinedPrefixError
rdfa:UndefinedTermError
rdfa:MisclaneousWarning
rdfa:MisclaneousInformation
rdfa:sourceByteOffset
rdfa:sourceXpath
rdfa:sourceCss

Gregg

On Aug 3, 2010, at 8:55 AM, Shane McCarron wrote:

RDFa Core and XHTML+RDFa heartbeat drafts are now published:
http://www.w3.org/News/2010#entry-8870

--
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com

Received on Thursday, 5 August 2010 02:35:05 UTC