Closed Bug 77257 Opened 25 years ago Closed 25 years ago

fail gracefully for deprecated namespace

Categories

(Core :: XSLT, enhancement)

enhancement
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: Morten, Assigned: sicking)

References

()

Details

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; 0.8.1) Gecko/20010323 BuildID: 2001032319 the xml document (which is outside my control) renders a nice faq using IE... mozilla outputs a lot of text appearing to be parts of the source code. Reproducible: Always Steps to Reproduce: 1. open www.php.no 2. click :: FAQ :: 3. wait for it to load Actual Results: the garbled page is shown Expected Results: displayed a nice FAQ as seen using IE
Are you using a build with XSLT enabled?
XSLT? what is that? my build is the 0.8.1 build as provided from www.mozilla.org
The page in question uses an XSL stylesheet, and default Mozilla does not support that. You can build XSLT component yourself or install it from the Mozilla XSLT project page to try the page in question. I am changing the summary, and sending this to XSLT component. Good test material. Maybe not a real bug, but dupe, or whatever...
Assignee: heikki → kvisco
Component: XML → XSLT
OS: Windows 2000 → All
QA Contact: petersen → kvisco
Hardware: PC → All
Summary: the xml is parsed correctly by IE, mozilla gives crap → XML with XSL stylesheet does not display properly
Uh, to peterv.
Assignee: kvisco → peterv
dup of support-xslt-bug *** This bug has been marked as a duplicate of 63906 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Changing the world once more. The above page uses the deprecated namespace http://www.w3.org/TR/WD-xsl instead of the correct http://www.w3.org/1999/XSL/Transform. We segfault on this one, I'll attach a patch in a minute. (Can't remove 0 Node) Should we add support for the deprecated namespace in XSLTProcessor::getElementType ? (before changing this into evangelism). There are GOOD arguments against it, IMHO, cause the old namespace is a sign for deprecated, or MS specific XSLT. Adding back heikki, and nisheeth, this is probably more a management issue. Axel
Severity: major → enhancement
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Summary: XML with XSL stylesheet does not display properly → fail gracefully for deprecated namespace
ugh, looked at the source once more. <xsl:eval>uniqueID(this)</xsl:eval> This is like street lights in Redmond. Axel
Status: UNCONFIRMED → NEW
Ever confirmed: true
The attached patch fixes nullhandling in a few more places. It does so by forwarding any NULLs to mozilla. snatching from peterv
Assignee: peterv → sicking
r=me, thanx, sicking, for completing this. As sicking, I'm not too sure if we should forward the nulls to mozilla, but as we gonna hit assertions there at a few times, it's probably a good thing to do so. It might indicate an error, so use the thick rich mozilla fun. Adding jst for sr (please? thanx). Still no religious opinions on what to do on http://www.w3.org/TR/WD-xsl ? Axel
Status: NEW → ASSIGNED
I've come to the conclusion that I like forwarding the NULLs (as the patch does) best. First of all this is wrappers so we really shouldn't implement any functionallity in them. Second, in most cases there is defined behaviour for NULL so always forwarding to mozilla should be the RightThing
sr=jst
I mark this fixed. Patch is checked in, so we shouldn't fail bad, but gracefully. Axel
Status: ASSIGNED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
bitching buttons, verfication spam
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: