Bug 162803

Summary: Fragment serialization should always use 'xml:' prefix for attributes in XML namespace
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, darin, rniwa, sam
Priority: P2 Keywords: WebExposed
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2016-09-30 13:00:59 PDT
Fragment serialization should always use 'xml:' prefix for attributes in XML namespace: - https://html.spec.whatwg.org/#serialising-html-fragments """ If the attribute is in the XML namespace -> The attribute's serialized name is the string "xml:" followed by the attribute's local name. """ - https://www.w3.org/TR/DOM-Parsing/#dfn-concept-xml-serialization-algorithm """ If ns is the XML namespace, then let qualified name be the concatenation of the string "xml:" and the value of node's localName. """
Attachments
Patch (6.61 KB, patch)
2016-09-30 13:03 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-09-30 13:01:13 PDT
Firefox complies with the specification.
Chris Dumez
Comment 2 2016-09-30 13:03:26 PDT
WebKit Commit Bot
Comment 3 2016-09-30 14:05:51 PDT
Comment on attachment 290370 [details] Patch Clearing flags on attachment: 290370 Committed r206663: <http://trac.webkit.org/changeset/206663>
WebKit Commit Bot
Comment 4 2016-09-30 14:05:55 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.