Help - newbie fails to use DTDSystemID
Posted: Wed Feb 09, 2005 10:25 pm
Hi folks,
Just started using oxygen and I want to be able to edit/validate docbook fragments. I have a local DTD that defines a bunch of entities and then references the real DocBook DTD.
I have tried the following at the top of the fragment file but the validation fails:
<?xml version="1.0" encoding="utf-8"?>
<?oxygen DTDSystemID="dbxml.dtd"?>
The errors I get are that it says it can't find the declaration of the first element in the file (a varlistentry) and that a text entity has been referenced but not defined (it's defined in dbxml.dtd).
Any ideas what I am doing wrong?
Curiously, the editor knows that I am editing a DocBook document because if offers completion for new element names. Before anyone asks, there is no
default DTD specified in the oxygen preferences.
Thanks.
Just started using oxygen and I want to be able to edit/validate docbook fragments. I have a local DTD that defines a bunch of entities and then references the real DocBook DTD.
I have tried the following at the top of the fragment file but the validation fails:
<?xml version="1.0" encoding="utf-8"?>
<?oxygen DTDSystemID="dbxml.dtd"?>
The errors I get are that it says it can't find the declaration of the first element in the file (a varlistentry) and that a text entity has been referenced but not defined (it's defined in dbxml.dtd).
Any ideas what I am doing wrong?
Curiously, the editor knows that I am editing a DocBook document because if offers completion for new element names. Before anyone asks, there is no
default DTD specified in the oxygen preferences.
Thanks.