W3C home > Mailing lists > Public > public-html@w3.org > September 2009

Re: FPWD Review Request: HTML+RDFa

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 4 Sep 2009 17:34:49 -0400
Message-ID: <63df84f0909041434i57956fc4g7b534c19922f924@mail.gmail.com>
To: Shane McCarron <shane@aptest.com>
Cc: Mark Birbeck <mark.birbeck@webbackplane.com>, Philip Taylor <pjt47@cam.ac.uk>, Manu Sporny <msporny@digitalbazaar.com>, HTML WG <public-html@w3.org>, RDFa Developers <public-rdf-in-xhtml-tf@w3.org>
On Fri, Sep 4, 2009 at 4:08 PM, Shane McCarron<shane@aptest.com> wrote:
> I would not object to providing examples of extraction algorithms as
> guidance.  We already do this for CURIEs somewhere...  But I do not think it
> is a good idea to normatively define code.  The processing model in the
> current RDFa Syntax Recommendation is sufficiently precise for anyone to
> understand what must be done in the face of both conforming and
> non-conforming input.  The edge conditions people keep bringing up (what
> happens if xmlns:="" is defined, etc) are all degenerate cases of the
> general case of prefix declaration that does not match the syntax
> definition.  If it doesn't match the syntax definition, it is illegal.  If
> it is illegal, it is ignored.  What more does one need in a normative spec?

What is unclear to me is if attributes are processed according to
their namespaceURI+localName, or according to their nodeName. From a
brief look at [1] it appears only defined in terms of the Namespaces
in XML spec [2]. Which if I understand things correctly only defines
processing of XML files. Not processing of infosets or DOMs and the
like.

Thus it seems undefined what happens if you don't have XML at all.
Which is the case for HTML. It also seems undefined if the DOM is used
to modify the document. The CURIE spec [3] seems to verify this by
saying "When CURIES are used in a non-XML host language, the host
language MUST provide a mechanism for defining the mapping from the
prefix to an IRI". Here I would interpret all of DOM/infoset/HTML as
non-XML host languages.

However, this was from a very brief scan, so it's entirely possible
that I've missed something.

/ Jonas

[1] http://www.w3.org/TR/rdfa-syntax/#s_curieprocessing
[2] http://www.w3.org/TR/1999/REC-xml-names-19990114/
[3] http://www.w3.org/TR/curie/
Received on Friday, 4 September 2009 21:35:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:48 GMT