- From: Dan Connolly <connolly@w3.org>
- Date: Mon, 15 Oct 2007 13:34:55 -0500
- To: Shane McCarron <shane@aptest.com>
- Cc: Bruce D'Arcus <bdarcus@gmail.com>, Mark Birbeck <mark.birbeck@formsPlayer.com>, Ivan Herman <ivan@w3.org>, Elias Torres <elias@torrez.us>, Semantic Web <semantic-web@w3.org>, W3C RDFa task force <public-rdf-in-xhtml-tf@w3.org>, office-metadata <office-metadata@lists.oasis-open.org>
On Mon, 2007-10-15 at 11:04 -0500, Shane McCarron wrote: > [...] > The names of RDFa attributes are indeed stable now, and are "namespaced" > in that they exist in the XHTML namespace. Really? I didn't realize that. Please add a test suite to make this clear to developers. The way I read Ivan's code, he didn't realize that either: http://dev.w3.org/2004/PythonLib-IH/pyRdfa/ Parse.py 15-Oct-2007 if not _hasOneOfAttributes(node,"href","resource","about","property","instanceof","rel","rev") : def _hasOneOfAttributes(node,*args) : """ Check whether one of the listed attributes is present on a node. @param node: DOM element node @param args: tuple consisting of possible attributes """ return True in [ node.hasAttribute(attr) for attr in args ] > The DTD and Schema > implementations allow for inclusion of those namespaced attributes in > any XML grammar. The current document, rdfa-syntax [1], is focused upon > XHTML 1.1 + RDFa just because that is the markup language we are > defining right now and because describing the RDFa attributes in terms > of a markup language is a lot easier for people to grasp. > > We recently rolled the separate "xhtml-rdfa" module [2] document into > "rdfa-syntax" so it would be easier for people to read and comprehend. > My take on your request is that a clearly defined module that could be > used in any host language would make it easier for your group to look at > convergence down the road. Is that a fair characterization? > > > [1] http://www.w3.org/MarkUp/2007/ED-rdfa-syntax-20070927 > [2] http://www.w3.org/MarkUp/2007/ED-xhtml-rdfa-20070811/ (note - obsolete!) -- Dan Connolly, W3C http://www.w3.org/People/Connolly/ gpg D3C2 887B 0F92 6005 C541 0875 0F91 96DE 6E52 C29E
Received on Monday, 15 October 2007 18:34:43 UTC