Closed
Bug 6544
Opened 25 years ago
Closed 25 years ago
Cannot search on XML page
Categories
(Core :: XML, defect, P3)
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: hjtoi-bugzilla, Assigned: kinmoz)
References
Details
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
You cannot search on XML page because in
nsTextServicesDocument::GetBodyNode we are looking for an element called
"body", which is generally not present in an XML document.
I believe this could be fixed by changing the above method to retrieve the
body node for HTML documents ONLY, and in other cases get the root node. You
should be able to QI the mDOMDocument to see if it is nsIHTMLDocument. If
it was not, just return the document's root node.
Note that it would probably be a good idea to change the method's name as well,
because we would be getting other tags as well for XML docs.
this seems like kins back yard so i will let him clean up the mess ;) Boing!
its in your court now kin
Reporter | ||
Comment 2•25 years ago
|
||
Updated•25 years ago
|
QA Contact: 4130 → 4110
Updated•25 years ago
|
QA Contact: 4110 → 4130
Comment 3•25 years ago
|
||
Changing qa contact to claudius@netscape.com because the issue is 'Selection and
Search' - just on a different type of document.
Per a request from Selection and Search component eng (mjudge) and qa (elig),
moving all "Selection and Search" bugs to new "Selection" component. Original
"Selection and Search" component will be retired.
Updated•25 years ago
|
Component: Selection → XML
Comment 6•25 years ago
|
||
[Changing component to XML; Claudius, please reassign if you believe this
assignation to be erroneous. Thanks!]
Changing milestone to M9 since I don't have time to look at spellchecker
issues yet.
Moving all spellchecker/text services related bugs to M11 since I will still be
working on AutoComplete features through M10.
Moving some SpellChecker/TextServices feature requests and bugs, that can wait
till after beta 1, to milestone M14.
Assignee | ||
Comment 10•25 years ago
|
||
*** Bug 20622 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 11•25 years ago
|
||
*** Bug 18566 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 12•25 years ago
|
||
I checked in a fix for this:
mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp revision 1.23
mozilla/editor/txtsvc/src/nsTextServicesDocument.h revision 1.8
Fix should appear in the 01/27/2000 QA builds.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 13•25 years ago
|
||
I also reviewed the code, and tried searching on an XML page. Works, so marking
verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•