DTD Validation Error

This should cover W3C XML Schema, Relax NG and DTD related problems.
rmohammed
Posts: 2
Joined: Tue Sep 24, 2019 6:15 pm

DTD Validation Error

Post by rmohammed » Tue Sep 24, 2019 6:31 pm

Hi Team,

I have downloaded the BITS-book-oasis2.dtd (ftp://ftp.ncbi.nih.gov/pub/jats/extensions/bits/2.0/) and validated same DTD in Oxygen but it throw the below error against the soextblx.dtd in local path: C:\Program Files (x86)\Oxygen XML Editor 16\frameworks\docbook\4.5\dtd\soextblx.dtd

Description: Element type "thead" must not be declared more than once.
Description: Element type "tbody" must not be declared more than once.
Description: A '(' character or an element type is required in the declaration of element type "entry".

Please help to resolve this issue. So that we can validate any XML files.

Regards,
Raja

Radu
Posts: 6569
Joined: Fri Jul 09, 2004 5:18 pm

Re: DTD Validation Error

Post by Radu » Wed Sep 25, 2019 12:32 pm

Hi Raja,

Oxygen uses the standard XML catalog support to resolve various DTD references. And a DTD which describes the CALS table model is also present in the Docbook framework configuration.
If you go to the Oxygen Preferences->"Document Type Associations" page you can uncheck the Docbook 4 and Docbook 5 framework configurations and then save the preferences. Then try again to open and validate your DTD.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

rmohammed
Posts: 2
Joined: Tue Sep 24, 2019 6:15 pm

Re: DTD Validation Error

Post by rmohammed » Wed Sep 25, 2019 1:37 pm

Hi Radu,

Many thanks for your reply. Now it works fine.

Regards
Raja

Post Reply