W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2002

FW: inline svg problem

From: Budd, Sinclair <s.budd@ic.ac.uk>
Date: Wed, 17 Apr 2002 16:36:55 +0100
Message-ID: <A0F836836670D41183A800508BAF190B7E5767@icex1.cc.ic.ac.uk>
To: www-amaya@w3.org
 Are there any viewers that can display such a file besides amaya?   Neither
Mozilla 0.99  or IE 5.5 can!

-----Original Message-----
From: Irene Vatton [mailto:Irene.Vatton@inrialpes.fr]
Sent: Wednesday, April 17, 2002 8:12 AM
To: John Ellson
Cc: www-amaya-dev@w3.org; www-amaya@w3.org
Subject: 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
You cannot include a complete xml document within a html document.
The main document should be an xhtml document and you should use the
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 11:37:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:37 UTC