[uf-dev] include-pattern testing

Dan Connolly connolly at w3.org
Sat Apr 29 08:07:54 PDT 2006


Brian and everybody,

The x2v implementation of object/include doesn't seem to match
the wiki topic http://microformats.org/wiki/include-pattern

x2v only looks for the children of the referenced element,
not the element itself.

I just made a test out of the example there.

hcard/35-include-pattern.html
hcard/35-include-pattern.vcf

http://hg.microformats.org/tests
changeset:   1efe1721cdbe
date:        Sat Apr 29 09:59:01 2006 -0500

I started working on a fix to x2v; unfortunately, it touches
a lot of the code. It involves changing .//*[...]
to descendant-or-self::*[...] in lots of places.

That include pattern is pretty cool. It's a bit of a pain
to implement, but I think it helps a lot with DRY issues
that I was running into while trying hResume out on my CV.

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E



More information about the microformats-dev mailing list