Schematron Validation - Missing local DTD
Posted: Fri May 08, 2015 12:42 pm
Hi, folks!
I am testing Schematron validation on a batch of XML documents, which are distributed over several directories. Each XML document contains an external DTD declaration to a local DTD File in the same directory like this:
By using a DTD validation scenario there are no problems to validate all files with just one DTD, which is located in a remote directory like .
But when I want to validate all XML files against a Schematron rule Oxygen throws an error, because it doesn't find the local DTD. I just can proceed the validation, when there is a local DTD in every XML directory.
Can I neglect Oxygen to validate against a DTD when I just want to test a Schematron rule. Or can I combine both validations in one scenario so I only have to use one remote DTD and one remote Schematron file? Or am I just misunderstanding a Schematron validation? Thank you!
I am testing Schematron validation on a batch of XML documents, which are distributed over several directories. Each XML document contains an external DTD declaration to a local DTD File in the same directory like this:
Code: Select all
<!DOCTYPE abc SYSTEM "abc.dtd">
Code: Select all
c:\temp
But when I want to validate all XML files against a Schematron rule Oxygen throws an error, because it doesn't find the local DTD. I just can proceed the validation, when there is a local DTD in every XML directory.
Can I neglect Oxygen to validate against a DTD when I just want to test a Schematron rule. Or can I combine both validations in one scenario so I only have to use one remote DTD and one remote Schematron file? Or am I just misunderstanding a Schematron validation? Thank you!