Closed
Bug 297765
Opened 20 years ago
Closed 11 years ago
XForms doesn't handle xml:base properly
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: smaug, Assigned: smaug)
References
()
Details
Attachments
(1 file)
|
1.06 KB,
application/xhtml+xml
|
Details |
we don't handle baseURIs/xml:base properly atm. For example in http://lxr.mozilla.org/seamonkey/source/extensions/xforms/nsXFormsInstanceElement.cpp#387 we should check the baseURI of the <instance> element, I think.
Updated•20 years ago
|
Summary: XForms doesn't handle xlm:base properly → XForms doesn't handle xml:base properly
Comment 1•19 years ago
|
||
I think authors also expect xhtml:base/@href to work as it's part of the host language (XHTML). I see it doesn't apply to xf:submission/@action. That may be a separate bug.
Comment 2•19 years ago
|
||
all URI references should use the xml:base, right? so <label src="..."/>, help, load, etc. also.
Updated•19 years ago
|
OS: Windows 2000 → All
Hardware: PC → All
Comment 3•19 years ago
|
||
So if I've gotten xml:base right, the label, help, and hint should load their content from beaufour.dk. Bug 329106 needs to be fixed first though.
Comment 4•13 years ago
|
||
WORKAROUND: Messy in the extreme (because Internal Subsets scare me a bit), but needs must ... In the <!DOCTYPE declaration, add an Internal Subset: (I simply copied from the w3.org HTML4.01 spec) <!DOCTYPE html .......... (don't close the bracket yet) [ <!ELEMENT BASE - O EMPTY -- document base URI --> <!ATTLIST BASE href %URI; #REQUIRED -- URI that acts as base URI --> <!-- I left it UPPER CASE to make it stand out --> ]> Then -- <html><head> <BASE href="file:///usr/local/doc" /><!-- Obviously, my file, use your own --> And it works. It even validates as SGML.
Comment 6•11 years ago
|
||
The XForms Addon is not developed any more.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
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
•