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

W3C XML Core WG requests comment: control characters in XML 1.1

  • To: xml-dev@l...
  • Subject: W3C XML Core WG requests comment: control characters in XML 1.1
  • From: John Cowan <jcowan@r...>
  • Date: Thu, 9 May 2002 13:14:42 -0400 (EDT)

xml control characters
This is a request for comment from this mailing list (or anyone else)
on a proposal by Shigemichi Yazawa for a standard representation for
the Unicode control characters that are not legal in XML 1.0.  See
http://lists.w3.org/Archives/Public/www-xml-blueberry-comments/2002May/0000.html

In essence, this provides an element "<xml:orphanedChar value="#x0001">"
which can be used *by convention* in place of an actual (and illegal) #x1
character.  The Infoset would view this as an element, not a character; it
would not be usable in attribute values; it is not fully general-purpose.
It would also require explicit declaration in schema languages, unless
they were modified to ignore it; even then, an element with an XSD
datatype would not be able to use this feature.

An alternative proposal is to use a processing instruction such as
"<?xmlchar #x1?>", which would be invisible to schemas.  A little *too*
invisible, in some cases: it would be legal in simple datatypes, but a
string-typed element containing 3 characters could not contain 3 control
characters and still be schema valid.

The idea is certainly a hack.  However, it may meet the use case
of people who wish to incorporate arbitrary Unicode strings into
XML character content by providing something that may meet the 80/20
requirement.  Whether it *does* meet the 80/20 requirement is what we
chiefly want to know.  Please make sure that all comments are cc-ed to
www-xml-blueberry-comments@w....

-- 
John Cowan <jcowan@r...>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_

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.