--- Andy Armstrong <[EMAIL PROTECTED]> wrote:

> > C:\download\Tk-804.027-9793>perl595 -Mblib t\Kr.t
> > 1..0 # Skipped: locale's 'iso-8859-1' cannot represent Korean.
> 
> The TAP grammar we're working to has it as /^1..0\s+#\s*SKIP\b/i - so
>  
> Skippped doesn't match.
> 
> It occurs to me that we could relax our parsing for any TAP stream  
> that doesn't have an explicit version number - so we'd only require  
> strict compliance for new TAP. We already have a mechanism for  
> swapping in a different grammer per TAP version number.

As I recall, we've hit the same problem with another module (POE?) and
I'm thinking that extending the TAP grammar here might be the key. 
Specifically, consider this:

  1..0 # SKIP some reason

The '1..0' is 'skip all' and the 'SKIP' is redundant except that it
allows us an easy way to provide a parseable skip reason.  Perhaps we
should allow comments on the plan?  That allows the above to be 'skip
all', doesn't give us a reason, but still parses.  Any version of TAP
with the TAP version embedded would be assumed to be more strict?

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog     - http://use.perl.org/~Ovid/journal/

Reply via email to