Boost logo

Boost :

From: Daniel James (daniel_james_at_[hidden])
Date: 2008-03-26 05:05:58


On 25/03/2008, David Abrahams <dave_at_[hidden]> wrote:
>
> The comment at the top of explicit-failures-markup implies the following
> command should work, but it doesn't for me. What am I missing?
>
> $ xmllint --valid explicit-failures-markup.xml --schema explicit-failures.xsd
> explicit-failures-markup.xml:3: validity error : Validation failed: no DTD found !
> xsi:noNamespaceSchemaLocation="explicit-failures.xsd">

According to xmllint's man page, '--valid' instructs xmllint to
validate against a DTD, and we don't have a DTD. If validating against
the XSD schema is enough (I have no idea if a DTD does anything that
an XSD schema doesn't), dropping '--valid' seems to work.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk