I typically get this when I try to copy-paste the Diagram definition from the Page Source of another page. Apparently copying from such a page is not 'clean', but puts a lot of invisible HTML tags on the clipboard as well, which might or might not be included depending on where you paste it. Apparently it is included when you paste it into a HTML context, (such as the Play-Test Applet's page), and the Diagram parser than chokes on it.
A solution I found for this is first copying the Diagram definition into NotePad, then select and copy it again from there, and finally paste it into the Play-Test Applet.
If I would know what kind of unwanted stuff comes with a copy from a Page Source, I could make the Diagram's parser ignore it. But it is not so easy to figure this out, as an attempt to directly display on a HTML page what was pasted would probably makes this extra stuff as invisible as it is on the Page Source. So I never got to doing that.
I typically get this when I try to copy-paste the Diagram definition from the Page Source of another page. Apparently copying from such a page is not 'clean', but puts a lot of invisible HTML tags on the clipboard as well, which might or might not be included depending on where you paste it. Apparently it is included when you paste it into a HTML context, (such as the Play-Test Applet's page), and the Diagram parser than chokes on it.
A solution I found for this is first copying the Diagram definition into NotePad, then select and copy it again from there, and finally paste it into the Play-Test Applet.
If I would know what kind of unwanted stuff comes with a copy from a Page Source, I could make the Diagram's parser ignore it. But it is not so easy to figure this out, as an attempt to directly display on a HTML page what was pasted would probably makes this extra stuff as invisible as it is on the Page Source. So I never got to doing that.