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><div>école</div></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="<div>é</div>"/>
> </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]
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.