Proposed Resolution to Issue 201 – Normative Text for External Functions 
version: 2014-07-11
Resolution:
The text of Clauses 10.2.1 and 10.3.2.11.2 is rephrased to clarify the normative requirements
Revised text:
1.	In clause 10.2.1, REPLACE the paragraph following Figure 51 (58 in Beta-3), which reads:
“For FEEL functions, the Body is an expression that references the parameters. For externally defined functions, the Body is a context as described in 10.3.2.11.2.” 
WITH:
For FEEL functions, denoted by Kind FEEL or by omission of Kind, the Body SHALL be a FEEL expression that references the parameters. For externally defined functions denoted by Kind Java, the Body SHALL be a context as described in 10.3.2.11.2 and the form of the mapping information SHALL be the java form. For externally defined functions denoted by Kind PMML, the Body SHALL be a context as described in 10.3.2.11.2 and the form of the mapping information SHALL be the pmml form. 
2.	In clause 10.3.2.11, in the paragraph beginning “The meaning of an externally defined function...”, retain the first sentence as a separate paragraph, and REPLACE the rest of the paragraph with two new paragraphs:
The java form of the mapping information indicates that the external function is to be accessed as a method on a Java class.  The class-name SHALL be the string name of a Java class on the classpath. Classpath configuration is implementation-defined. The method-signature SHALL be a string consisting of the name of a public static method in the named class, followed by an argument list containing only Java argument type names. The argument type information SHOULD be used to resolve overloaded methods and MAY be used to detect out-of-domain errors before runtime. 
The pmml form of the mapping information indicates that the external function is to be accessed as a PMML model.  The IRI SHALL be the resource identifier for a PMML document.  The model-name is optional.  If the model-name is specified, it SHALL be the name of a model in the document to which the IRI refers. If no model-name is specified, the external function SHALL be the first model in the document.