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

  • To: <xml-dev@l...>
  • Subject: SAX and Entity Literals containing content
  • From: "Jeff Rafter" <lists@j...>
  • Date: Tue, 25 May 2004 07:37:21 -0700

This question comes as a follow-up to my wellformedness question that I
asked earlier. I already believe that I know the answer but want to double
check. In the case of:

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

Should a SAX parser report a startElement and endElement event for <foo>
when it is included?

Thanks,
Jeff Rafter


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