Andrzej Jan Taramina wrote:
Uli and me discussed this issue again today and we also came to
conclusion that this scenario isn't handled well in XForms and should be a
considered a XForms flaw to the corrected in a 1.1 version.
I agree....XForms is not really fully baked. The shortcomings are only now
coming to light as people like me implement complex systems. One definite
shortfall is the focus on client-side processing, which is contrary to the
way many applications are built/deployed these days (server-side).
in the meantime we can provide a Chiba extension which handles this
usecase: our validator takes a xpath already so we could simply extend
the validate element like this:
<xforms:revalidate chiba:ref="a/b" />
would only consider all all nodes below and including the xpath a/b
what do you think? would that solve your problem?
That would do the trick for sure! Be nice if you could use "or's" in the
xpath. For example "a or b".
fine. we'll add the ref attribute. but can you give a usecase for the
additional 'or' syntax? - its not obvious to me.
The only issue would be that I would need to upgrade to a new version of
Chiba. My app is still running on 0.9.2, but I'm hoping to upgrade to 0.9.3
not too far down the road (few weeks or early Jan) and to get Chicoon
packaged and working with the latest/greatest Chiba as well.
i think 0.9.4 will be out then already. we currently prepare it cause in
the meantime lots of bugs have been fixed and some new stuff has been
added (itemset,...)
So go for it!
BTW...I am going to renumber the Chicoon versioning to be consistent with the
Chiba version that it supports/requires. That is, the next Chicoon version
will not be 0.2. It will be 0.9.2 to work with Chiba 0.9.2 (or maybe 0.9.3).
sounds reasonable. the adpatation to the latest version shouldn't be
that dramatic - i'll be happy to help with that.
Joern
Thanks!
Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|