Re: [mingw:bugs] #2094 mingw-dist needs XML validation tools

Earnie Boyd <[email protected]> Wed, 9 Oct 2013 07:51:55 -0400
Newsgroups gmane.comp.gnu.mingw.devel
Message-ID <CA+sc5mmw96x0uS-zUNK2yUNsGY6hpSSJHJHVQC25WYnUTLnHdw@mail.gmail.com>
On Sun, Oct 6, 2013 at 4:15 PM, Keith Marshall
<[email protected]> wrote:
> [https://sourceforge.net/p/mingw/bugs/2094/ refers]
>
> To improve validation of our XML catalogues, prior to publication, I've
> created an XML Schema Definition Language (XSDL) specification, which we
> may use to check the condition of the mingw-dist source inventory; I've
> also found a public domain example of Xerces-C++ code, which I can
> easily adapt to generate a problem report, such as may be seen in the
> above referenced ticket.
>
> I'm thinking that this should be integrated into the mingw-dist build
> infrastructure, such that the publishable image cannot be generated
> while validation errors persist in the XML source inventory.  Possible
> drawbacks would be that you would all need to install the Xerces-C++
> SDK, (I added a mingw32 build to the "contrib" package set, a week or so
> ago), before you could run the test suite, which would become a
> mandatory prerequisite for publishing catalogues, and that uncaught
> errors introduced by others could block your own publication builds.
>
> If that seems too draconian, a possible mitigation could be to require
> the validation check for a default build, but I could also expose a
> secondary make goal, which would bypass the check.
>
> Thoughts?
>

Just thanks for the work.

> Furthermore, would you each like to follow up on the errors reported, on
> the ticket, in respect of your own catalogues, or should I just go ahead
> and fix them?
>

The ticket lists 4 of which 3 are mine.  I'll take care of the fourth
one as well since its maintainer has been absent.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk