W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2007

[whatwg] Spec should give guidance on compound document integration points

From: Charles McCathieNevile <chaals@opera.com>
Date: Sun, 25 Feb 2007 14:20:48 +0100
Message-ID: <op.toa3cyplwxe0ny@widsith.local>
On Sat, 24 Feb 2007 14:53:50 +0100, Henri Sivonen <hsivonen at iki.fi> wrote:

> The obvious candidates for compound document mixing are SVG and
> MathML. Also, there are indications that people will want to embed
> RDF metadata in documents even though the syntax of RDF is designed
> for external metadata and isn't really all that good for embedded
> metadata. I think WA 1.0 should give some guidance on these matters.

One of the sources of complexity in RDF syntax is the requirement that it could be included in HTML documents in a way that didn't upset legacy browsers. There are assorted use cases for being able to include RDF inside documents.

[assorted reasonable suggestions]

> Where should the RDF element from the RDF namespace be allowed in an
> XHTML5 host document? (My expectation: It should be allowed as a
> child of the head element. Other metadata goes there and the contents
> of head are hidden in legacy browsers, so the text node descendants
> of the RDF element from the RDF namespace won't leak to presentation
> in legacy browsers. Also, if conformance checkers don't have a hole
> that allows embedded RDF, people who want to embed RDF will come up
> with worse workarounds to avoid eliciting errors in conformance
> checking.


> To work around the fact that RDF envelope is designed for
> external metadata and not embedded metadata, XHTML5 should probably
> suggest that authors use rdf:about="" to refer to the current
> document as per XMP*.)

This is standard RDF practice already actually (and fairly common). There are a few edge cases where the semantic power of RDF means that this should not be done, but they probably don't need to be discussed in WHATWG documents as they are unlikely to arise in the usage of people who are reading those documents instead of learning about RDF.



  Charles McCathieNevile, Opera Software: Standards Group
  hablo espa?ol  -  je parle fran?ais  -  jeg l?rer norsk
chaals at opera.com          Try Opera 9.1     http://opera.com
Received on Sunday, 25 February 2007 05:20:48 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:52 UTC