Re: run xmllint during build (was Re: need xmllint on borka) - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: run xmllint during build (was Re: need xmllint on borka)
Date
Msg-id alpine.DEB.2.10.1408212216220.21654@sto
Whole thread Raw
In response to Re: run xmllint during build (was Re: need xmllint on borka)  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
>>> It is only run when the build is via XML/XSLT, not via SGML/DSSSL
>>> (because the SGML/DSSSL build already checks the validity anyway).
>>
>> I'm confused.  I thought the point of this change was mostly that the
>> SGML toolchain is less strict than the XML toolchain, and you wanted
>> to have the more-strict checks applied whenever possible.
>
> The SGML tool chain is less strict about what it considers valid, but
> the XML toolchain doesn't check at all unless we run xmllint, it just
> produces garbage when the input is invalid.

This suggests that "xmllint" should always be run, because it is more 
strict than the other, so it is safer if the source has passed it and is 
validated, whatever the tool chain used afterwards?

-- 
Fabien.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: run xmllint during build (was Re: need xmllint on borka)
Next
From: Fabien COELHO
Date:
Subject: Re: run xmllint during build (was Re: need xmllint on borka)