validating a document

Oxygen general issues.
eHannes
Posts: 31
Joined: Sat Apr 16, 2005 11:29 am

validating a document

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
Post Reply