OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]


----- Original Message ----- 
From: "Rick Marshall" <rjm@zenucom.com>
To: "Elliotte Rusty Harold" <elharo@metalab.unc.edu>
Cc: "Jeff Rafter" <lists@jeffrafter.com>; <xml-dev@lists.xml.org>
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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS