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

Re: Where does the XML specification discuss the character seq

  • From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Mon, 11 Feb 2013 11:44:48 -0500

Re:  Where does the XML specification discuss the character seq
I think we've already covered this, Roger, just last month:

   http://lists.xml.org/archives/xml-dev/201301/msg00010.html

Wouldn't NFC normalization be applied to the 
content of an element *after* the element has 
been processed to determine the data from the markup?

The markup detection would pass as data for the 
element the sequence beginning with &#x308; ... 
just as in the example I cite at the end of the above post:

At 2013-01-04 13:43 -0500, I wrote:
>What if I wanted to have the following:
>
>   <allowed-diacritics>
>     <diacritic>&#303;</diacritic>
>   </allowed-diacritics>

I don't see how NFC normalization would apply to 
the markup characters.  Rather, I would think it 
would apply only to the characters being marked 
up.  And, then, only by a processing application 
that chose to do the normalization ... it isn't 
obligatory.  And I don't believe normalization happens before markup detection.

. . . . . . . . Ken

At 2013-02-11 12:20 +0000, Costello, Roger L. wrote:
>Hi Folks,
>
>According to the Unicode standard, applying NFC 
>normalization to this character sequence:
>
>      '>' character followed immediately by the
>      long solidus character (U+0308)
>
>results in the precomposed not-greater-than character, ¡Û.
>
>Clearly that would be bad for XML, since this:
>
>         <comment>&#x308;</comment>
>
>would, upon NFC normalization, yield this:
>
>         <comment¡Û</comment>
>
>and that, of course, is non-well-formed XML.
>
>I was told that the "XML specification addresses 
>the solution for avoiding inadvertent ¡Û" but I 
>have not been able to locate where in the XML 
>specification it addresses this. Would you point 
>me to the location in the XML specification that addresses this please?
>
>/Roger


--
Public XSLT, XSL-FO, UBL and code list classes in Europe -- Apr 2013
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/x/
G. Ken Holman                   mailto:gkholman@CraneSoftwrights.com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal



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