Page 1 of 1

Xerces error when validating with a DTD

Posted: Mon Mar 11, 2013 9:49 pm
by bds
Hi all,

I'm running into an odd problem and I hope someone here can steer me in the right direction.

I have number of TEI XML documents that I want to validate with a DTD [1]. If I try to validate one of the XML documents against the DTD using Document > Validate > Validate (Ctrl+Shift+V), I get the following error:

Code: Select all

System ID: /usr/home/bds/Documents/tdh-test/all-tdh/sc/sc242.xml
Main validation file: /usr/home/bds/Documents/tdh-test/all-tdh/sc/sc242.xml
Scenario name: all-tdh-XML-validation-1
Engine name: Xerces
Severity: fatal
Description: The markup declarations contained or pointed to by the document type declaration must be well-formed.
Start location: 2:1
Length: 3
If I use the Document > Validate > Validate with... dialog & input the URL [1], the document validates without any error messages. I have several hundred documents to validate & wanted to apply the validation to the project.

Please let me know if there is additional info I can provide!
Thanks for your time & trouble.
Best,
bds

[1] http://diglib.lib.utk.edu/dlc/standards ... ixlite.dtd

Re: Xerces error when validating with a DTD

Posted: Tue Mar 12, 2013 9:10 pm
by Costin
Hello,

As you do not get the error when you validate by invoking the "Validate with..."
action, then the first thing you should do would be to double check your validation scenario, see if everything is set OK there and let us know if the problem is of other kind.

This is because you have a validation scenario associated, called all-tdh-XML-validation-1, as also noticeable from the error code.

Regards,
Costin

Re: Xerces error when validating with a DTD

Posted: Tue Mar 12, 2013 10:40 pm
by bds
Costin,
thanks for the reply & apologies for the noise. I've corrected the issue and validation works.

Best,
BDS