Re: [xml-dev] SAX and Entity Literals containing content

From
Karl Waclawek <>
To
Date
2004-05-25T23:13:07Z
ID
<001701c442ad$d6d671d0$0300a8c0@karlglen188>
Thread
Re: [xml-dev] SAX and Entity Literals containing content
----- Original Message ----- 
From: "Rick Marshall" <>
To: "Elliotte Rusty Harold" <>
Cc: "Jeff Rafter" <>; <>
Sent: Tuesday, May 25, 2004 6:42 PM


> so is this perfectly ok?
> 
> <!DOCTYPE doc [
>   <!ENTITY e "<foo>">
> ]>
> <doc>
>   <child>&e;test</foo></child>
> </doc>

No, because the entity is not well-formed, according to
section 4.3.2 in the XML spec.

Karl