Search in XML.
The text search in an XML file does not work correctly. When pressing Ctrl-F and searching for some text which is present in the XML file, Firefox will report it has not found anything.
被采纳的解决方案
You can do a search in the page source if searching the XML tree view isn't working.
- Firefox > Web Developer > Page Source
- Tools > Web Developer > Page Source (Ctrl+U)
- Right-click on a web page to open the right-click context menu and select Page Source
所有回复 (5)
In the Find Bar, un-check "Match case" if it is checked
If this reply solves your problem, please click "Solved It" next to this reply when signed-in to the forum.
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update as necessary:
- Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
- Adobe Shockwave for Director Netscape plug-in: Installing (or Updating) the Shockwave plugin with Firefox
- Adobe PDF Plug-In For Firefox and Netscape: Installing/Updating Adobe Reader in Firefox
- Shockwave Flash (Adobe Flash or Flash): Updating Flash in Firefox
- Next Generation Java Plug-in for Mozilla browsers: Installing or Updating Java in Firefox
Thanks SafeBrowser, I have tried it again and it is not working even "Match Case" is unchecked. Take http://edition.cnn.com/sitemap_news.xml for example, 1> Press Ctrl-F. 2> Input cnn and hit enter to search. 3> The next button in the search bar works well, but if you click the "Previous" or "Highlight all" button, it just doesn't work.
Just found an old bug related to the issue --> https://bugzilla.mozilla.org/show_bug.cgi?id=517866
There are other related bug reports, but one of the suggestions in the above worked for me.
- Select (highlight) a few letters in the xml doc, then deselect (click in a blank space), then find what you want. However, "Highlight all" will not work.
Older bug report, with more recent comments and other duplicate reports listed --> https://bugzilla.mozilla.org/show_bug.cgi?id=263049#c32
Sorry, but there does not seem to be a fix. I suppose fixing the issue is a low priority item with the developers.
If this reply solves your problem, please click "Solved It" next to this reply when signed-in to the forum.
由SafeBrowser于
选择的解决方案
You can do a search in the page source if searching the XML tree view isn't working.
- Firefox > Web Developer > Page Source
- Tools > Web Developer > Page Source (Ctrl+U)
- Right-click on a web page to open the right-click context menu and select Page Source
I have this problem in Firefox 11.0 for Linux Mint 12. When I opened a local file foo.xml and searched for "clientip" with the Match case box unchecked, the ^F search didn't find tag <clientIP>. It did, however, find "clientIP".