att5 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!DOCTYPE doc [<!ATTLIST normId attr NMTOKENS #IMPLIED>]>
  2. <doc>
  3. <!-- no normalization -->
  4. <norm attr=' '/>
  5. <norm attr='
  6. foo bar '/>
  7. <norm attr='
  8. foobar'/>
  9. <norm attr=' foo bar
  10. '/>
  11. <norm attr='foobar
  12. '/>
  13. <norm attr=' &amp; '/>
  14. <norm attr='
  15. foo&amp;bar '/>
  16. <norm attr='
  17. foobar&amp;'/>
  18. <norm attr='&amp;foo bar
  19. '/>
  20. <norm attr='foobar
  21. &amp;'/>
  22. <norm attr=' &lt; '/>
  23. <norm attr='
  24. foo&lt;bar '/>
  25. <norm attr='
  26. foobar&lt;'/>
  27. <norm attr='&lt;foo bar
  28. '/>
  29. <norm attr='foobar
  30. &lt;'/>
  31. <norm attr=' &#x20;&#13;&#xa;&#9; '/>
  32. <!-- normalization -->
  33. <normId attr=' '/>
  34. <normId attr='
  35. foo bar '/>
  36. <normId attr='
  37. foobar'/>
  38. <normId attr=' foo bar
  39. '/>
  40. <normId attr='foobar
  41. '/>
  42. <normId attr=' &amp; '/>
  43. <normId attr='
  44. foo&amp;bar '/>
  45. <normId attr='
  46. foobar&amp;'/>
  47. <normId attr='&amp;foo bar
  48. '/>
  49. <normId attr='foobar
  50. &amp;'/>
  51. <normId attr=' &lt; '/>
  52. <normId attr='
  53. foo&lt;bar '/>
  54. <normId attr='
  55. foobar&lt;'/>
  56. <normId attr='&lt;foo bar
  57. '/>
  58. <normId attr='foobar
  59. &lt;'/>
  60. <normId attr=' &#13;&#xa;&#9; '/> <!-- PBM serializing back -->
  61. </doc>