Remove conformance callback
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Fri, 14 Dec 2012 17:13:49 +0100
changeset 1044 cc80407817a6
parent 1043 d9673e63e765
child 1045 670da05a32aa
Remove conformance callback

This addresses #153 and #200.
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Fri Dec 14 16:59:14 2012 +0100
+++ b/spec/latest/json-ld-api/index.html	Fri Dec 14 17:13:49 2012 +0100
@@ -1451,7 +1451,7 @@
 
     <p>The processing algorithms described in this section are provided in order to demonstrate
       how one might implement a JSON-LD to RDF processor. Conformant implementations are only
-      required to produce the same type andnumber of <tref title="quad">quads</tref> but are
+      required to produce the same type and number of <tref title="quad">quads</tref> but are
       not required to implement the algorithm exactly as described.</p>
 
     <section>
@@ -1461,7 +1461,7 @@
       </p>
       <p>
         A conforming JSON-LD processor implementing RDF conversion MUST implement a
-        processing algorithm that results in the same set of RDF <tref title="quad">Quads</tref> that the following
+        processing algorithm that results in the same set of RDF <tref title="quad">quads</tref> that the following
         algorithm generates:
       </p>
 
@@ -1927,16 +1927,12 @@
   <section>
     <h3>Callbacks</h3>
 
-    <p class="issue" data-number="153">
-    Developers should note that the details of error handling and
-    conformance handling are being actively debated.
-    </p>
+    <p class="issue" data-number="153">Developers should note that the details of
+      error handling are being actively debated.</p>
 
-    <p>JSON-LD processors utilize a variety of callbacks in order to return
-    information in an asynchronous manner to calling applications. This section
-    details the parameters sent to those callbacks as well as the desired
-    operation of the callbacks.
-    </p>
+    <p>JSON-LD processors utilize callbacks in order to return information in an
+      asynchronous manner to calling applications. This section details the
+      parameters sent to those callbacks.</p>
 
     <section>
       <h3>JsonLdProcessingError</h3>
@@ -1987,38 +1983,6 @@
         </dd>
       </dl>
     </section>
-
-    <section>
-      <h3>ConformanceCallback</h3>
-
-      <p>The <a>ConformanceCallback</a> MAY be specified in the
-      <a>JsonLdOptions</a> via the <code>conformanceCallback</code> parameter.
-      If specified, the callback is called whenever a recoverable conformance
-      issue is detected. The developer may then determine whether or not
-      processing should continue based on the type of conformance issue.</p>
-
-      <dl title="[NoInterfaceObject Callback] interface ConformanceCallback"
-          class="idl">
-
-        <dt>void issue()</dt>
-        <dd>This callback is invoked when a conformance issue is detected by
-          the JSON-LD processor.
-        <dl class="parameters">
-           <dt>JsonLdProcessingError issue</dt>
-           <dd>Details about the conformance issue.
-           </dd>
-           <dt>function callback</dt>
-           <dd>A function that MUST be called when the program has determined
-             how to respond to the conformance issue. A single parameter must be
-             passed to the callback. The value of the parameter should be
-             <code>null</code> if processing should continue by acting as if the
-             key-value that triggered the issue never existed. The
-             <code>issue</code> SHOULD be passed to the callback without
-             modification if processing should stop.</dd>
-        </dl>
-        </dd>
-      </dl>
-    </section>
   </section>
 
   <section>
@@ -2076,14 +2040,6 @@
         converted to
         <tref title="number">JSON numbers</tref>.
       </dd>
-      <dt>function conformanceCallback = null</dt>
-      <dd>The purpose of this option is to instruct the processor about whether
-        or not it should continue processing. If the value is <code>null</code>,
-        the processor should ignore any key-value pair associated with any
-        recoverable conformance issue and continue processing. More details
-        about this feature can be found in the <a>ConformanceCallback</a>
-        section.
-      </dd>
     </dl>
     </section>
   </section>