The Unicode Consortium Discussion Forum

The Unicode Consortium Discussion Forum

 Forum Home  Unicode Home Page Code Charts Technical Reports FAQ Pages 
 
It is currently Wed Oct 22, 2014 4:37 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Combining diacritics in XML text nodes
PostPosted: Mon Dec 02, 2013 4:45 pm 
Offline

Joined: Wed Nov 27, 2013 12:56 pm
Posts: 1
Does anyone know whether it's acceptable to have an XML text node which consists only of a combining diacritic? If so, what should the behaviour of a user-agent be?

For instance, in XHTML:

Code:
<span>naivete</span><span>&#x0301;</span>


Would you expect the combining acute accent u+0301 to be rendered on the final e from the preceding span?

I can't find any information in XML or HTML specifications on what to expect in such circumstances.


Top
 Profile  
 
 Post subject: Re: Combining diacritics in XML text nodes
PostPosted: Thu Dec 05, 2013 11:19 am 
Offline
Unicode Guru

Joined: Tue Dec 01, 2009 2:49 pm
Posts: 189
"A combining character should be placed immediately after its "base" character, with no intervening markup or space, just as is the case for combining accents. "

From: http://www.w3.org/TR/2009/WD-xml-entity-names-20091117/

My quick take is that I would not expect your example to be robust, because of limitations in implementations, if not in the spec. By breaking up the text into <span> elements most (if not all) implementations would interrupt the text run at that point, and then the renderer cannot render the combining sequence properly - few if any implementations will have the tools to handle sequences across text run boundaries.

Something like that.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


Quick-mod tools:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Template made by DEVPPL.com