Bug 5317 - correct the qualified name validation to match XML specifications
Summary: correct the qualified name validation to match XML specifications
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Darin Adler
URL:
Keywords:
: 3622 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-09 21:12 PDT by Darin Adler
Modified: 2019-02-06 09:03 PST (History)
2 users (show)

See Also:


Attachments
add validity checks that match the XML specification (12.99 KB, patch)
2005-10-09 21:13 PDT, Darin Adler
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2005-10-09 21:12:29 PDT
I'll attach a patch that corrects qualified name validation.

This fixes one bug where we were rejecting "_" prefixes because our old validator had that wrong. Also 
fixes a couple tests from the DOM XHTML test suite.
Comment 1 Darin Adler 2005-10-09 21:13:26 PDT
Created attachment 4280 [details]
add validity checks that match the XML specification
Comment 2 Darin Adler 2005-10-09 21:24:30 PDT
Fixes <rdar://problem/4291810> DOM 5 Exception when attribute name in document.setAttribute begins 
with underscore
Comment 3 Dave Hyatt 2005-10-09 21:43:04 PDT
Comment on attachment 4280 [details]
add validity checks that match the XML specification

r=me
Comment 4 Alexey Proskuryakov 2006-03-10 10:55:10 PST
*** Bug 3622 has been marked as a duplicate of this bug. ***
Comment 5 Lucas Forschler 2019-02-06 09:03:40 PST
Mass moving XML DOM bugs to the "DOM" Component.