Closed Bug 315009 Opened 19 years ago Closed 19 years ago

XForms does not initialize properly after XSLT transformation applied

Categories

(Core Graveyard :: XForms, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 294612

People

(Reporter: hinfoxbt, Assigned: aaronr)

Details

(Keywords: testcase)

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051103 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051103 Firefox/1.6a1

After an XSLT transformation applied to the XHTML Firefox does not display initial values from the model and output element does not display text at all.

I made a simple xhtml file which uses a stylesheet with identity transformation. This can be used to reproduce the bug. If the stylesheet invocation is commented out then everything went fine.

Reproducible: Always

Steps to Reproduce:
1. Open an XForms form which uses an xslt transformation and have initial values assigned in the model.

Actual Results:  
The initial values does not display at all.

Expected Results:  
The initial values should display correctly.

The default theme was used. I could not verify that this occurs on other architectures and/or operationg systems.
Version: unspecified → Trunk
This seems to be an initialization problem because XForms initialization events does not fire properly after an XSLT transformation regardless of what the transformation does. If the transformation does not take place (such as commented out) then they fire properly and the form also initialized properly.

Therefore I modify the summary because this reflects the problem more closely and I make this testcase.

This testcase should produce three modal alerts (one for xforms-model-construct, xforms-model-construct-done and xforms-ready) and initialize the form properly but it does not produced this alerts and the form does not initialized.

It is possible to initialize the XForms processor manually from the page? If it is then this should be a temporary workaround but I did not find anything about the manual initialization of the XForms processor.
Attachment #201799 - Attachment is obsolete: true
Severity: normal → major
Flags: testcase+
Keywords: testcase
Summary: XForms initial values does not display when XSLT transformation applied → XForms does not initialize properly after XSLT transformation applied
Assignee: nobody → aaronr
Component: General → XForms
Product: Firefox → Core
QA Contact: general → spride

*** This bug has been marked as a duplicate of 294612 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: