jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "Jsop" by stefan
Date Thu, 18 Oct 2012 15:22:40 GMT
Dear Wiki user,

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

The "Jsop" page has been changed by stefan:
http://wiki.apache.org/jackrabbit/Jsop?action=diff&rev1=47&rev2=48

Comment:
OAK-384: get rid of add-property json diff syntax

  {{{
  // JSOP-Diff Proposal
  DIFFS     ::= (ADD | SET | REMOVE | MOVE | COPY | TEST | METADATA | EXTENSION)*
- ADD       ::= "+" STRING ":" (OBJECT | ATOM | ARRAY)
+ ADD       ::= "+" STRING ":" OBJECT
  SET       ::= "^" STRING ":" ATOM | ARRAY
  REMOVE    ::= "-" STRING
  MOVE      ::= ">" STRING ":" STRING
@@ -101, +101 @@

  {{{
  diffs =   *( ws ( add / set / remove / move / copy / test ) ws )
  
- add =     "+" ws pointer ws ":" ws ( object / atom / array )
+ add =     "+" ws pointer ws ":" ws object
  copy =    "*" ws pointer ws ":" ws pointer
  move =    ">" ws pointer ws ":" ws pointer
  remove =  "-" ws pointer
@@ -139, +139 @@

  '''diff:'''
  
   * addNodeDiff
-  * addPropertyDiff
   * setPropertyDiff
   * removeNodeDiff
   * removePropertyDiff
@@ -164, +163 @@

  
   * ^ pathString: propertyValue
  
+ Modifies the value of an existing property or otherwise creates a property with the specified
value. 
+ 
  '''moveNodeDiff:'''
  
   * > pathString: newPathString

Mime
View raw message