Closed
Bug 77257
Opened 25 years ago
Closed 25 years ago
fail gracefully for deprecated namespace
Categories
(Core :: XSLT, enhancement)
Core
XSLT
Tracking
()
VERIFIED
FIXED
People
(Reporter: Morten, Assigned: sicking)
References
()
Details
Attachments
(2 files)
|
625 bytes,
patch
|
Details | Diff | Splinter Review | |
|
4.81 KB,
patch
|
Details | Diff | Splinter Review |
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
Comment 1•25 years ago
|
||
Are you using a build with XSLT enabled?
| Reporter | ||
Comment 2•25 years ago
|
||
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
| Assignee | ||
Comment 5•25 years ago
|
||
dup of support-xslt-bug
*** This bug has been marked as a duplicate of 63906 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 6•25 years ago
|
||
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
Comment 7•25 years ago
|
||
Comment 8•25 years ago
|
||
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
| Assignee | ||
Comment 9•25 years ago
|
||
| Assignee | ||
Comment 10•25 years ago
|
||
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
Comment 11•25 years ago
|
||
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
| Assignee | ||
Comment 12•25 years ago
|
||
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
Comment 13•25 years ago
|
||
sr=jst
Comment 14•25 years ago
|
||
I mark this fixed. Patch is checked in, so we shouldn't fail bad, but
gracefully.
Axel
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•