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

Headsup on hCard profile xml:base concerns

From: Chimezie Ogbuji <ogbujic@ccf.org>
Date: Tue, 24 Apr 2007 11:32:41 -0400
To: "GRDDL Working Group" <public-grddl-wg@w3.org>
cc: Norman.Walsh@Sun.COM
Message-ID: <1177428761.6198.41.camel@otherland>

As a result of my action of helping the folks at Semantic Conference
Technology redo their schedule in hCard and vCard (I'm making good
progress, more updates later), I came across a concern related to our
recent conversation about xml:base.

The problem surrounds the hCard profile
(http://www.w3.org/2006/03/hcard) :

In order to match a grddl:profileTransformation assertion with the
profile URL as the subject, the result of applying
http://www.w3.org/2003/g/glean-profile to the profile needs a 'proper'
base.  When I run the transformation via 4Suite XML I get:

chimezie@otherland:~$ 4xslt  http://www.w3.org/2006/03/hcard
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:dataview="http://www.w3.org/2003/g/data-view#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xml:base="">
  <rdf:Description rdf:about="">

Note the xml:base="".  My understanding (and this seems to be the case
with the underlying RDF parser - RDFLib) is that the empty string value
becomes the hardcoded base instead of following the XML Base mechanism
which begins with no base in the content (in which case the base would
be the profile URL).

Without xml:base, the profileTransformation assertion matches up, with
it as an empty string, it doesn't - and so hcard2rdf.xsl is not applied
against the XHTML document which indicated that
http://www.w3.org/2006/03/hcard is its HTML profile.

Perhaps I'm misreading this particular use of xml:base, but any
clarification would help.

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

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 Tuesday, 24 April 2007 15:32:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:39:11 UTC