[Home] [By Thread] [By Date] [Recent Entries]


At 9:23 AM -0700 4/27/04, Jeff Rafter wrote:

>I am not sure-- do you have a sample to test against (or is there an item in
>the test suite)?

There are several cases that test this in the W3C XML test suite. Here's one:

<!DOCTYPE doc [
<!ENTITY e "</foo><foo>">
]>
<doc>
<foo>&e;</foo>
</doc>

http://dev.w3.org/cvsweb/~checkout~/2001/XML-Test-Suite/xmlconf/xmltest/not-wf/sa/074.xml?content-type=text/plain
-- 

   Elliotte Rusty Harold
   elharo@m...
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml            
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA 

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member