very XiMpLe XML validation

meik michalke meik.michalke at
Sat Jan 30 16:11:59 UTC 2016


to whom it may concern:

the XiMpLe package is driving all of the XML related stuff in rkwarddev. until 
now, it wasn't possible to describe valid structures of XML trees with the 
package, to check XiMpLe objects. this is currently all done by each rkwarddev 
XML function on its own. i wanted to move those checks from rkwarddev to 
XiMpLe, where it belonged in the first place.

in the develop branch, XiMpLe has a new object class XiMpLe.validity, a new 
constructor function XMLValidity() for objects of that class, and a new method 
validXML() to check XiMpLe node/tree objects against a given XiMpLe.validity 
definition. i suspect there's still bugs in recursive definitions (you can 
nest XiMpLe.validity objects within objects of the same class if you need 
alternative definitions for XML nodes depending on their parent), but first 
tests were encouraging, and i think we don't need that recursion in RKWard 

viele grüße :: m.eik

  dipl. psych. meik michalke
  institut f"ur experimentelle psychologie
  abt. f"ur diagnostik und differentielle psychologie
  heinrich-heine-universit"at d-40204 d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the rkward-devel mailing list