- From: <bugzilla@jessica.w3.org>
- Date: Thu, 08 Mar 2012 10:08:00 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16272
Summary: Use of foreign namespace in SVG marked as invalid.
Product: Validator
Version: HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Parser
AssignedTo: dave.null@w3.org
ReportedBy: tavmjong@free.fr
QAContact: www-validator-cvs@w3.org
SVG specifically allows foreign namespaces. The validator marks them as
invalid.
The following example, taken from the SVG 1.1 2nd edition specification returns
the error:
"Element piechart from namespace http://example.org/myapp not allowed as child
of SVG element defs in this context."
<?xml version="1.0" standalone="yes"?>
<svg width="4in" height="3in" version="1.1"
xmlns = 'http://www.w3.org/2000/svg'>
<defs>
<myapp:piechart xmlns:myapp="http://example.org/myapp"
title="Sales by Region">
<myapp:pieslice label="Northern Region" value="1.23"/>
<myapp:pieslice label="Eastern Region" value="2.53"/>
<myapp:pieslice label="Southern Region" value="3.89"/>
<myapp:pieslice label="Western Region" value="2.04"/>
<!-- Other private data goes here -->
</myapp:piechart>
</defs>
<desc>This chart includes private data in another namespace
</desc>
<!-- In here would be the actual SVG graphics elements which
draw the pie chart -->
</svg>
See: http://www.w3.org/TR/SVG/extend.html
--
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 8 March 2012 10:08:07 UTC