Re: tref bug !?

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 15:58:24 UTC