Closed
Bug 36870
Opened 24 years ago
Closed 20 years ago
Can't put entity refs into nodes
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
Future
People
(Reporter: david, Unassigned)
References
()
Details
(Keywords: dom2)
If you create a text node with the contents "español", the entity reference is not expanded when you dynamically place it into a document. [That's e-s-p-ampersand-ntilde-semicolon-o-l above, in case Bugzilla _does_ expand the reference. The test URL shows three attempts to do it; the last two (using CDATASection and EntityReference) give "not supported" errors in the JavaScript console.
Comment 1•24 years ago
|
||
Neither createTextNode nor (and especially not) createCDATASection should expand entity references. The DOM spec days HTML DOM implemetations don't need to support createEntityReference() but IMO we should support that, if we don't it's impossible to dynamically create entity references.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•24 years ago
|
||
This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: --- → Future
Updated•24 years ago
|
Status: NEW → ASSIGNED
Updated•24 years ago
|
Component: DOM Level 2 → DOM HTML
Comment 4•20 years ago
|
||
We already have a bug on createEntityReference *** This bug has been marked as a duplicate of 9850 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•