RE: [SVGMobile12] SVGT12-207: Behaviour of <a> pointing into same document outside SVG document fragment is not defined

On Mon, 19 Dec 2005, Scott Hayman wrote:
> > >> 
> > > Your missing column is meant to be covered by column B.  As such, I 
> > > would propose that the description of column B be changed to:
> > > 
> > > 	B: Reference an SVG document fragment, either within the current
> > >      document or an external document (e.g., 
> > >      afile.svg#anelement").
> > 
> > That doesn't include referencing an element that is not inside an SVG 
> > document fragment but is within the current document.
> 
> That is covered in column D.

Ah, so, for example, this case:

   <example xmlns="http://www.example.com/">
    <svg xmlns="http://www.w3.org/2000/svg">
     <script xlink:href="#a" xmlns:xlink="http://www.w3.org/1999/xlink"/>
    </svg>
    <script-blocks>
     <def xml:id="a">
      alert('FAIL');
     </def>
    </script-blocks>
   </example>

...should be treated as if the <script> element had an unsupported 
xlink:href attribute, and should therefore not result in an alert? (One 
assumes that the http://www.example.com/ namespace defines <def> elements 
inside <script-blocks> elements as defining script blocks. A more standard 
example might be possible using, e.g., VoiceXML <script declare> blocks, 
but I am not very familiar with the syntax.)

If that is the case, then the change you suggest above would satisfy my 
request.

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 19 December 2005 21:25:02 UTC