Hello,

     This question is related to the DOM Editor.  What I’ve noticed is that if I put an invalid value for a particular attribute, the JSVGCanvas returns an error when I try to render it.  Instead of implementing validation for each and every possible attribute, is there a way I can:

 

-          Take the changed node and “check” it against Batik.  (Like whatever the JSVGCanvas does when it tries to render)

-          Revert to the original value if the check fails, otherwise keep the new value.

 

I’d like to “trap” the error before I even attempt to render it and simply revert the JTable data instead of a nasty pop-up (or a few) when I submit invalid values to the element/node in question.

 

Michael Bishop

Reply via email to