Closed Bug 377888 Opened 17 years ago Closed 17 years ago

Add support for submission @standalone attr for serialization

Categories

(Core Graveyard :: XForms, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sspeiche, Assigned: sspeiche)

References

()

Details

(Keywords: fixed1.8.0.12, fixed1.8.1.4)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: 

In updated W3C test case 3.3.3.j

Reproducible: Always
Attached file test case
Attached patch patchSplinter Review
This doesn't fix the test case as-is, as I believe there is a problem with the test suite case (I'll address that with owner).

It appears that standalone="true" should include *standalone="yes"* declaration, as I read:
  "Optional attribute specifying whether to include a standalone declaration in the serialized XML."

So I guess there is no way to explicitly make *standalone="no"*.  Or what is the default if standalone is omitted?  formsPlayer uses *standalone="yes"* if true or omitted, if false uses *standalone="no"*.

I've taken the route which I believe is what was intended.  If false (the default) omit, otherwise if true add declaration *standalone="yes"*
Attachment #262161 - Flags: review?(aaronr)
Comment on attachment 262161 [details] [diff] [review]
patch

I interpret it the same way you do.
Attachment #262161 - Flags: review?(aaronr) → review+
Attachment #262161 - Flags: review?(doronr)
Attachment #262161 - Flags: review?(doronr) → review+
Assignee: xforms → sspeiche
Status: UNCONFIRMED → NEW
Ever confirmed: true
checked into trunk, 1.8 and 1.8.0 branches
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
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: