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

RE: Parser Behaviour (serious)

  • From: Tim Bray <tbray@t...>
  • To: Peter Murray-Rust <peter@u...>, <xml-dev@x...>
  • Date: Mon, 03 Apr 2000 09:16:41 -0700

compulsory behaviour
At 08:48 AM 4/3/00 +0100, Peter Murray-Rust wrote:
>So my summary is:
>	- The experts (on this list) cannot agree precisely what a parser 
>should
>and should'nt do with various combinations. these include:

It is not clear that rules could ever be written.  The current syntax
exposes (a) whether a DTD is available and (b) whether it will change
the infoset.  The application has to decide whether to read it, depending
on the application's needs.  I don't believe in compulsory schema reading,
i.e. I don't believe that you can or should expect a signal in the instance
saying what to do.  Thus at the end of the day, the only sensible
way forward is for software to make it possible and in fact easy to turn
DTD-reading on or off.  The big shortcoming in the Adobe SVG implementation
is that it doesn't allow this.  

My conclusion is that XML 1.0 should have made it compulsory for processors,
*if* they read external entities, to allow this behavior to be selected and
disabled.  And since every remotely-plausible XML parser turns out to be 
able to read external entities, we might as well have made that *ability* 
compulsory.  -Tim

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

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.