Ok, but when i test the same code without accent, ui:parse has a different 
behaviour. With the word "school" instead of "école", Firebug returns

<div class="ui-layout-center" id="testContainer" uistate="...">

<div class="ui-layout-content"><div><div>school</div></div>
</div>
</div>



On Monday, November 4, 2013 4:28:12 PM UTC+1, Scott Henninger wrote:
>
>  Dilan, it appears the SWP/SWA has done precisely the correct thing and 
> created the correct character entity.  Form there it's simply HTML and 
> browser and system settings for character types.  Not much we can help with.
>
> -- Scott
>
> On 11/4/2013 3:23 AM, Dilan Form wrote:
>  
> Holger,
>
> My component is a subclass of swa:Elements.
>
> test:TestContentPanel
>       rdf:type ui:NodeClass ;
>       rdfs:subClassOf swa:Elements ;
>       spin:constraint
>               [ rdf:type spl:Argument ;
>                 spl:predicate arg:content ;
>                 spl:valueType rdfs:Resource
>               ] ;
>       ui:prototype """
> <div class=\"ui-layout-content\">
>     <ui:forEach ui:resultSet=\"{#
>             SELECT ?text
>             WHERE {
>                 ?content cnt:chars ?text .
>             } }\">
>         <div>
>             <ui:parse ui:str=\"{= ?text }\"/>
>         </div>
>     </ui:forEach>
> </div>
> """^^ui:Literal ;
>       skos:prefLabel "Test Content Panel"^^xsd:string .
>
> {= ?text }  is a literal <div>école</div>
>
> This component is included like this
> <ui:loadable class="ui-layout-center" ui:loadId="testContainer">
> <test:TestContentPanel arg:content="{= ?content }"/>
> </ui:loadable>
>
> The response in Firebug :
>
> <div class="ui-layout-center" id="testContainer" uistate="...">
>
> <div class="ui-layout-content"><div>&lt;div&gt;&eacute;cole&lt;/div&gt;</div>
> </div>
> </div>
>
>
> Dilan
>
> On Wednesday, October 30, 2013 2:06:18 PM UTC+1, Dilan Form wrote: 
>>
>> Hi,
>>
>> I am trying to insert an XHTML snippet in ui:parse but when an accent is 
>> present the parse fails. Is it a bug ?
>>
>> An example :
>> <div >
>>   <ui:parse ui:str="&lt;div&gt;&eacute;&lt;/div&gt;"/>
>> </div>
>>
>> Dilan
>>  
>  -- 
> -- You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include Enterprise 
> Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid 
> Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
> To post to this group, send email to
> [email protected] <javascript:>
> To unsubscribe from this group, send email to
> [email protected] <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/topbraid-users?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> 

-- 
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, 
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to