html-ent.dot 840 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* test with some html entity chars */
  2. digraph "ent"
  3. {
  4. /* no parse error at this but it is not translated
  5. "7"[label=<&amp>];
  6. */
  7. /* html char name */
  8. "1"[label=<&amp;>];
  9. /* parse error at:
  10. "6"[label=<&#x3g;>];
  11. */
  12. /* hex value */
  13. "2"[label=<&#x39;>];
  14. /* parse error at:
  15. "8"[label=<&#9x;>];
  16. */
  17. /* parse error at:
  18. "9"[label=<&#-1;>];
  19. */
  20. /* decimal value */
  21. "3"[label=<&#74;>];
  22. /* other html char name */
  23. "4"[label=<&aacute;>];
  24. /* parse error at:
  25. "5"[label=<&aacuteHUH;>];
  26. */
  27. "10"[label=<&amp;&amp;bar&amp;>];
  28. /* warning at 0 char but dot issues error */
  29. "11"[label=<bar&#00;bar>];
  30. /* this error is checked for: "13"[label=<&;>]; */
  31. /* this error is checked for: "14"[label=<&amp>]; */
  32. /* this error is checked for: "15"[label=<&>]; */
  33. /* this error is checked for: "16"[label=<&amp;&;>]; */
  34. 1->2->3->4->10->11;
  35. }