XPath 2.0 Connection debugger
When connecting to a data source errors can occur. In many cases there is too much information about the error for it all to be view-able in the connection editor.
SQL data sources solve this problem with the connection debugger. There should be one of these for XPATH 2.0 aswell.
I am happy to share that this functionality has been accepted and also released in our 20.1 Core release. You can read more about the functionality here: https://ohana.windwardstudios.com/m/76878/l/1254031-how-do-i-use-the-xpath-connection-debugger . Thank you for your idea and please submit any other suggestions you have to improve our software.
Matt Binsfeld commented
Here is an example:
A connection to an xpath 2.0 connection may show this error in the connection editor "net.windward.env.DataConnectionException: Create datasource error: One error was found while processing the schema".
If I have a large schema, it is might be nearly impossible to tell what in my schema is causing this error. This error is produced by saxon, and it contains more information on what the problem is.
An inner exception might show "Syntax error at char 23 in regular expression: Escape character '/' not allowed". Now I know to look for an invalid regular expression in the schema.