Closed
Bug 9850
Opened 26 years ago
Closed 14 years ago
{dom1}createEntityReference returning null
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: dbaron, Unassigned)
References
()
Details
(Keywords: dom1, Whiteboard: [nsbeta3-][rtm-])
document.createEntityReference is returning null in an XML document. It should
be supported.
Observed: Running the above test case gives one error message:
"TEST(S) OMITTED: entref is null."
Expected: Test runs to end.
Updated•25 years ago
|
Target Milestone: M15
Comment 1•25 years ago
|
||
Do we need this for beta?
Updated•25 years ago
|
Priority: P3 → P2
Target Milestone: M15 → M11
Comment 2•25 years ago
|
||
HTML DOM bugs are M11/P2 for Vidur.
Updated•25 years ago
|
Target Milestone: M11 → M14
Comment 3•25 years ago
|
||
Moving to M14.
Updated•25 years ago
|
Assignee: vidur → nisheeth
Comment 4•25 years ago
|
||
Handing this one to Nisheeth pending a decision what to do with entity
references and expat.
Updated•25 years ago
|
Target Milestone: M14 → M17
Comment 5•25 years ago
|
||
Bulk moving all M14 non-beta stopper bugs to M17...
Updated•25 years ago
|
Status: NEW → ASSIGNED
Comment 9•25 years ago
|
||
Johnny, regardless of whether we decide to pass up entity refernces in expat,
document.createEntityReference() needs to be implemented so that entitities
defined in the internal subset of an XML document can be created through the
DOM.
Should I re-assign this bug to you?
Comment 10•25 years ago
|
||
Are we (in the content sink) given a list of entities defined in the internal
subset? If we are, then supporting creation of references to text (without
markup) or character entities defined in the internal subset (or external subset
for that matter, as long as we're given a list or the defined entities) is
trivial, but supporting creation of references to entities that contain markup
is not as easy, we need to get the DOM tree (ie parse the replacement text) for
the content in the entity we're referensing, same goes for external entities,
but that's even harder since the external file might need to be parsed,
preferably synchronously, and that's not something we can easily do right now
in mozilla AFAIK.
To have a general and clean sollution for this bug I think we need to have bug
15119 (script way of loading XML...), if we had this we could simply use that
service to always parse the entity replacement text, or we could use that
service to load the external file that the entity points to.
What are the plans for bug 15119, do you have any plans for that? Once that is
fixed I'd be glad to take over this bug :)
Comment 11•25 years ago
|
||
Hi Johnny,
I'm passing this to you for now. Bug 15119 is fixed but you also need:
a) bug 15118 fixed, and
b) a way to generate a DOM from a string
before you can implement this. I'll try to work on a) and b) next...
Assignee: nisheeth → jst
Status: ASSIGNED → NEW
Updated•25 years ago
|
Status: NEW → ASSIGNED
Comment 12•25 years ago
|
||
M16 has been out for a while now, these bugs target milestones need to be
updated.
Comment 13•25 years ago
|
||
Nominating this for nsbeta3.
Updated•24 years ago
|
Comment 15•24 years ago
|
||
Marking nsbeta3- for now...
Comment 18•24 years ago
|
||
We will not be able to implement this functionality until post Netscape 6.0.
Marking rtm- and futuring.
Whiteboard: [nsbeta3-] → [nsbeta3-][rtm-]
Target Milestone: M18 → Future
Updated•24 years ago
|
Component: DOM Level 1 → DOM Core
Comment 21•23 years ago
|
||
nominating for nsbeta1, the main purpose of this method is defeated. I think
this missed major milestones.
Comment 22•22 years ago
|
||
Mass-reassigning bugs to dom_bugs@netscape.com
Assignee: jst → dom_bugs
Status: ASSIGNED → NEW
Comment 23•21 years ago
|
||
The test URL
(http://www.fas.harvard.edu/~dbaron/dom/test/one-core-xml/EntityReference) is no
longer valid.
Updated•21 years ago
|
Reporter | ||
Updated•21 years ago
|
Comment 24•21 years ago
|
||
*** Bug 41286 has been marked as a duplicate of this bug. ***
Comment 25•21 years ago
|
||
*** Bug 36870 has been marked as a duplicate of this bug. ***
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
Updated•16 years ago
|
Assignee: general → nobody
Updated•16 years ago
|
Flags: wanted1.9.2?
Comment 26•14 years ago
|
||
11 years later, document.createEntityReference is still poorly supported by other browsers. IE9 (so far) and Opera don't even implement it. Chrome tries hard, but its implementation is broken.
Target Milestone: Future → mozilla2.0
Comment 27•14 years ago
|
||
Removing helpwanted since this is being removed in bug 611983. This won't make 2.0 afaict.
Comment 28•14 years ago
|
||
Removed support altogether.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•