For personal reasons, I've been way behind in my non-paying-job coding for some months, and am just now about to foist my Test::Builder-based module for checking generated XML content against XML Schema, RelaxNG and/or SGML(-ish) DTD specs. At this stage, I mainly need to write the docs and some basic core-functionality tests. I'd like better test coverage, but I'd also like to let it escape from labs as it were, and have others torture it a bit. So it'll probably get an initial upload with leaner tests. I'm also planning on expanding it to provide testing functionality for other structured, formatted text entities, such as YAML. Seeing as one of the CPANTS metrics gauges whether a distro's META.yml conforms to the most-recent spec, I was wondering if there is an existing approach to comparing a YAML doc to a given "spec". Or what constitutes a YAML spec, for that matter. I've seen the spec for META.yml, which is itself a YAML doc. I wondered what the CPANTS framework does, in terms of validating? Is is something generic that I could adapt? Or is it a one-off that has to be adjusted each time changes are made to the spec itself?
Randy -- Randy J. Ray / [EMAIL PROTECTED] Silicon Valley Scale Modelers: http://www.svsm.org Sunnyvale, CA