W3C home > Mailing lists > Public > public-grddl-wg@w3.org > April 2007

Re: Valid XHTML and Faithful Infoset redflag - stated (semi) formally

From: Chimezie Ogbuji <ogbujic@ccf.org>
Date: Wed, 25 Apr 2007 10:56:14 -0400
To: "GRDDL Working Group" <public-grddl-wg@w3.org>
Message-ID: <1177512974.17530.83.camel@otherland>

Clarification (it is a bit more subtle)

On Wed, 2007-04-25 at 10:26 -0400, Chimezie Ogbuji wrote:
> Class: xhtml:NotValidDocument
> DisjointWith: xhtml:Document

Is the premise (antecedent) of the informative rule under "Rules for
GRDDL with valid XHTML":

?N gspec:profileName "http://www.w3.org/2003/g/data-view".
(?N
""".//*[namespace-name()="http://www.w3.org/1999/xhtml" and
        (local-name() = "a"
         or local-name() = "link")"""
) gspec:xpath ?E.
(?E "@rel") gspec:xpath [ fn:string [
   fn:normalize-space ?E_REL ]].
(?E_REL "[ \t\r\n]+") fn:tokenize [
 list:member "transformation" ].
(?E "@href") gspec:xpath [ fn:string ?T_REF ].
?E fn:base-uri ?BASE.
(?T_REF ?BASE) fn:resolve-uri ?TURI.
?T log:uri ?TURI. 

OR

?N a xhtml:Document.
?N gspec:profileName "http://www.w3.org/2003/g/data-view".
(?N
""".//*[namespace-name()="http://www.w3.org/1999/xhtml" and
        (local-name() = "a"
         or local-name() = "link")"""
) gspec:xpath ?E.
(?E "@rel") gspec:xpath [ fn:string [
   fn:normalize-space ?E_REL ]].
(?E_REL "[ \t\r\n]+") fn:tokenize [
 list:member "transformation" ].
(?E "@href") gspec:xpath [ fn:string ?T_REF ].
?E fn:base-uri ?BASE.
(?T_REF ?BASE) fn:resolve-uri ?TURI.
?T log:uri ?TURI. 

Note the additional condition that ?N is a xhtml:Document

-- 
Chimezie Ogbuji
Lead Systems Analyst
Thoracic and Cardiovascular Surgery
Cleveland Clinic Foundation
9500 Euclid Avenue/ W26
Cleveland, Ohio 44195
Office: (216)444-8593
ogbujic@ccf.org


===================================




Cleveland Clinic is ranked one of the top 3 hospitals in
America by U.S.News & World Report. Visit us online at
http://www.clevelandclinic.org for a complete listing of
our services, staff and locations.


Confidentiality Note:  This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law.  If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If
you have received this communication in error,  please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy.  Thank you.
Received on Wednesday, 25 April 2007 14:56:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:49 GMT