very XiMpLe XML validation

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Tue Feb 9 21:16:54 UTC 2016


Hi,

On Sat, 30 Jan 2016 17:11:59 +0100
meik michalke <meik.michalke at uni-duesseldorf.de> wrote:
> 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 anyway.

sounds useful. Is there any start of creating such validity rules for
RKWard plugin .xml files?

(This also sounds a lot like DTD's. While not specifically useful to
RKWard, I guess the ability to convert from / to DTD might be really
useful to some.)

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20160209/c0f06293/attachment.sig>


More information about the rkward-devel mailing list