xml2 231 B

12345678
  1. <?xml version="1.0"?>
  2. <!DOCTYPE test [
  3. <!ELEMENT test (#PCDATA)>
  4. <!ENTITY % xx "&#37;zz;">
  5. <!ENTITY % zz '&#60;!ENTITY tricky "error-prone" >'>
  6. <!ENTITY tricky "error-prone">
  7. ]>
  8. <test>This sample shows a error-prone method.</test>