[Home] [By Thread] [By Date] [Recent Entries]

  • To: "Elliotte Rusty Harold" <elharo@m...>,"John Cowan" <jcowan@r...>
  • Subject: RE: We need SAX features to say a parser supports XML
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Fri, 25 Oct 2002 07:55:07 -0700
  • Cc: <xml-dev@l...>
  • Thread-index: AcJ8NNVROT0NywzgSyio1G35WGKlFwAAOiPP
  • Thread-topic: We need SAX features to say a parser supports XML

I'm typically against errata that make sweeping changes but I have to acknowledge that the purpose of errata is to fix mistakes. The original policy for the version number in the XML declaration was broken and extremely short sighted. This is a glaring mistake that should have been fixed a long time ago but was probably left to lie since no other  versions of XML were in the works at the time. 

	-----Original Message----- 
	From: Elliotte Rusty Harold [mailto:elharo@m...] 
	Sent: Fri 10/25/2002 7:36 AM 
	To: John Cowan 
	Cc: xml-dev@l... 
	Subject: Re:  We need SAX features to say a parser supports XML
	
	

	At 10:14 AM -0400 10/25/02, John Cowan wrote:
	
	
	>Read the errata page.
	
	Oh joy. Another erratum that rewrites history because the working
	group changed its mind. Sorry. I don't accept such errata as
	normative. The spec is clear an unambiguous. There is no plausible
	argument that the original spec made a mistake. The people who wrote
	the spec knew what they were writing and why they were writing it.
	Now, retroactively, somebody's decided they were wrong, and they're
	going to fix it.
	
	Sorry. This can't be done in an erratum. XML 1.0 says what it says.
	Parsers are designed around it. If you're going to change the BNF
	grammar, then you've invented a new language. XML 1.0 plus errata is
	no longer XML 1.0. It is provably true that
	
	<?xml version="1.1"?><root />
	
	is a well-formed XML 1.0 document.
	--
	
	+-----------------------+------------------------+-------------------+
	| Elliotte Rusty Harold | elharo@m... | Writer/Programmer |
	+-----------------------+------------------------+-------------------+
	|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
	|              http://www.cafeconleche.org/books/xian2/              |
	|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
	+----------------------------------+---------------------------------+
	|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
	|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
	+----------------------------------+---------------------------------+
	
	-----------------------------------------------------------------
	The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
	initiative of OASIS <http://www.oasis-open.org>
	
	The list archives are at http://lists.xml.org/archives/xml-dev/
	
	To subscribe or unsubscribe from this list use the subscription
	manager: <http://lists.xml.org/ob/adm.pl>
	
	


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member