W3C home > Mailing lists > Public > www-svg@w3.org > March 2002

Re: tref bug !?

From: <lbenedek@ca.ibm.com>
Date: Mon, 25 Mar 2002 16:11:42 -0500
To: Chris Lilley <chris@w3.org>
Cc: www-svg@w3.org
Message-ID: <OFCC69805B.BA79C207-ON85256B87.00741DE5@torolab.ibm.com>
Chris,

Do you think this could be the common source of the problem I've had
referencing an external glyph ?
I haven't been able to fix that either.




                                                                                                                                 
                    Chris Lilley                                                                                                 
                    <chris@w3.org>       To:     www-svg@w3.org, www-svg-request@w3.org, Laszlo Benedek/Toronto/IBM@IBMCA        
                    Sent by:             cc:                                                                                     
                    www-svg-reques       Subject:     Re: tref bug !?                                                            
                    t@w3.org                                                                                                     
                                                                                                                                 
                                                                                                                                 
                    03/25/02 03:56                                                                                               
                    PM                                                                                                           
                    Please respond                                                                                               
                    to Chris                                                                                                     
                    Lilley                                                                                                       
                                                                                                                                 
                                                                                                                                 



On Monday, March 25, 2002, 8:08:09 PM, lbenedek wrote:

lcic> What's wrong with this ?

From a spec conformance point of view, nothing.

From and ASV 3.0 point of view, they only seem to like a single XML
tree at once. The next version, hopefully .... meanwhile, try it in
Batik.


lcic> A file having an external reference.

lcic> <?xml version="1.0" encoding="UTF-8"?>
lcic> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
lcic>    "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
lcic> <svg width="450" height="450">
lcic>   <g>
lcic>     <text x="75" y="200" style="font-size:18;font-family:Helvetica;
fill:green">>
lcic>       <tref xlink:href="text-ext.svg#tref-external-reference"/>
lcic>     </text>
lcic>   </g>
lcic> </svg>


lcic> External file (called "text-ext.svg") containing the referenced text.

lcic> <svg xmlns:xlink="http://www.w3.org/1999/xlink"
lcic> xmlns="http://www.w3.org/2000/svg" >
lcic>   <g>
lcic>     <defs>
lcic>       <text id="tref-external-reference">Simple external referenced
lcic> text.</text>
lcic>     </defs>
lcic>   </g>
lcic> </svg>


lcic> It doesn't work.
lcic> I'm using Windows NT 4.0, Netscape 4.7/IE 6.0, Adobe SVG Viewer 3.0
build
lcic> 76



--
 Chris                            mailto:chris@w3.org
Received on Monday, 25 March 2002 16:11:46 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:21 GMT