Re: errata? weather.svgz#sunny

Cameron,

once again thanks so much for your rapid response, however...

is this supported in UAs?
I haven't been able to create anything to demonstrate this working in  
squiggle or opera

I'm really concerned by this, primarily there's no examples, so I'm  
confused.
in <svg:use>  xlink:href='http://www.peepo.org.uk/icon-ark/weather-icons.svgz/#sunnyi'
will only point to - and display - the single symbol with id #sunny.
is it correct that this symbol would never be displayed? it's a  
symbol, that's a version of my original errata query

i used this file: http://www.peepo.org.uk/icon-ark/weather-icons.svgz
i added a new id="vsunny"

then tried: file:/Users/jonathanchetwynd/Desktop/weather.svg#vsunny
but this is merely the default.

also tried:
file:/Users/jonathanchetwynd/Desktop/ 
weather.svg#vsunny(viewBox(0,0,200,200))

<symbol id="sunny" viewBox="0 0 150 150"  >
<title>sunny</title>
  <g style="stroke-width:7;stroke:#ff0">
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(-20, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(4, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(28, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(52, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(76, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(100, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(124, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(148, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(172, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(196, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(220, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(244, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(268, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(292, 75, 75)" />
<line x1="22" y1="75" x2="39" y2="75" transform="rotate(316, 75, 75)" />

<circle cx="75" cy="75" r="25" fill="#ff0"/>
   </g>
</symbol>

<use xlink:href="#sunny" x="33%" y="72%" width="15%" height="30%"  
id="vsunny"/>

there are a few other things, but better take small steps...

eg: with use-external this seems very confusing requirement to  
duplicate ids.

cheers
~:"

Jonathan Chetwynd

j.chetwynd@btinternet.com
http://www.iconomy.org/

+44 (0) 20 7978 1764


On 1 May 2008, at 11:48, Cameron McCormack wrote:

>
> Hi Jonathan.
>
> Jonathan Chetwynd:
>> why so quiet?
>>
>> in html # can be used as part of a uri to point to an anchor in the
>> document, conforming UAs generally display the document from that  
>> point.
>>
>> it seems natural to me that for svg where # is part of use
>>
>> http://www.peepo.org.uk/icon-ark/edemocracy.svgz#braille
>>
>> might only display the single symbol #braille.
>>
>> is something similar planned fro SVG1.2?
>
> Indeed it is planned, and even specified.  Have a look at
> http://www.w3.org/TR/SVGMobile12/linking.html#SVGFragmentIdentifiers.
>
>> could this be an errata for 1.1? can't see why not as the syntax  
>> has no
>> current use and what else might be preferred?
>
> Actually the syntax has a slightly different (and incompatible)  
> meaning
> in SVG 1.1:
>
>  If the SVG fragment identifier addresses any element other than a
>  'view' element, then the document defined by the closest ancestor
>  'svg' element is displayed in the viewport using the view
>  specification attributes on that 'svg' element.
>    — http://www.w3.org/TR/SVG11/linking.html#SVGFragmentIdentifiers
>
> -- 
> Cameron McCormack ≝ http://mcc.id.au/
>

Received on Thursday, 1 May 2008 11:44:00 UTC