Re: inline svg problem

> Not sure if this is the right place for Amaya bugs?   The Amaya help menu doesn't tell me where to go.

 www-amaya@w3.org is the right place.

> 
> Using Amaya from CVS today..
> 
> 
> I have an html page with inline SVG at:
> 
> 	http://www.graphviz.org/cgi-bin/webdot/webdot/svginline.html
> 
> 
> The bug is that just under the diagram there is a line with "]>" on it.
> I'm not sure if this is my bug, or Amaya's, but I'm hoping that someone
> here can tell me?

In fact your document is not correct and the Amaya html parser is too tolerant 
here.
You cannot include a complete xml document within a html document.
The main document should be an xhtml document and you should use the namespaces
technology to include SVG within.
The xml declaration can appear only at the beginning of the document.
See http://www.w3.org/TR/SVG/conform.html which explains how to include
SVG fragments.

> 
> The characters come from the end of the preamble to the inline SVG in the middle of the html:
> 
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
>   "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
>   <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
> ]>
> 
> Shouldn't this entire <!DOCTYPE....> block be ignored for layout?
> 
> 
> John Ellson
> 
> 

Received on Wednesday, 17 April 2002 05:33:47 UTC