xsi:type value with no prefix handled incorrectly

RESOLVED FIXED

Status

Core Graveyard
XForms
RESOLVED FIXED
11 years ago
a year ago

People

(Reporter: aaronr, Assigned: aaronr)

Tracking

({fixed1.8.0.12, fixed1.8.1.4})

Trunk
x86
All
fixed1.8.0.12, fixed1.8.1.4

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

1.27 KB, application/xhtml+xml
Details
1.66 KB, patch
smaug
: review+
Doron Rosenberg (IBM)
: review+
Details | Diff | Splinter Review
(Assignee)

Description

11 years ago
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.
(Assignee)

Comment 1

11 years ago
Created attachment 245786 [details]
testcase
(Assignee)

Comment 2

11 years ago
Created attachment 245801 [details] [diff] [review]
patch 1

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?
(Assignee)

Updated

11 years ago
Attachment #245801 - Flags: review?(doronr)
Attachment #245801 - Flags: review?(Olli.Pettay)
Attachment #245801 - Flags: review?

Updated

11 years ago
Attachment #245801 - Flags: review?(doronr) → review+

Updated

11 years ago
Attachment #245801 - Flags: review?(Olli.Pettay) → review+
(Assignee)

Comment 3

11 years ago
checked into trunk
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
(Assignee)

Comment 4

10 years ago
checked into 1.8 branch on 2007-04-12
checked into 1.8.0 branch on 2007-04-16
Keywords: fixed1.8.0.12, fixed1.8.1.4
Whiteboard: xf-to-branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.