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

Re: Support for XML 1.1?

  • From: Liam R E Quin <liam@w3.org>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Mon, 01 Oct 2012 15:25:00 -0400

Re:  Support for XML 1.1?
On Mon, 2012-10-01 at 16:06 +0000, Costello, Roger L. wrote:
> Hi Folks,

> 
> It appears that using XML 1.1 is the best way to go for supporting all
> the US-ASCII characters.

No.

XML 1.1 is based on Unicode, as is XML.

US ASCII contains 128 defined code points (it's a 7-bit standard, with
the 8th bit available, if present, for parity checking).

Of these, the "c0 controls" with the exception of tab, carriage return,
newline, are deprecated [[
Document authors are encouraged to avoid "compatibility characters", as
defined in Unicode [Unicode]. The characters defined in the following
ranges are also discouraged. They are either control characters or
permanently undefined Unicode characters:
]]
and, like C1 controls, may only appear if escaped as character
references.

In practice, the only feature from XML 1.1 that you miss in using XML
1.0 5e instead is actually namespaces 1.1 and the ability to remove the
association between a prefix and a URI. The other "significant" feature,
adding Unicode NEL to whitespace, was for sure a mistake, and I'm not
sure it's actually being used outside one or two organizations.

As others have said, 1.1 did not get industry traction.

One reason cited was that it could potentially change the meaning of
existing documents, because of NEL in attribute values turning into a
space during normalization, and another was that existing XML 1.0
documents that had been well-formed became non well-formed if they used
the C1 control characters without escaping them.

But the biggest problem was a revision to XML 1.0 that said a processor
should reject documents marked as being XML 1.1. So it's too risky to
send an XML 1.1 document over the net. We retracted that mistaken
assertion, but it was too late.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Co-author: 5th edition of "Beginning XML", Wrox, July 2012



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