Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
p:step-available('p:validate-with-relax-ng') returns true when p:validate-with-relax-ng is not available #117
When Jing is not on the classpath, p:validate-with-relax-ng doesn't work. However,
The same probably goes for the other steps which requires external libraries, although I haven't tested those...
After some investigation, I don't think this is practical.
Realistically, all that p:step-available can tell (in XML Calabash v1.x) is whether or not the step can be instantiated, not whether or not it will run successfully. I think you'll have to use p:try/p:catch to deal with runtime errors.
I'll try to do better in the V.next architecture.