Schematron "XML Parsing failed" - How to Resolve?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
kdolan09
Posts: 4
Joined: Mon Apr 28, 2025 7:11 pm

Schematron "XML Parsing failed" - How to Resolve?

Post by kdolan09 »

I have a framework. It includes several different XSD files, two Schematron SCH files, and a defined validation scenario that includes automatic validation with both SCH files.

I created two XML files - each point to different XSD files.
  • If I open one of the XML files and click the Validate button - all is good. If I modify the XML document to violate one of the rules in either of the SCH files, it reports the error.
  • If I open the other XML file and click the Validate button - results report two errors. Both errors are "F [ISO Schemtron] XML Parsing failed", one for each SCH file. No other information is available.
Why would Oxygen XML have a problem parsing the SCH files for one XML file but not another XML file? Also, is there any way to get more information about this error? I looked at Options > Preferences and looked for options to set to spit out more info about the issue but did not find anything applicable.

If I try to validate the XML file (reporting XML Parsing failed) against the cited XML Schema alone, the process succeeds with warnings.

All help is greatly appreciated.
tavy
Posts: 388
Joined: Thu Jul 01, 2004 12:29 pm

Re: Schematron "XML Parsing failed" - How to Resolve?

Post by tavy »

Hello,

Thank you for your feedback.
Unfortunately, I am unable to reproduce the error you described. Could you please send me a sample XML file and Schematron file at support@oxygenxml.com, so that I can attempt to reproduce the issue? It appears that the processing defined in the Schematron file fails when applied to that specific XML document.

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
kdolan09
Posts: 4
Joined: Mon Apr 28, 2025 7:11 pm

Re: Schematron "XML Parsing failed" - How to Resolve?

Post by kdolan09 »

Thank you. I will get this to as soon as I can. I am not able to send you my actual XSD and XML file so I need to mock something similar up and I am about to be OOO for a week.
Kelly
Post Reply