Sashan Govender wrote:

>  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?

Don't use --valid option. It tells to xmllint that it should try to
locate and use DTD for validation.

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: [email protected]      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to