Closed (duplicate)
Project:
Drupal core
Version:
7.4
Component:
filter.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Oct 2010 at 14:25 UTC
Updated:
23 Oct 2011 at 05:01 UTC
Jump to comment: Most recent file
Hi
i make a fresh install of the new beta1 and add content ..i dont change the filter and use Filtered HTML..i just put text in the content..this brings me this error
# Warning: DOMDocumentFragment::appendXML(): Entity: line 9: parser error : StartTag: invalid element name in filter_dom_serialize_escape_cdata_element() (line 1068 of x/modules/filter/filter.module).
# Warning: DOMDocumentFragment::appendXML(): //--> in filter_dom_serialize_escape_cdata_element() (line 1068 of x/filter/filter.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | Picture 1.png | 171.71 KB | taylorjameshoward |
Comments
Comment #1
eule commenteduhmm no one get this error msg ?
Comment #2
damien tournoud commentedI can see that on the updated Drupal.org database. There are three different error messages in the report:
This is on PHP 5.2.6-1+lenny9 (Debian Lenny).
Comment #3
g0nz1k12 commented+1
I have the same problem!
Comment #4
Julia_yl commented+2
I have the same problem!
Comment #5
tesmon commented+3
I have the same problem too
Comment #6
sherakama commentedThe filter module does not like CDATA tags. Try removing them from your content.
Possibly a related post: http://drupal.org/node/967720
Comment #8
brucewhealtonjr commentedI am seeing this suddenly on the front page of my site. I don't seem to have any cdata code that I entered. I don't know what it is even catching. It seems to throw this warning above the very first content item that appears on the front page.
Bruce
Comment #9
sherakama commentedLook at your source code for tags that start with
<![ms word has been known to add in
<![mso[style junk into content. Remove those tags.I ran all my nodes through html purifier and saved them back to the database after I migrated a drupal 6 -> 7 site.
http://htmlpurifier.org/
there is also a module for this as well.
http://drupal.org/project/htmlpurifier
Comment #10
dalinClosing this as it is a dupe of a more recent issue that has a much better description of the problem:
http://drupal.org/node/998590#comment-4170376
Comment #11
Vc Developer commentedHad the same problem when I pasted from a LibraOffice Write document. I removed the CDATA and so far everything fine.
Comment #12
taylorjameshoward commentedThis is the error code I'm getting...it takes up my entire homepage (http://jrhh.biz)
I've attached a picture of the entire error below...
Can anybody give me directions on how to fix this? I think it occurred when I was installing the google analytics code, so I deleted the analytics code, but my frontpage still has this error?
Please help me?
Warning: DOMDocumentFragment::appendXML() [domdocumentfragment.appendxml]: Entity: line 20: parser error : StartTag: invalid element name in filter_dom_serialize_escape_cdata_element() (line 1107 of /home4/searchs1/public_html/JrHH.biz/modules/filter/filter.module).
Comment #13
taylorjameshoward commentedI thought I had deleted all of the google analytics code, but I forgot that I also pasted it on my forms page (http://www.jrhh.biz/quote)
Weird that it does this? How do I register google analytics to my site if the code cause this massive error?
Comment #14
taylorjameshoward commentedI thought I had deleted all of the google analytics code, but I forgot that I also pasted it on my forms page (http://www.jrhh.biz/quote)
Weird that it does this? How do I register google analytics to my site if the code cause this massive error?