<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>16272</bug_id>
          
          <creation_ts>2012-03-08 10:07:59 +0000</creation_ts>
          <short_desc>Use of foreign namespace in SVG marked as invalid.</short_desc>
          <delta_ts>2012-03-08 10:07:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Parser</component>
          <version>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tavmjong</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65138</commentid>
    <comment_count>0</comment_count>
    <who name="">tavmjong</who>
    <bug_when>2012-03-08 10:07:59 +0000</bug_when>
    <thetext>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:

&quot;Element piechart from namespace http://example.org/myapp not allowed as child of SVG element defs in this context.&quot;

&lt;?xml version=&quot;1.0&quot; standalone=&quot;yes&quot;?&gt;
&lt;svg width=&quot;4in&quot; height=&quot;3in&quot; version=&quot;1.1&quot;
     xmlns = &apos;http://www.w3.org/2000/svg&apos;&gt;
  &lt;defs&gt;
    &lt;myapp:piechart xmlns:myapp=&quot;http://example.org/myapp&quot;
                    title=&quot;Sales by Region&quot;&gt;
      &lt;myapp:pieslice label=&quot;Northern Region&quot; value=&quot;1.23&quot;/&gt;
      &lt;myapp:pieslice label=&quot;Eastern Region&quot; value=&quot;2.53&quot;/&gt;
      &lt;myapp:pieslice label=&quot;Southern Region&quot; value=&quot;3.89&quot;/&gt;
      &lt;myapp:pieslice label=&quot;Western Region&quot; value=&quot;2.04&quot;/&gt;
      &lt;!-- Other private data goes here --&gt;
    &lt;/myapp:piechart&gt;
  &lt;/defs&gt;
  &lt;desc&gt;This chart includes private data in another namespace
  &lt;/desc&gt;
  &lt;!-- In here would be the actual SVG graphics elements which
       draw the pie chart --&gt;
&lt;/svg&gt;

See: http://www.w3.org/TR/SVG/extend.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>