List Info

Thread: hCalendar Acid Test #1




hCalendar Acid Test #1
country flaguser name
United Kingdom
2008-04-15 12:30:23
There's no "right" or "wrong" answer -
just judge the output of your  
favourite parser yourself.

	http://examples.tobyinkster.co.uk/hcalendar-acid1.html


For comparison, here's the output from latest development
version  
(unreleased) of Cognition:

	ht
tp://examples.tobyinkster.co.uk/hcalendar-acid1- 
cognition-20080415.ics
	ht
tp://examples.tobyinkster.co.uk/hcalendar-acid1- 
cognition-20080415.rdf

Cognition's output is by no means perfect: handling of
attendees,  
contacts and organisers in particular could be improved.

-- 
Toby A Inkster
<mailto:mailtobyinkster.co.uk>
<http://tobyinkster.co.uk
>



_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: hCalendar Acid Test #1
country flaguser name
Australia
2008-04-15 19:01:47
Very nice. I was working on creating an ACID test for µf for
couple of  
weeks now, but in different way. I was trying to find all
the edge  
cases in parsing any µf. Here is a link: http://m
icroformatique.com/optimus/test.html 
  It is not finished however. But it is quite tricky and
helped me to  
find a lot of bugs in Optimus.


On 16/04/2008, at 3:30 AM, Toby A Inkster wrote:
> There's no "right" or "wrong"
answer - just judge the output of your  
> favourite parser yourself.
>
> 	http://examples.tobyinkster.co.uk/hcalendar-acid1.html

>
> For comparison, here's the output from latest
development version  
> (unreleased) of Cognition:
>
> 	http://examples.tobyinkster.co.uk/hcalen
dar-acid1-cognition-20080415.ics
> 	http://examples.tobyinkster.co.uk/hcalen
dar-acid1-cognition-20080415.rdf
>
> Cognition's output is by no means perfect: handling of
attendees,  
> contacts and organisers in particular could be
improved.

_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: hCalendar Acid Test #1
user name
2008-04-16 09:10:34
On 4/15/08, Dmitry Baranovskiy <dmitry.baranovskiygmail.com> wrote:
> Very nice. I was working on creating an ACID test for
µf for couple of weeks
> now, but in different way. I was trying to find all the
edge cases in
> parsing any µf. Here is a link:
> http://m
icroformatique.com/optimus/test.html It is not
> finished however. But it is quite tricky and helped me
to find a lot of bugs
> in Optimus.
>
>

I would add an edgecase where:

<span id="summary"
class="summary">Summary SPAN</span>
...
<th id="title" axis="summary">
    <em class="summary">Summary
EM</em>
    <strong
class="description">Description</strong>
</th>
...
<td headers="title">Cell content<a
href="#summary"
class="include">text</a></td>


I am working on an example to test this with Operator,
because
Operator picks up the summary and description properties
from the TH
(using headers) but only when the <a> include is not
used.

I would assume that default behavior should be to use any
properties
found first in the TD cell. Then follow the include pattern
to find
any additional properties. Lastly, search for properties
found in the
TH cell(s) as referenced by headers.  Any property
values defined
more than once are taken as the value defined first.  (I
believe this
is already the case with the include pattern, I am simply
generalizing
to the headers pattern.)

~Jason

_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: hCalendar Acid Test #1
country flaguser name
Australia
2008-04-17 01:03:13

> On 4/15/08, Dmitry Baranovskiy
<dmitry.baranovskiygmail.com> wrote:
>> Very nice. I was working on creating an ACID test
for µf for couple of 
>> weeks
>> now, but in different way. I was trying to find all
the edge cases in
>> parsing any µf. Here is a link:
>> http://m
icroformatique.com/optimus/test.html It is not
>> finished however. But it is quite tricky and helped
me to find a lot of 
>> bugs
>> in Optimus.

nice! ...I was trying it on my own scripts last night -
helped me fix a few 
things!


_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )