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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Unparsed entity reference in entity value?

[ Lists Home | Date Index | Thread Index ]
  • From: "Rainer M. Schmid" <rms@trolltech.com>
  • To: xml-dev@xml.org
  • Date: Wed, 14 Jun 2000 00:22:54 +0200 (CEST)

Hi!

I have a question concerning the XML specification; I found a testsuite for
XML and one of the files was following:

<!DOCTYPE doc [
<!ELEMENT doc (#PCDATA)>
<!ENTITY e "<![CDATA[&foo;]]>">
]>
<doc>&e;</doc>

According to the testsuite this should be a valid XML document. But if I
look at the table in the XML specification on how entity references should
be parsed, it should be forbidden (Entity Type: Unparsed and Reference in
Entity Value).

What am I missing?

Thanks, Rainer.

-- 
"Did you ever get to a place... I think it's called Norway?"
(Slartibartfast)


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

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

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