Closed Bug 360974 Opened 18 years ago Closed 18 years ago

xsi:type value with no prefix handled incorrectly

Categories

(Core Graveyard :: XForms, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aaronr, Assigned: aaronr)

Details

(Keywords: fixed1.8.0.12, fixed1.8.1.4)

Attachments

(2 files)

1.27 KB, application/xhtml+xml
Details
1.66 KB, patch
smaug
: review+
doronr
: review+
Details | Diff | Splinter Review
According to http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#src-qname, clause 2.2, we should handle xsi:type="foo" in the default namespace and not the null namespace as we currently do.
Attached file testcase
Attached patch patch 1Splinter Review
The fix was to make sure we pass on an empty string to LookupNamespaceURI to get the default namespace when there is no prefix, instead of just returning
Attachment #245801 - Flags: review?
Attachment #245801 - Flags: review?(doronr)
Attachment #245801 - Flags: review?(Olli.Pettay)
Attachment #245801 - Flags: review?
Attachment #245801 - Flags: review?(doronr) → review+
Attachment #245801 - Flags: review?(Olli.Pettay) → review+
checked into trunk
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
checked into 1.8 branch on 2007-04-12
checked into 1.8.0 branch on 2007-04-16
Whiteboard: xf-to-branch
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: