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

Parameter entities in internal subset

  • From: Ronald Bourret <rpbourret@rpbourret.com>
  • To: xml-dev <xml-dev@lists.xml.org>
  • Date: Sat, 6 Jan 2018 15:09:41 -0800

Parameter entities in internal subset
I haven't been here for quite a while, so hello to everyone.

As a way to learn git, I've been fixing some ancient bugs in my DTD Parser, and that has led me to the Joy of Entities. I understand the intent, but am missing a few details and the deeper I dig, the more my head spins.

Section 2.8 (Prolog and Document Type Declaration), has a well-formedness constraint: "PEs in Internal Subset: In the internal DTD subset, parameter-entity references must not occur within markup declarations"

Paragraph 2 of section 4.5 states, "The literal entity value as given in an internal entity declaration (EntityValue) may contain character, parameter-entity, and general-entity references" and goes on to state that parameter-entity references are replaced.

Since markup declarations include entity declarations, why doesn't section 4.5 contradict section 2.8?

Thanks,

-- Ron


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.