Closed Bug 1044507 Opened 10 years ago Closed 10 years ago

'Find Previous' and 'Highlight All' buttons don't work in xml document tree view

Categories

(Core :: XML, defect)

31 Branch
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 263049

People

(Reporter: sergio, Unassigned)

Details

Bug 263049 wasn't well classified , 
we just found something happens when loads XMLPrettyPrint.xsl , because  adding this line (1) in begin of xml files with XMLPrettyPrint.xsl in same directory, 
fix all problems without any patch , tested with new firefox-31 

(1)
<?xml-stylesheet type="text/xsl" href="XMLPrettyPrint.xsl" ?>

hope
> Bug 263049 wasn't well classified , 

No, it's classified correctly.

> adding this line (1) in begin of xml files with XMLPrettyPrint.xsl in same directory

... modifies the script-exposed DOM to the post-transform one.  The xml tree view is not allowed to change the script exposed DOM, so it has to stuff the transform result into anonymous content, which is what cases the find toolbar issues.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
(In reply to Boris Zbarsky [:bz] from comment #1)
> > Bug 263049 wasn't well classified , 
> 
> No, it's classified correctly.
> 
> > adding this line (1) in begin of xml files with XMLPrettyPrint.xsl in same directory
> 
> ... modifies the script-exposed DOM to the post-transform one.  The xml tree
> view is not allowed to change the script exposed DOM, so it has to stuff the
> transform result into anonymous content, which is what cases the find
> toolbar issues.
> 
> *** This bug has been marked as a duplicate of bug 263049 ***

I don't agree with you , core XML and is not working since 2004 , I don't understand what you wrote , I look into code 

mozilla-release/content/xml/document/src/nsXMLPrettyPrinter.cpp and is part of core , if is it security problem is a stupid one
You need to log in before you can comment on or make changes to this bug.