- From: <peasthope@shaw.ca>
- Date: Sun, 23 Jan 2011 14:06:50 -0700
- To: www-svg@w3.org, peasthope@shaw.ca
- Cc: peasthope@shaw.ca
Hello Dr. Hoffmann, From: "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de> Date: Sat, 22 Jan 2011 14:01:17 +0100 > I think, the prefix contruction with always > having <svg:element-name> in > XHTML 1.1 plus MathML 2.0 plus SVG 1.1 ... > > If you put the xmlns attribute with the value > for SVG in each topmost svg element ... OK, thanks. I accept the need for unambiguous identification of a namespace. Conversely, I am interested to use the namespace prefix where not necessary in a *.svg document. In principle, this should work but gives an error message. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [ ] > <svg xmlns="http://www.w3.org/2000/svg" xml:lang="en" width="134" height="242" overflow="visible" style="font-family:Times; font-size:20"> <svg:text x='40' y='-50' >1</svg:text> </svg> If the two instances of "svg:" are removed, the above text validates. Is there any simple way to make the above validate without removing the "svg:" prefixes? Thanks for any ideas, ... Peter E. -- Telephone 1 360 450 2132. Shop pages http://carnot.yi.org/ accessible as long as the old drives survive. Personal pages http://members.shaw.ca/peasthope/ .
Received on Sunday, 23 January 2011 22:07:07 UTC