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

Re: what's missing in XML? What's coming?

  • From: John Cowan <cowan@mercury.ccil.org>
  • To: Henri Sivonen <hsivonen@iki.fi>
  • Date: Tue, 3 Jan 2012 12:29:29 -0500

Re:  what's missing in XML? What's coming?
Henri Sivonen scripsit:

> > 2) Clearer story on how to use the ISO/MathML entity sets along with XML
> > Schemas, or with no schemas. I often hear "XML Schemas does not support
> > entities, so I cannot use entities with XML Schemas" or vice versa.
> > Preferably, build the default mappings of the entities into XML.
> 
> Adding entities to XML without DTDs would break the compatibility of
> new documents with old parsers. I think entities alone are not worth
> such a discontinuity.

Not if it's done at the character encoding level.  The proposed utf-8+names
encoding provides for that: see http://www.tbray.org/tag/utf-8+names.html .
Basically the idea is that while the bytes 26 73 69 67 6D 61 3B encode
the corresponding Unicode codepoints in the utf-8 encoding, in the
utf-8+names encoding they encode U+03C3 GREEK SMALL LETTER SIGMA.
Of course, so does CF 83.

However, 26 66 6F 6F 3B encodes the corresponding Unicode codepoints,
as does 26 6C 74 3B.  If you need U+0026 in a context other than an
entity reference, you encode it as 26 26 3B.

Totally XML-conformant, and any XML processor can implement it if it
wants to.  Then it's just a matter of putting a correct XML declaration
on your documents.  You don't even need your editor to implement the
encoding: a regular UTF-8 editor is fine.

-- 
Real FORTRAN programmers can program FORTRAN    John Cowan
in any language.  --Ed Post                     cowan@ccil.org


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