Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Devicemap Wiki" for 
change notification.

The "DataSpec2" page has been changed by rezan:
https://wiki.apache.org/devicemap/DataSpec2?action=diff&rev1=36&rev2=37

  
  === Format ===
  
- The pattern and attribute files are JSON objects (TODO: better define this). 
These files will contain:
+ The pattern and attribute files are JSON objects. These files will contain:
  
   * Format version
-  * Name
+  * Specification version
+  * Type (pattern, attribute, etc)
+  * Domain name
   * Domain version
   * Description
   * Publish date
@@ -210, +212 @@

  
  2 or more patterns cannot have identical Rank``Type, Rank``Value, and pattern 
tokens. This results in undefined behavior when the patterns are candidates 
since they have identical rank. The classifier is free to choose any one 
candidate in this situation.
  
- New pattern types and ranks can be introduced in the future. If a classifier 
encounters a definition it cannot support, it must immediately return an 
initialization error.
+ New pattern types and ranks can be introduced to new specifications in the 
future. If a classifier encounters a definition it cannot support, it must 
immediately return an initialization error.
  
  
  === Examples ===
@@ -266, +268 @@

  
  If no attribute map is found, an empty map is used.
  
- If a null pattern is returned from the previous step, this must be safely 
returned.
+ If a null pattern is returned from the previous step, this must be properly 
returned to the user.
- TODO: how?
+ A null pattern must discernible from a user defined pattern.
  
  
  
@@ -325, +327 @@

   :: Error: if the input is not a number
  
  
+ === Notes ===
+ 
+ New transformers can be introduced to new specifications in the future. If a 
classifier encounters a definition it cannot support, it must immediately 
return an initialization error.
+ 
+ 
  === Examples ===
  
  {{{

Reply via email to