Page 1 of 1

validating a document

Posted: Mon Feb 05, 2007 2:37 pm
by eHannes
Hi,

I want to validate a document with the following doctype declaration:

Code: Select all

<!DOCTYPE article
PUBLIC "-//UBA//DTD ISO 12083:1993 Article UBA extensions//EN"
"file:/C:/dpc/tijdschrift/dtd/ubaaxml.dtd">
Doing so I get this error:

Code: Select all

C:\Program Files\Oxygen XML Editor 8.0\frameworks\docbook\dtd\soextblx.dtd
Description: A '(' character or an element type is required in the declaration of element type "entry".
Why is Oxygen looking a the docbook dtd?

Thanks,
Hans Scholte

Posted: Tue Feb 06, 2007 11:34 am
by sorin_ristache
Hello,

oXygen is looking at one of the DTDs of DocBook because your "file:/C:/dpc/tijdschrift/dtd/ubaaxml.dtd" file refers other DTD through a public ID or system ID that is resolved by the default catalog of oXygen. If you do not want that just disable the default catalog in Options -> Preferences -> XML -> XML Catalog. You can see the reference that is resolved to soextblx.dtd using the default catalog by enabling verbose logging of the catalog resolver which will be displayed in the Catalogs view. For that you have to check the "Verbosity" option in Options -> Preferences -> XML -> XML Catalog.


Regards,
Sorin