Forums: Troubleshooting and Problems
Hi,
The define.xml file contains unexpected content (like spaces) before the XML declaration:
<?xml version="1.0" encoding="ISO-8859-1"?>
I'll see if there's anything we can do to provide a more friendly error message in that case, as that system-generated one is very confusing.
Regards,
Tim
Hi Tim,
Thank you very much for the instruction in the troubleshooting!
After removing the extra space in the declaration row, I can use the define file in the validator now.
Best!
Lin Yan 1
Hi,
When running OpenCDISC Validator 1.3 for ADaM datasets and ADaM define.xml with config-adam-1.0.xml, I got the following message. Is there something wrong with the define file?
Thank you!
Lin Yan
org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at org.opencdisc.validator.settings.XmlConfigurationParser.parse(XmlConfigurationParser.java:128)
at org.opencdisc.validator.DefaultValidator.createManager(DefaultValidator.java:475)
at org.opencdisc.validator.DefaultValidator.validate(DefaultValidator.java:314)
at org.opencdisc.validator.gui.ValidatorClient$ProcessMonitor.run(ValidatorClient.java:1728)