W3C home > Mailing lists > Public > public-swd-wg@w3.org > February 2007

RE: [RDFa] rdf:XMLLiteral (was RE: Missing issue on the list: identification of RDFa content)

From: Hausenblas, Michael <michael.hausenblas@joanneum.at>
Date: Fri, 16 Feb 2007 19:43:51 +0100
Message-ID: <768DACDC356ED04EA1F1130F97D298520854D0@RZJC2EX.jr1.local>
To: "Ivan Herman" <ivan@w3.org>
Cc: <public-rdf-in-xhtml-tf@w3.org>, <public-swd-wg@w3.org>

Ivan,
 
> http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/#section-Syntax-XML-literals <http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/#section-Syntax-XML-literals> 
>
> includes an example which has the same characteristics: no 'top level' xml element.

Without being disrespectful and assuming that you have your SW activity
lead hat off :) I'd like to ask you to which example you are referring -
the only one I can find in section 2.8 of [1] reads as follows:
 
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:ex="http://example.org/stuff/1.0/">
  <rdf:Description rdf:about="http://example.org/item01">
    <ex:prop rdf:parseType="Literal" xmlns:a="http://example.org/a#">
      <a:Box required="true">
        <a:widget size="10" />
        <a:grommit id="23" />
      </a:Box>
    </ex:prop>
  </rdf:Description>
</rdf:RDF>

with <a:Box ...> being the 'top level element' in the resulting object
of type rdf:XMLLiteral, giving the triple [2]:
 
<http://example.org/item01> <http://example.org/stuff/1.0/prop> "<a:Box xmlns:a=\"http://example.org/a#\" required=\"true\">\n         <a:widget size=\"10\"></a:widget>\n         <a:grommit id=\"23\"></a:grommit></a:Box>\n    "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .

which is what I would expect ...
 
The rational behind my original question was to figure out what subset 
of RDF we are going to support. This was due to the fact that we have a
pending action regarding this issue (cf. [3]).

> Bottom line: I do not think *that* is the problem.

Well - it is always either part of the problem or part of the solution ;)

Cheers,
       Michael
 
[1] http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/ <http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/> 
[2] http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example09.nt
[3] http://www.w3.org/2006/07/SWD/RDFa/Overview.html#sec4
 
----------------------------------------------------------
 Michael Hausenblas, MSc.
 Institute of Information Systems & Information Management
 JOANNEUM RESEARCH Forschungsgesellschaft mbH
 Steyrergasse 17, A-8010 Graz, AUSTRIA
----------------------------------------------------------
Received on Friday, 16 February 2007 18:44:18 GMT

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