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

Re: PE's in internal subset with non-validating processors

  • From: yamahito <yamahito@gmail.com>
  • Date: Tue, 17 Oct 2017 11:48:37 +0000

Re:  PE's in internal subset with non-validating processors
Parameter entities can also be declared in an internal declaration, right?  That could be thought of as parsing rather than validation, IMO...

On Mon, 16 Oct 2017 at 01:25 David John Burrowes <biede0@gmail.com> wrote:
Thank you John Cowan and Tim Bray for your swift responses!

David


On Oct 15, 2017, at 3:12 PM, John Cowan <johnwcowan@g...> wrote:



On Sun, Oct 15, 2017 at 3:18 PM, David John Burrowes <biede0@gmail.com> wrote:

The phrase "and in any parameter entity that they read” is what is puzzling me.  


Yes, it probably should have been "any parameter entity that they choose to read". 

How can I, as a non-validating processor, have a parameter entity that I have read?


Because non-validating parsers are not required to read external entities, it does not follow that they are not allowed to read them.
 

The only way I can make sense of that paragraph is to interpret it as saying:


“…[non-validating processors] are required to process all the declarations they read in the internal DTD up to the first parameter entity reference. However, if a non-validating processor goes beyond the minimum required behavior and instead reads and processes the contents of some parameter entities, then it should stop processing the internal DTD at the point it encounters a reference to a parameter entity that it chose not to read (and process).

Is there some other interpretation of this that I’m missing? Or is that what most folks think this is saying?

Just so.

-- 
John Cowan          http://vrici.lojban.org/~cowan        cowan@c...
In politics, obedience and support are the same thing.  --Hannah Arendt



[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.