Closed
Bug 352628
Opened 19 years ago
Closed 1 year ago
XULContentSink does not produce CDATA nodes
Categories
(Core :: XUL, defect, P5)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: WeirdAl, Unassigned)
References
()
Details
(Keywords: dom1, testcase)
Attachments
(1 file)
|
342 bytes,
application/vnd.mozilla.xul+xml
|
Details |
Loading this source into Firefox or SeaMonkey, the description element's first child comes out with a node type of 3 (TEXT_NODE), not 4 (CDATA_SECTION_NODE) :
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<description id="cdata-test"><![CDATA[ XUL testing of CDATA sections ]]></description>
</window>
Steps to reproduce:
(1) Load the attached document into Firefox or SeaMonkey.
(2) Inspect document via DOM Inspector, look for the first child of the description element.
Expected results:
Node name is #cdata-section
Actual results:
Node name is #text
Tested on:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/0000000000 Minefield/3.0a1
| Reporter | ||
Comment 1•19 years ago
|
||
| Reporter | ||
Comment 2•19 years ago
|
||
https://bugzilla.mozilla.org/attachment.cgi?id=238393&content_type=application/xml does correctly generate the CDATA section node.
| Reporter | ||
Comment 3•19 years ago
|
||
per discussion with sayrer
Summary: XUL parses CDATA sections as text nodes → XULContentSink does not produce CDATA nodes
Updated•12 years ago
|
Assignee: general → nobody
Comment 4•8 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•3 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Status: NEW → RESOLVED
Closed: 1 year ago
Component: DOM: Core & HTML → XUL
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•