<?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>14566</bug_id>
          
          <creation_ts>2011-10-26 07:38:57 +0000</creation_ts>
          <short_desc>foreignObject as child of &lt;svg&gt;</short_desc>
          <delta_ts>2011-10-27 01:18:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>SVG</product>
          <component>Definitions</component>
          <version>All Specifications</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Test Suite</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="j.chetwynd">jay</reporter>
          <assigned_to name="Doug Schepers">schepers</assigned_to>
          <cc>cam</cc>
    
    <cc>jeremie.patonnier</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="SVG Public List">www-svg</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>58979</commentid>
    <comment_count>0</comment_count>
    <who name="j.chetwynd">jay</who>
    <bug_when>2011-10-26 07:38:57 +0000</bug_when>
    <thetext>SVG1.1 Second Edition states
&apos;Usually, a </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58983</commentid>
    <comment_count>1</comment_count>
    <who name="Jeremie Patonnier">jeremie.patonnier</who>
    <bug_when>2011-10-26 08:59:07 +0000</bug_when>
    <thetext>The spec is very clear, &lt;foreignObject&gt; can be used inside other elements than &lt;switch&gt;

Each element definition said specifically if it can contain &lt;foreignObject&gt; or not.
for example, see : http://www.w3.org/TR/SVG/struct.html#SVGElement

So it seams that the RelaxNG file is flowed :-/

All the following elements can contain &lt;foreignObject&gt; (according to SVG 1.1 2nd Edition)

svg
g
defs
desc
title
symbol
switch
style
marker
mask
a
script
glyph
missing-glyph
metadata</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58993</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Longson">longsonr</who>
    <bug_when>2011-10-26 12:45:15 +0000</bug_when>
    <thetext>This changed in SVG 1.1 Second Edition...

http://www.w3.org/TR/2010/WD-SVG11-20100622/changes.html#WholeDocument</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58995</commentid>
    <comment_count>3</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2011-10-26 16:06:23 +0000</bug_when>
    <thetext>There is also no official RelaxNG supplied by the Working Group for SVG 1.1 Second Edition.  Sounds like this is just a bug that needs fixing in the validator.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59039</commentid>
    <comment_count>4</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-10-27 01:15:11 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; There is also no official RelaxNG supplied by the Working Group for SVG 1.1
&gt; Second Edition.

The validator.nu backend uses the schema from http://www.w3.org/Graphics/SVG/1.1/rng/

&gt; Sounds like this is just a bug that needs fixing in the validator.

The &quot;bug&quot; is that the validator.nu backend is using a schema that apparently has not yet been updated to incorporate the changes made for the second edition of SVG 1.1. That&apos;s kind of expected since validator.nu has had SVG 1.1 support for several years now, and SVG 1.1 second edition only became a Rec two months ago... 

If the SVG WG is not officially maintaining the http://www.w3.org/Graphics/SVG/1.1/rng/ schema, then I&apos;d suggest the group consider doing that, and updating it with the changes for the second edition.

It would seem very odd to me for the group to provide an updated DTD but not an updated RelaxNG schema.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59040</commentid>
    <comment_count>5</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-10-27 01:18:42 +0000</bug_when>
    <thetext>(In reply to comment #2 from Robert Longson)
&gt; This changed in SVG 1.1 Second Edition...
&gt; 
&gt; http://www.w3.org/TR/2010/WD-SVG11-20100622/changes.html#WholeDocument

Thanks -- I was confused about where the discrepancy came from. Now it&apos;s clear.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>