I’m specifically looking for a way to trace the evaluation of the Xpath expressions inside a schema <assertion>. The tools you point to don’t mention such a capability, and if they have it, it must be based on some underlying functionality in Xerces, so I was hoping someone could show me where the hooks to such a tracing capability would be. (the specific problem that in the example that I sent around is that I have an <assertion> that should be rejecting a specific element in the document, but it is not. )
Thanks, Jim From: Mark R Maxey [mailto:mark_r_ma...@raytheon.com] Sent: Thursday, May 09, 2013 10:45 AM To: j-users@xerces.apache.org Subject: Re: debugging tools? I've foxy oxygen<http://www.oxygenxml.com/> and XMLSpy<http://www.altova.com/xmlspy.html> to be very helpful. Mark Maxey [Inactive hide details for Jim Barnett ---05/09/2013 09:31:58 AM---Are there tools that will help me debug a complex assertion?]Jim Barnett ---05/09/2013 09:31:58 AM---Are there tools that will help me debug a complex assertion? I've tried using trace, but it doesn't From: Jim Barnett <jim.barn...@genesyslab.com<mailto:jim.barn...@genesyslab.com>> To: "j-users@xerces.apache.org<mailto:j-users@xerces.apache.org>" <j-users@xerces.apache.org<mailto:j-users@xerces.apache.org>> Date: 05/09/2013 09:31 AM Subject: debugging tools? ________________________________ Are there tools that will help me debug a complex assertion? I’ve tried using trace, but it doesn’t seem to print out messages when it’s inside an ‘every’ or a ‘some’. I’ve attached the example I’m trying to debug. The assertion in line 26 of the schema should reject the <transition> in line 7 of sample.scxml, but it doesn’t (so validation succeeds). I can’t tell if there’s a logical error in my schema, or if I’m not using some element correctly. Can someone give me some hints on how to debug the assertion’s application? Thanks in advance, Jim Barnett[attachment "sample.scxml" deleted by Mark R Maxey/US/Raytheon] [attachment "test_schema.xsd" deleted by Mark R Maxey/US/Raytheon] --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org<mailto:j-users-unsubscr...@xerces.apache.org> For additional commands, e-mail: j-users-h...@xerces.apache.org<mailto:j-users-h...@xerces.apache.org>
<<inline: image001.gif>>