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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>28853</bug_id>
          
          <creation_ts>2009-08-31 13:29:29 -0700</creation_ts>
          <short_desc>&quot;SYNTAX_ERR: DOM Exception 12&quot; when parsing invalid XHTML is not descriptive enough.</short_desc>
          <delta_ts>2019-02-06 09:03:26 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</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>
          
          <blocked>97693</blocked>
    
    <blocked>15492</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Romanovich">alex</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>eric</cc>
    
    <cc>mkwst</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>143710</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Romanovich">alex</who>
    <bug_when>2009-08-31 13:29:29 -0700</bug_when>
    <thetext>If a NO_MODIFICATION_ALLOWED_ERR error is thrown, Safari&apos;s error console does not detail the actual syntax in question. This makes debugging difficult in complex scripts that modify the DOM. Firefox actually reports the syntax that was rejected. For example:

Safari:

Error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7

Firebug:

Error: not well-formed
Source File: 
Line: 1, Column: 115
Source Code:
&lt;div class=&quot;test&quot;&gt;&amp;nbsp;&lt;/div&gt;

I don&apos;t know if this should be considered part of https://bugs.webkit.org/show_bug.cgi?id=15492 which has to do with the logging of these errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>730383</commentid>
    <comment_count>1</comment_count>
    <who name="Mike West">mkwst</who>
    <bug_when>2012-09-28 02:16:20 -0700</bug_when>
    <thetext>Rolling 15492 into this. At the moment, this code generates an exception with the message &quot;SYNTAX_ERR: DOM Exception 12&quot;. We should add detail there explain what the syntax error was.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>730386</commentid>
    <comment_count>2</comment_count>
    <who name="Mike West">mkwst</who>
    <bug_when>2012-09-28 02:17:00 -0700</bug_when>
    <thetext>*** Bug 15492 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>730387</commentid>
    <comment_count>3</comment_count>
    <who name="Mike West">mkwst</who>
    <bug_when>2012-09-28 02:18:10 -0700</bug_when>
    <thetext>https://bug-15492-attachments.webkit.org/attachment.cgi?id=46096 is a test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>827705</commentid>
    <comment_count>4</comment_count>
    <who name="Mike West">mkwst</who>
    <bug_when>2013-02-07 11:00:43 -0800</bug_when>
    <thetext>Unassigning myself; let&apos;s be realistic about what I&apos;m actually working on. :/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1502968</commentid>
    <comment_count>5</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2019-02-06 09:03:26 -0800</bug_when>
    <thetext>Mass moving XML DOM bugs to the &quot;DOM&quot; Component.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>