Closed
Bug 267539
Opened 20 years ago
Closed 20 years ago
miscellaneous xforms submission bugs
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.8beta1
People
(Reporter: darin.moz, Assigned: darin.moz)
References
Details
Attachments
(2 files, 1 obsolete file)
|
13.55 KB,
patch
|
bryner
:
review+
|
Details | Diff | Splinter Review |
|
13.40 KB,
patch
|
bryner
:
review+
|
Details | Diff | Splinter Review |
miscellaneous xforms submission bugs: 1) EvaluateNodeBinding fails if <submission> element doesn't have a bind or ref attribute, but the XForms 1.0 spec says that we should assume a ref of "/" by default. That rule applies to <submission>, but not to ordinary form controls. 2) Not able to submit with ref="/" since in that case XPath gives us a nsIDOMDocument as the single node result. In that case we don't want to call GetOwnerDocument, we just want to QI the resulting node to nsIDOMDocument. 3) Support submission to a relative URL.
| Assignee | ||
Comment 1•20 years ago
|
||
| Assignee | ||
Updated•20 years ago
|
Attachment #164461 -
Flags: review?(bryner)
Updated•20 years ago
|
Attachment #164461 -
Flags: review?(bryner) → review+
| Assignee | ||
Comment 2•20 years ago
|
||
fixed-on-trunk
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.8beta
Comment 3•20 years ago
|
||
Comment on attachment 164461 [details] [diff] [review] v1 patch // uriSpec is already ASCII-encoded and absolutely specified nsCOMPtr<nsIURI> uri; - ios->NewURI(uriSpec, nsnull, nsnull, getter_AddRefs(uri)); + ios->NewURI(uriSpec, nsnull, doc->GetDocumentURI(), getter_AddRefs(uri)); does that mean the comment is wrong? because if uriSpec were absolutely specified, you wouldn't need to pass a base uri... (and in case the comment is wrong about ASCII too, you could pass doc->GetDocumentCharacterSet().get() ;) )
| Assignee | ||
Comment 4•20 years ago
|
||
thanks biesi! i agree :)
| Assignee | ||
Comment 5•20 years ago
|
||
ok, that last patch included a bunch of fixes for xforms errata. it wasn't quite complete. here's a better version.
Attachment #164492 -
Attachment is obsolete: true
| Assignee | ||
Updated•20 years ago
|
Attachment #164497 -
Flags: review?(bryner)
Updated•20 years ago
|
Attachment #164497 -
Flags: review?(bryner) → review+
| Assignee | ||
Comment 6•20 years ago
|
||
v2.1 patch checked in on trunk.
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•