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.
Do we need this for beta?
HTML DOM bugs are M11/P2 for Vidur.
Moving to M14.
Handing this one to Nisheeth pending a decision what to do with entity references and expat.
Bulk moving all M14 non-beta stopper bugs to M17...
Moving bugs out by one milestone...
Move back into M17...
I meant move back into M16...
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?
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 :)
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...
M16 has been out for a while now, these bugs target milestones need to be updated.
Nominating this for nsbeta3.
correctness of DOM1 implementation.
Marking nsbeta3- for now...
Mass update of qa contact
Nominating for rtm
We will not be able to implement this functionality until post Netscape 6.0. Marking rtm- and futuring.
QA contact Update
Updating QA contact to Shivakiran Tummala.
nominating for nsbeta1, the main purpose of this method is defeated. I think this missed major milestones.
Mass-reassigning bugs to firstname.lastname@example.org
The test URL (http://www.fas.harvard.edu/~dbaron/dom/test/one-core-xml/EntityReference) is no longer valid.
14 years ago
*** Bug 41286 has been marked as a duplicate of this bug. ***
*** Bug 36870 has been marked as a duplicate of this bug. ***
13 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.
Removing helpwanted since this is being removed in bug 611983. This won't make 2.0 afaict.
Removed support altogether.