l Lin
on

 

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)

Forums: Troubleshooting and Problems

t Tim
on February 21, 2013

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

l Lin
on February 25, 2013

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

 

Want a demo?

Let’s Talk.

We're eager to share and ready to listen.

Cookie Policy

Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.