W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > January 2002

xml:base testcase draft: base and embedded hyperlink interactions

From: Dan Brickley <danbri@w3.org>
Date: Fri, 18 Jan 2002 11:07:38 -0500 (EST)
To: <w3c-rdfcore-wg@w3.org>
Message-ID: <Pine.LNX.4.30.0201181038550.26639-100000@tux.w3.org>

Below, a writeup of the interaction I mentioned concern about on the telecon, ie.
that the applicability of surrounding xml:base declarations to embedded
chunks of parseType="Literal" hypertext may be unclear. I don't
distinguish here between the different XML namespaces (XHTML, SVG, MathML
etc) that might appear as literal markup within the RDF. The intention is
that the test case embed XML markup that does acknowledge xml:base.

(I expect this case can be folded into our answer for the more general
question: what do we do w.r.t. namespaces declared outside the embedded
XML fragments.)


<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/11-rdf-syntax-ns#"

<!-- some RDF written using XML base for conciseness -->

<foaf:Person 	foaf:name="Dan Brickley"

    <foaf:Document rdf:about="index.html" dc:title="Dan&apos;s home page"/>
    <foaf:Document rdf:about="biblio.html" dc:title="Dan&apos;s bibliography"/>

 <!-- within scope of the xml:base we have some literal xhtml data -->
      <foaf:excerpt rdf:parseType="Literal">
        <h:html xmlns:h="http://www.w3.org/1999/xhtml">
            <h:title>Some other doc</h:title>
            <h1>Some HTML markup</h1>
              <h:p>An experimental <h:a h:href="../../example.html">hyperlink</h:a></h:p>
              <!-- does the xml:base affect this hyperlink? -->


Received on Friday, 18 January 2002 11:07:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:54 UTC