validating a document

<oXygen/> general issues.
eHannes
Posts: 31
Joined: Sat Apr 16, 2005 11:29 am

validating a document

Post by eHannes » Mon Feb 05, 2007 2:37 pm

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: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache » Tue Feb 06, 2007 11:34 am

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