Bug 42041
Summary: | Refactor the entity parser to handle new entities needed by MathML 3 | ||
---|---|---|---|
Product: | WebKit | Reporter: | François Sausset <sausset> |
Component: | MathML | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | abarth, ap, jchaffraix |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac (Intel) | ||
OS: | OS X 10.6 | ||
Bug Depends on: | |||
Bug Blocks: | 3251 |
François Sausset
The w3c published a new recommendation for entity names: http://www.w3.org/TR/xml-entity-names/.
MathML 3 should implement all these entities and HTML 5 only a subset.
However, the actual entity parser cannot handle these new entities.
Thus, the entity parser should be rewritten in the following way (see discussion on the mailing list):
- use a prefix tree instead of a hash table (faster and handle entity names as long as wanted)
- handle entities associated to combined Unicode characters
- solve the conflict with XHTML 1.0 about ⟩ and ⟨ (see w3c webpage above)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adam Barth
*** This bug has been marked as a duplicate of bug 43595 ***