Closed Bug 256021 Opened 20 years ago Closed 12 years ago

Need DOM extension to preserve entity references in XML/XUL documents

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: benjamin, Unassigned)

References

Details

I was looking at the prerequisites for writing a visual XUL editor, and entities
are looking to be an interesting problem, since we use them so pervasively for
localization. I want a DOM extension to preserve entities as a special form of
text node.

At first glance, this needs to be an editor-mode-only extension. Instead of
looking up entity references in the parser, the DOM would contain a special
implementation of nsIDOMCharacterData/nsGenericDOMDataNode that was essentially
read-only.

After the parser/content work is done, I'd need a CSS selector to match these
special entity nodes.
Seems like what you'd want here is support for DOM entity reference nodes, no
need for any extensions that I can see...
Depends on: 9850
Assignee: general → nobody
QA Contact: ian → general
I don't see this being fixed.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Component: DOM: Mozilla Extensions → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.