[Webkit-unassigned] [Bug 6390] Complex entities seem to fail on TOT

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Jul 26 20:00:22 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=6390





------- Comment #3 from macdome at opendarwin.org  2006-07-26 20:00 PDT -------
It seems this workaround fails, because the bug is more complicated than
originallly thought.

Entities which replace with textual content seem to be replaced twice. 
Entities which replace with tags do not get replaced twice.

Example:

<?xml version="1.0"?>
<!DOCTYPE svg SYSTEM "staff.dtd" [
   <!ENTITY ent1 "<rect x='0' y='0' width='40' height='10' fill='green'/>">
   <!ENTITY ent2 "foo">
]>
<svg xmlns="http://www.w3.org/2000/svg">
  &ent1;
  <text x="5" y="20">&ent2;</text>
</svg>

With the work-around enabled, the rect is never rendered.  With it disabled,
the text is rendered twice.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list