Re: ISSUE-44: Add a mechanism to the RDFa API to parse remote documents and place them into a DataStore.

RDFa Working Group Issue Tracker wrote:
> ISSUE-44: Add a mechanism to the RDFa API to parse remote documents and place them into a DataStore.
> 
> http://www.w3.org/2010/02/rdfa/track/issues/44
> 
> Raised by: 
> On product: 

FWIW, this may be a non-issue, as DataParser already supports the 
.parse(document) method.

The DOM API already provides all the methods needed to create and work 
with multiple documents:
  document.implementation.createDocument
  document.implementation.createHTMLDocument

Further XMLHttpRequest already returns a 'document' for XML based remote 
documents (.responseXML), and for non XML based documents such as HTML 
you can simply load the XMLHttpRequest's .responseText in to 
createHTMLDocument.

Thus the RDFa API already parses documents (location is orthogonal) and 
the various common APIs of the web provided everything needed to 
implement this functionality in circa 10 lines of userland code.

The only related issue to this is cross origin issues, but I believe 
these are both orthogonal to the working groups remit and a solution 
exists to address this (CORS or Proxy).

Best,

Nathan

Received on Thursday, 12 August 2010 15:24:49 UTC