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

Re: Is "Hand Authoring" XML still a critical use case ?

  • From: Bjoern Hoehrmann <derhoermi@gmx.net>
  • To: Michael Sokolov <sokolov@ifactory.com>
  • Date: Fri, 10 Dec 2010 01:55:47 +0100

Re:  Is "Hand Authoring" XML still a critical use case ?
* Michael Sokolov wrote:
>I think a lot of the things we've been talking about are painful for 
>content producers as well as consumers: often our pain gets reflected 
>back up the chain anyway.  I bet editors just love it when we tell them 
>- well we can't do anything with that document you just sent us - it 
>isn't even XML! Just because there's an extra blank line at the 
>beginning of the document

This is a design flaw in the core specification; the automaton that
reads the encoding declaration (or finds that there is none) for all
encodings you could reasonably use with XML is very simple and very
efficient, yet instead of specifying it, we have a requirement that
makes common things very annoying, for instance you cannot copy

  <?xml version='1.0'?>

into a text file and run it through your XML tools, you have to re-
move the leading white space first; and a couple of non-normative
suggestions in the specification how one might, or not, go about
deciding what character encoding a document is using. Among all the
suggestions how to change XML, this is so far the only problem I'd
really like to see fixed.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

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


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.