[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XML internal text entity replacement text

  • From: Paul Grosso <paul@a...>
  • To: xml-dev@i...
  • Date: Mon, 23 Jun 1997 15:19:09 -0500

xml internal entity
In the XML spec (31-Mar-97), the paragraph in section 1.5
just prior to production [9] says:

	Literal data is any quoted string containing neither a left
	angle bracket nor the quotation mark used as a delimiter for
	that string.  It may contain entity and character references.
	Literals are used for specifying the replacement text of
	internal entities (EntityValue)....

Production [9] itself, which defines EntityValue doesn't forbid "<".
The paragraph following productions 9-15 talks about parameter entity
and character refs, but not about element markup.

Section 4.3 [production 64] uses EntityValue, and section 4.3.1 talks
about internal entities, but says nothing about whether the replacement
text can contain elements.

I don't remember hearing that internal entities couldn't contain
element markup, and appendix A doesn't list it as a difference
from SGML, so I suspect the production is correct and the wording
that says "literal data can't have '<' and EntityValue is literal data"
is wrong.  Can anyone provide confirmation or denial of my assumption
that the above quoted text is wrong in suggesting that internal text
entity replacement text cannot contain element markup?



xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@i... the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.