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

Well-formed Blueberry

  • From: Elliotte Rusty Harold <elharo@m...>
  • To: xml-dev@l...
  • Date: Fri, 13 Jul 2001 09:33:39 -0400

xml declaration not well formed
At 11:35 PM -0400 7/12/01, John Cowan wrote:
>Peter Flynn scripsit:
>> Why would there not be any helpful warning message? "The file
>> you have opened contains character "foo" in the [something
>> useful about location] which is not a valid character. Please
>> contact the owner or author"
>Actually, it would probably fail on the spot with "XML declaration
>not well-formed" or "XML version number not 1.0" or whatever.

I still haven't been convinced of the need for Blueberry, but I do want to propose something in the event this goes through:

I think there's a way to limit the damage this does to the existing infrastructure. Whatever the eventual identifier is chosen for Blueberry (version="1.1", unicode="3.1", etc.) I think it should be a *fatal error* to use this identifier in a document that does not actually use any of the newly introduced characters in an XML name somewhere. 

In other words, if a document can be an XML 1.0 document, it must be an XML 1.0 document.

This would prevent the vast majority of users who are never going to use or even think about Khmer, Amharic, the extra Japanese characters, etc. from pointlessly generating incompatible documents just because "it's the latest version."

| Elliotte Rusty Harold | elharo@m... | Writer/Programmer |
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      | 
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |


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.
First Name
Last Name
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.