On Mon, Jun 21, 2010 at 11:49 PM, Dave Pawson <[email protected]> wrote:
> On Mon, 21 Jun 2010 23:13:57 +1000
> Sashan Govender <[email protected]> wrote:
>
>> Hi
>>
>> I'm trying to validate my document using xmllint but get this error:
>>
>>
>>  xmllint --noout --valid --relaxng
>> /usr/share/xml/docbook5/schema/rng/5.0/docbook.rng main.xml
>> main.xml:2: validity error : Validation failed: no DTD found !
>> /docbook" xmlns:xi="http://www.w3.org/2001/XInclude";; version="5.0"
>> xml:lang="en"
>>
>> I thought that docbook 5 didn't require a dtd?

The problem is the xmllint option "--valid" asks for validation by an
internal DTD (see the xmllint man page).  Eliminate that option and it
should work.

HTH.

Regards,

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to