Re: SVG 1.2 Notes:

On Mon 2004-03-22 Dean Jackson wrote:
> My answer was going to be "Why can't you?", but then I realised that
> you're not allowed to have foreign namespaces in <title>

http://www.w3.org/TR/SVG11/struct.html#DescriptionAndTitleElements
"
Each container element or graphics element in an SVG drawing can
supply a 'desc' and/or a 'title' description string where the
description is text-only.

[...]

Description and title elements can contain marked-up text from other
namespaces. Here is an example:

<?xml version="1.0" standalone="yes"?>
<svg width="4in" height="3in" version="1.1"
 xmlns="http://www.w3.org/2000/svg">
   <desc xmlns:mydoc="http://example.org/mydoc">
      <mydoc:title>This is an example SVG file</mydoc:title>
      <mydoc:para>The global description uses markup from the 
        <mydoc:emph>mydoc</mydoc:emph> namespace.</mydoc:para>
   </desc>
   <g>
   <!-- the picture goes here -->
   </g>
</svg>
"

"description is text-only" and "Description and title elements can
contain marked-up text from other namespaces" seem to contradict each
other, especially the former confuses me a bit.

> at least according to the DTD (which may not be normative this time
> around).

Since DTD can't describe arbitrary foreign content it sure would be
sensible to choose a sufficiently capable schema language instead for
the normative schema (eg make the RNG normative).

> I argued once for foreign stuff inside <title> and <desc> but I
> lost,

The 1.1 spec allows it AFAICS.

Tobi

-- 
Vim users, don't forget to
   http://iccf-holland.org/donate.html

Received on Monday, 22 March 2004 04:31:58 UTC