[uf-dev] parsing question
Dan Connolly
connolly at w3.org
Thu Jan 11 07:23:13 PST 2007
On Thu, 2007-01-11 at 09:13 +0000, Brian Suda wrote:
> On 1/10/07, Ryan King <ryan at technorati.com> wrote:
> > How should I handle the following in hCard:
>
> --- i think the valuw would be '//'
>
> The class="email" on the DIV is not an 'a' or 'abbr' (it is a div) so
> paring rules say use the node value.
>
> In this case the node value is a script node, which contains only ' //'
>
> As a parser, you should NOT look inside comments <!-- --> or <![CDATA
Why would it not look inside <![CDATA ? That's just a fancy/ugly
quoting mechanism.
have you tried XSV to see what it currently does?
I agree that microformat parsing shouldn't evaluate scripts.
--
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