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

RE: Your XML documents may use different sets ofcharacters, de

  • From: "Costello, Roger L." <costello@mitre.org>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Tue, 17 May 2011 09:45:08 -0400

RE:  Your XML documents may use different sets ofcharacters
Hi David,

So, you are saying that the "data" that I use in an XML document (as opposed to the "markup") can be anything that has a decimal or hexadecimal value, e.g.,

    &#xffde;

Suppose that I require, 

     The value (i.e., "data") of the <foo> element is zero or more characters 
    from the Unicode Nd category.

What characters must be used in the <foo> element?  

From what you are saying, it depends entirely on the implementer. If the implementer implements Unicode 2.0 then Nd may consist of 600 characters. If the implementer implements Unicode 2.1 then Nd may consist of 610 characters. And this is the case whether I'm using XSLT, XML Schema, RELAX NG, etc. Right?

/Roger

-----Original Message-----
From: David Carlisle [mailto:davidc@nag.co.uk] 
Sent: Tuesday, May 17, 2011 9:28 AM
To: Costello, Roger L.
Cc: xml-dev@lists.xml.org
Subject: Re:  Your XML documents may use different sets of characters, depending on which implementer you select?

On 17/05/2011 14:10, Costello, Roger L. wrote:
> The XML specification mandates version 2.0 of Unicode.
>
> Phew! That removes the variability in set of characters that may be used in XML documents.
>

No. You can use (more or less) any codepoint in xml character data 
irrespective of whether it has been assigned a character in any version 
of unicode. (The situation with respect to characters in element and 
attribute names is more complicated, and changed radically at unicode 1 
5th edition or xml 1.1)


David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


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