Thanks Holger
Dilan
Le lundi 4 novembre 2013 23:34:20 UTC+1, Holger Knublauch a écrit :
>
> Hi Dilan,
>
> thanks for those details. I can confirm that this scenario was broken in
> 4.3.0 but will be fixed in 4.3.1 along with other unicode character issues.
> In general, ui:parse will return the source code if parsing fails for some
> reason. 4.3.1 will be out soon.
>
> Thanks,
> Holger
>
>
> On 11/4/2013 19:23, 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><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] <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.