Forums: Define.xml
Frank before we try to dive any further, would it be possible to use the latest version of CLI (1.4). We have updated the CLI instructions as well:
http://www.opencdisc.org/using-opencdisc-validator-cli
Same behavior as in earlier versions: using GUI, I get a report w/ 7 messages. Running the BAT file shown in the earlier post (just change 1.3 references to 1.4), and XLS is created with no errors/warnings in the "Issues" sheet. Likewise, nothing in the piped TXT file to indicate anything was out of the ordinary.
I have a SAS macro that generates and runs a BAT file to validate define.xml. It was working fine until a couple of days ago, when it produced an XLS file with the first sheet ("Issue Summary") populated correctly with config file, date, & column headers, but no messages. Here's the file created by the macro:
The thing is, when I use the GUI - version 1.2, 1.21, or 1.3 - on the same input XML I get 7 messages. GUI v. CLI/BAT is the only difference in execution: OS (Windows XP Pro), Java build (1.5) are the same. I get the same "die quiet" behavior whether the BAT file runs as an X command from within SAS or whether I run it standalone (i.e., double-click on the BAT file from Windows Explorer). I've tried running with and without the -X parameters, with and without quotes around the task/type/overwrite parameters, removing the redirection in the last line of the command - all with the same result (XLS with no messages). There are no errors or warnings in the TXT file:
We have other macros that validate SDTM datasets in a similar way, and they appear to be working correctly, so I'm at a loss to explain why define.xml validation is failing.