[uf-dev] hCard test 30: empty ABBR element

brian suda brian.suda at gmail.com
Wed Jun 21 08:07:54 PDT 2006


Sorry Dan, the  $SOURCE$ and $PRODID$ breaking is my fault. I have an
internal XSLT that i have versioned 0.8 (it is not quite ready to check
back in yet). Since the x2v repos and the tests repos are different i
up'ed the version number in the tests so my local code passed the tests.
Then i checked the tests back in with the newer version number, but not
the x2v yet.

in /bin/test-xlstproc.pl you can set the $PRODID$ string and the
$SOURCE$ strings to match what ever you'd like.

hopefully, if i can find some free time i can finish cleaning-up the
XSLT and check that back in too (there have just been a few "issues"
lately such as white-space and @headers that need some clean-up).

-brian

Dan Connolly wrote:
> On Wed, 2006-06-21 at 07:27 -0700, Tantek =?ISO-8859-1?B?xw==?=elik
> wrote:
> [...]
>   
>> And certainly to fix that test case, I would suggest changing it from:
>>
>> <div class="vcard">
>>  <img class="fn" src="http://www.w3.org/Icons/w3c_home"
>>       alt="World Wide Web Consortium" />
>>  <abbr class="org" title="World Wide Web Consortium" />
>> </div>
>>
>> to:
>>
>> <div class="vcard">
>>  <img class="fn org" src="http://www.w3.org/Icons/w3c_home"
>>       alt="World Wide Web Consortium" />
>> </div>
>>
>>
>> And perhaps add another test case:
>>
>> <div class="vcard">
>>  <object data="http://www.w3.org/Icons/w3c_home">
>>   <abbr class="fn org" title="World Wide Web Consortium">W3C</abbr>
>>  </object>
>> </div>
>>     
> [...]
>   
>> Ryan, could you fix the test case, perhaps as suggested above?
>>     
>
> I made the change in the hg repository...
> http://hg.microformats.org/tests?cs=485ee7986a3b
>
> I haven't updated http://microformats.org/tests/hcard/30-fn-org.html ;
> I don't think I'm authorized to do that.
>
> I'm not sure I got the expected results quite right. I
> can't run the tests; I get:
>
> connolly at dirk:~/mf-hg/tests$ perl bin/test-xsltproc.pl
> FAIL hcard/01-tantek-basic
> 6c6
> < PRODID:-//suda.co.uk//X2V 0.8 (BETA)//EN
> ---
>   
>> PRODID:-//suda.co.uk//X2V 0.7.15.1 (BETA)//EN
>>     
>
>
> Ryan, you explained how the $SOURCE$ and $PRODID$ normalization
> stuff works, but it has since leaked out of my tiny brain.
> Would you please explain again?
>
> p.s. I gather it's microformats-dev policy to strip
> addresses other than the mailing list from the to/cc,
> but I maintain a whitelist of people I've sent mail to.
> Drew, welcome to my whitelist :-)
>
>   



More information about the microformats-dev mailing list