[Home] [By Thread] [By Date] [Recent Entries]

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

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@C...
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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member